diff options
| author | Steven Fackler <[email protected]> | 2016-08-08 23:10:03 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-08-08 23:10:03 -0700 |
| commit | a8224d199b60552945ac03bbf406551252e01adb (patch) | |
| tree | 20f341a67c2bb28687bab331c20261f20e74bd89 /openssl-sys/src | |
| parent | Copy over getter macros (diff) | |
| download | rust-openssl-a8224d199b60552945ac03bbf406551252e01adb.tar.xz rust-openssl-a8224d199b60552945ac03bbf406551252e01adb.zip | |
symm reform
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index d102478a..4dccc67e 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -766,10 +766,17 @@ extern "C" { pub fn EVP_CIPHER_CTX_new() -> *mut EVP_CIPHER_CTX; pub fn EVP_CIPHER_CTX_set_padding(ctx: *mut EVP_CIPHER_CTX, padding: c_int) -> c_int; + pub fn EVP_CIPHER_CTX_set_key_length(ctx: *mut EVP_CIPHER_CTX, keylen: c_int) -> c_int; pub fn EVP_CIPHER_CTX_free(ctx: *mut EVP_CIPHER_CTX); pub fn EVP_CipherInit(ctx: *mut EVP_CIPHER_CTX, evp: *const EVP_CIPHER, key: *const u8, iv: *const u8, mode: c_int) -> c_int; + pub fn EVP_CipherInit_ex(ctx: *mut EVP_CIPHER_CTX, + type_: *const EVP_CIPHER, + impl_: *mut ENGINE, + key: *mut c_uchar, + iv: *mut c_uchar, + enc: c_int) -> c_int; pub fn EVP_CipherUpdate(ctx: *mut EVP_CIPHER_CTX, outbuf: *mut u8, outlen: &mut c_int, inbuf: *const u8, inlen: c_int) -> c_int; pub fn EVP_CipherFinal(ctx: *mut EVP_CIPHER_CTX, res: *mut u8, len: &mut c_int) -> c_int; |