diff options
| author | Steven Fackler <[email protected]> | 2016-05-05 13:32:41 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-05-05 13:32:41 -0700 |
| commit | 4294511f2ba9fe7ec6860f0c783498d93ea68fd9 (patch) | |
| tree | df813ae00076c59fd6cb4b7d61bc5f5e76b4f680 /openssl/src/crypto/symm_internal.rs | |
| parent | Merge branch 'release-v0.7.10' into release (diff) | |
| parent | Release v0.7.11 (diff) | |
| download | rust-openssl-0.7.11.tar.xz rust-openssl-0.7.11.zip | |
Merge branch 'release-v0.7.11' into releasev0.7.11
Diffstat (limited to 'openssl/src/crypto/symm_internal.rs')
| -rw-r--r-- | openssl/src/crypto/symm_internal.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openssl/src/crypto/symm_internal.rs b/openssl/src/crypto/symm_internal.rs index 5c457f3f..ba01e1c1 100644 --- a/openssl/src/crypto/symm_internal.rs +++ b/openssl/src/crypto/symm_internal.rs @@ -26,6 +26,9 @@ pub fn evpc(t: symm::Type) -> (*const ffi::EVP_CIPHER, u32, u32) { symm::Type::AES_256_CFB128 => (ffi::EVP_aes_256_cfb128(), 32, 16), symm::Type::AES_256_CFB8 => (ffi::EVP_aes_256_cfb8(), 32, 16), + symm::Type::DES_CBC => (ffi::EVP_des_cbc(), 8, 8), + symm::Type::DES_ECB => (ffi::EVP_des_ecb(), 8, 8), + symm::Type::RC4_128 => (ffi::EVP_rc4(), 16, 0), } } |