Lines Matching defs:Cipher
73 pub struct Cipher(*const ffi::EVP_CIPHER); struct
75 impl Cipher { implementation
81 pub fn from_nid(nid: Nid) -> Option<Cipher> { in from_nid()
496 pub unsafe fn from_ptr(ptr: *const ffi::EVP_CIPHER) -> Cipher { in from_ptr()
561 unsafe impl Sync for Cipher {} implementation
562 unsafe impl Send for Cipher {} implementation
637 t: Cipher, in new()
808 t: Cipher, in encrypt()
847 t: Cipher, in decrypt()
856 t: Cipher, in cipher()
879 t: Cipher, in encrypt_aead()
910 t: Cipher, in decrypt_aead()
1066 fn cipher_test(ciphertype: super::Cipher, pt: &str, ct: &str, key: &str, iv: &str) { in cipher_test()
1090 fn cipher_test_nopad(ciphertype: super::Cipher, pt: &str, ct: &str, key: &str, iv: &str) { in cipher_test_nopad()