Use EVP_bf_cfb64 instead of EVP_bf_cfb
This commit is contained in:
parent
0081665339
commit
0850f605b1
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue