Lines Matching defs:from_ptr

62             unsafe fn from_ptr(ptr: *mut Self::CType) -> Self {
78 CipherRef::from_ptr(self.as_ptr())
127 Some(CipherRef::from_ptr(ptr as *mut _))
152 Ok(Cipher::from_ptr(ptr))
157 unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_ecb() as *mut _) }
161 unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_cbc() as *mut _) }
166 unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_xts() as *mut _) }
171 unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_ctr() as *mut _) }
176 unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_cfb1() as *mut _) }
181 unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_cfb128() as *mut _) }
186 unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_cfb8() as *mut _) }
190 unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_gcm() as *mut _) }
195 unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_ccm() as *mut _) }
200 unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_ofb() as *mut _) }
206 unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_ocb() as *mut _) }
212 unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_wrap() as *mut _) }
218 unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_wrap_pad() as *mut _) }
222 unsafe { CipherRef::from_ptr(ffi::EVP_aes_192_ecb() as *mut _) }
226 unsafe { CipherRef::from_ptr(ffi::EVP_aes_192_cbc() as *mut _) }
230 unsafe { CipherRef::from_ptr(ffi::EVP_aes_192_ctr() as *mut _) }
235 unsafe { CipherRef::from_ptr(ffi::EVP_aes_192_cfb1() as *mut _) }
239 unsafe { CipherRef::from_ptr(ffi::EVP_aes_192_cfb128() as *mut _) }
244 unsafe { CipherRef::from_ptr(ffi::EVP_aes_192_cfb8() as *mut _) }
248 unsafe { CipherRef::from_ptr(ffi::EVP_aes_192_gcm() as *mut _) }
253 unsafe { CipherRef::from_ptr(ffi::EVP_aes_192_ccm() as *mut _) }
257 unsafe { CipherRef::from_ptr(ffi::EVP_aes_192_ofb() as *mut _) }
263 unsafe { CipherRef::from_ptr(ffi::EVP_aes_192_ocb() as *mut _) }
269 unsafe { CipherRef::from_ptr(ffi::EVP_aes_192_wrap() as *mut _) }
275 unsafe { CipherRef::from_ptr(ffi::EVP_aes_192_wrap_pad() as *mut _) }
279 unsafe { CipherRef::from_ptr(ffi::EVP_aes_256_ecb() as *mut _) }
283 unsafe { CipherRef::from_ptr(ffi::EVP_aes_256_cbc() as *mut _) }
287 unsafe { CipherRef::from_ptr(ffi::EVP_aes_256_ctr() as *mut _) }
292 unsafe { CipherRef::from_ptr(ffi::EVP_aes_256_cfb1() as *mut _) }
296 unsafe { CipherRef::from_ptr(ffi::EVP_aes_256_cfb128() as *mut _) }
301 unsafe { CipherRef::from_ptr(ffi::EVP_aes_256_cfb8() as *mut _) }
305 unsafe { CipherRef::from_ptr(ffi::EVP_aes_256_gcm() as *mut _) }
310 unsafe { CipherRef::from_ptr(ffi::EVP_aes_256_ccm() as *mut _) }
314 unsafe { CipherRef::from_ptr(ffi::EVP_aes_256_ofb() as *mut _) }
320 unsafe { CipherRef::from_ptr(ffi::EVP_aes_256_ocb() as *mut _) }
326 unsafe { CipherRef::from_ptr(ffi::EVP_aes_256_wrap() as *mut _) }
332 unsafe { CipherRef::from_ptr(ffi::EVP_aes_256_wrap_pad() as *mut _) }
337 unsafe { CipherRef::from_ptr(ffi::EVP_bf_cbc() as *mut _) }
342 unsafe { CipherRef::from_ptr(ffi::EVP_bf_ecb() as *mut _) }
348 unsafe { CipherRef::from_ptr(ffi::EVP_bf_cfb64() as *mut _) }
354 unsafe { CipherRef::from_ptr(ffi::EVP_bf_ofb() as *mut _) }
358 unsafe { CipherRef::from_ptr(ffi::EVP_des_cbc() as *mut _) }
362 unsafe { CipherRef::from_ptr(ffi::EVP_des_ecb() as *mut _) }
366 unsafe { CipherRef::from_ptr(ffi::EVP_des_ede3() as *mut _) }
370 unsafe { CipherRef::from_ptr(ffi::EVP_des_ede3_cbc() as *mut _) }
375 unsafe { CipherRef::from_ptr(ffi::EVP_des_ede3_cfb64() as *mut _) }
380 unsafe { CipherRef::from_ptr(ffi::EVP_rc4() as *mut _) }
385 unsafe { CipherRef::from_ptr(ffi::EVP_camellia_128_cfb128() as *mut _) }
390 unsafe { CipherRef::from_ptr(ffi::EVP_camellia_128_ecb() as *mut _) }
395 unsafe { CipherRef::from_ptr(ffi::EVP_camellia_192_cfb128() as *mut _) }
400 unsafe { CipherRef::from_ptr(ffi::EVP_camellia_192_ecb() as *mut _) }
405 unsafe { CipherRef::from_ptr(ffi::EVP_camellia_256_cfb128() as *mut _) }
410 unsafe { CipherRef::from_ptr(ffi::EVP_camellia_256_ecb() as *mut _) }
415 unsafe { CipherRef::from_ptr(ffi::EVP_cast5_cfb64() as *mut _) }
420 unsafe { CipherRef::from_ptr(ffi::EVP_cast5_ecb() as *mut _) }
425 unsafe { CipherRef::from_ptr(ffi::EVP_idea_cfb64() as *mut _) }
430 unsafe { CipherRef::from_ptr(ffi::EVP_idea_ecb() as *mut _) }
435 unsafe { CipherRef::from_ptr(ffi::EVP_chacha20() as *mut _) }
440 unsafe { CipherRef::from_ptr(ffi::EVP_chacha20_poly1305() as *mut _) }
446 unsafe { CipherRef::from_ptr(ffi::EVP_seed_cbc() as *mut _) }
452 unsafe { CipherRef::from_ptr(ffi::EVP_seed_cfb128() as *mut _) }
458 unsafe { CipherRef::from_ptr(ffi::EVP_seed_ecb() as *mut _) }
464 unsafe { CipherRef::from_ptr(ffi::EVP_seed_ofb() as *mut _) }
469 unsafe { CipherRef::from_ptr(ffi::EVP_sm4_ecb() as *mut _) }
474 unsafe { CipherRef::from_ptr(ffi::EVP_sm4_cbc() as *mut _) }
479 unsafe { CipherRef::from_ptr(ffi::EVP_sm4_ctr() as *mut _) }
484 unsafe { CipherRef::from_ptr(ffi::EVP_sm4_cfb128() as *mut _) }
489 unsafe { CipherRef::from_ptr(ffi::EVP_sm4_ofb() as *mut _) }