Use EVP_bf_cfb64 instead of EVP_bf_cfb

This commit is contained in:
0xa 2016-12-09 18:42:10 +00:00
parent 0081665339
commit 0850f605b1
2 changed files with 3 additions and 3 deletions

View File

@ -1447,7 +1447,7 @@ extern {
pub fn EVP_aes_256_cfb8() -> *const EVP_CIPHER;
pub fn EVP_bf_cbc() -> *const EVP_CIPHER;
pub fn EVP_bf_ecb() -> *const EVP_CIPHER;
pub fn EVP_bf_cfb() -> *const EVP_CIPHER;
pub fn EVP_bf_cfb64() -> *const EVP_CIPHER;
pub fn EVP_bf_ofb() -> *const EVP_CIPHER;
pub fn EVP_rc4() -> *const EVP_CIPHER;

View File

@ -88,8 +88,8 @@ impl Cipher {
unsafe { Cipher(ffi::EVP_bf_ecb()) }
}
pub fn bf_cfb() -> Cipher {
unsafe { Cipher(ffi::EVP_bf_cfb()) }
pub fn bf_cfb64() -> Cipher {
unsafe { Cipher(ffi::EVP_bf_cfb64()) }
}
pub fn bf_ofb() -> Cipher {