/external/boringssl/src/include/openssl/ |
D | cipher.h | 119 OPENSSL_EXPORT void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx); 123 OPENSSL_EXPORT EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void); 127 OPENSSL_EXPORT int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *ctx); 131 OPENSSL_EXPORT void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx); 135 OPENSSL_EXPORT int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, 136 const EVP_CIPHER_CTX *in); 140 OPENSSL_EXPORT void EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *ctx); 152 OPENSSL_EXPORT int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, 158 OPENSSL_EXPORT int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, 163 OPENSSL_EXPORT int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, [all …]
|
/external/boringssl/src/crypto/fipsmodule/cipher/ |
D | cipher.c | 70 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx) { in EVP_CIPHER_CTX_init() 71 OPENSSL_memset(ctx, 0, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_init() 74 EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void) { in EVP_CIPHER_CTX_new() 75 EVP_CIPHER_CTX *ctx = OPENSSL_malloc(sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_new() 82 int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *c) { in EVP_CIPHER_CTX_cleanup() 88 OPENSSL_memset(c, 0, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_cleanup() 92 void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) { in EVP_CIPHER_CTX_free() 99 int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in) { in EVP_CIPHER_CTX_copy() 106 OPENSSL_memcpy(out, in, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_copy() 119 if (!in->cipher->ctrl((EVP_CIPHER_CTX *)in, EVP_CTRL_COPY, 0, out)) { in EVP_CIPHER_CTX_copy() [all …]
|
D | e_des.c | 72 static int des_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in des_init_key() 81 static int des_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in des_cbc_cipher() 103 static int des_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in des_ecb_cipher() 137 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in des_ede3_init_key() 149 static int des_ede3_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in des_ede3_cbc_cipher() 171 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in des_ede_init_key() 195 static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in des_ede_ecb_cipher()
|
D | e_aes.c | 98 static int aes_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_init_key() 176 static int aes_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_cbc_cipher() 191 static int aes_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_ecb_cipher() 208 static int aes_ctr_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_ctr_cipher() 222 static int aes_ofb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_ofb_cipher() 287 static EVP_AES_GCM_CTX *aes_gcm_from_cipher_ctx(EVP_CIPHER_CTX *ctx) { in aes_gcm_from_cipher_ctx() 309 static int aes_gcm_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_gcm_init_key() 341 static void aes_gcm_cleanup(EVP_CIPHER_CTX *c) { in aes_gcm_cleanup() 365 static int aes_gcm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) { in aes_gcm_ctrl() 457 EVP_CIPHER_CTX *out = ptr; in aes_gcm_ctrl() [all …]
|
/external/openssh/ |
D | cipher-3des1.c | 47 EVP_CIPHER_CTX k1, k2, k3; 51 int ssh1_3des_iv(EVP_CIPHER_CTX *, int, u_char *, int); 54 ssh1_3des_init(EVP_CIPHER_CTX *ctx, const u_char *key, const u_char *iv, in ssh1_3des_init() 92 ssh1_3des_cbc(EVP_CIPHER_CTX *ctx, u_char *dest, const u_char *src, size_t len) in ssh1_3des_cbc() 106 ssh1_3des_cleanup(EVP_CIPHER_CTX *ctx) in ssh1_3des_cleanup() 122 ssh1_3des_iv(EVP_CIPHER_CTX *evp, int doset, u_char *iv, int len) in ssh1_3des_iv()
|
D | cipher-ctr.c | 59 ssh_aes_ctr(EVP_CIPHER_CTX *ctx, u_char *dest, const u_char *src, in ssh_aes_ctr() 83 ssh_aes_ctr_init(EVP_CIPHER_CTX *ctx, const u_char *key, const u_char *iv, in ssh_aes_ctr_init() 101 ssh_aes_ctr_cleanup(EVP_CIPHER_CTX *ctx) in ssh_aes_ctr_cleanup() 114 ssh_aes_ctr_iv(EVP_CIPHER_CTX *evp, int doset, u_char * iv, size_t len) in ssh_aes_ctr_iv()
|
D | cipher-aes.c | 50 ssh_rijndael_init(EVP_CIPHER_CTX *ctx, const u_char *key, const u_char *iv, in ssh_rijndael_init() 71 ssh_rijndael_cbc(EVP_CIPHER_CTX *ctx, u_char *dest, const u_char *src, in ssh_rijndael_cbc() 117 ssh_rijndael_cleanup(EVP_CIPHER_CTX *ctx) in ssh_rijndael_cleanup() 130 ssh_rijndael_iv(EVP_CIPHER_CTX *evp, int doset, u_char * iv, u_int len) in ssh_rijndael_iv()
|
D | cipher-bf1.c | 62 static void bf_ssh1_init (EVP_CIPHER_CTX * ctx, const unsigned char *key, in bf_ssh1_init() 74 static int (*orig_bf)(EVP_CIPHER_CTX *, u_char *, 78 bf_ssh1_cipher(EVP_CIPHER_CTX *ctx, u_char *out, const u_char *in, in bf_ssh1_cipher()
|
/external/boringssl/src/crypto/pkcs8/ |
D | internal.h | 88 int pkcs12_pbe_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx, int alg, 104 int (*decrypt_init)(const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx, 111 int PKCS5_pbe2_decrypt_init(const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx, 117 int PKCS5_pbe2_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx,
|
D | pkcs8.c | 234 EVP_CIPHER_CTX *ctx, unsigned iterations, in pkcs12_pbe_cipher_init() 258 EVP_CIPHER_CTX *ctx, const char *pass, in pkcs12_pbe_decrypt_init() 333 int pkcs12_pbe_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx, int alg, in pkcs12_pbe_encrypt_init() 365 EVP_CIPHER_CTX ctx; in pkcs8_pbe_decrypt() 453 EVP_CIPHER_CTX ctx; in PKCS8_marshal_encrypted_private_key()
|
D | p5_pbev2.c | 142 static int pkcs5_pbe2_cipher_init(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in pkcs5_pbe2_cipher_init() 160 int PKCS5_pbe2_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx, in PKCS5_pbe2_encrypt_init() 209 int PKCS5_pbe2_decrypt_init(const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx, in PKCS5_pbe2_decrypt_init()
|
/external/boringssl/src/crypto/cipher_extra/ |
D | e_null.c | 66 static int null_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in null_init_key() 71 static int null_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in null_cipher()
|
D | e_rc4.c | 65 static int rc4_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in rc4_init_key() 73 static int rc4_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in rc4_cipher()
|
D | e_rc2.c | 385 static int rc2_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in rc2_init_key() 393 static int rc2_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in rc2_cbc_cipher() 410 static int rc2_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) { in rc2_ctrl()
|
/external/boringssl/src/decrepit/xts/ |
D | xts.c | 158 static int aes_xts_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_xts_init_key() 189 static int aes_xts_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in aes_xts_cipher() 203 static int aes_xts_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) { in aes_xts_ctrl() 206 EVP_CIPHER_CTX *out = ptr; in aes_xts_ctrl()
|
/external/boringssl/src/decrepit/cfb/ |
D | cfb.c | 28 static int aes_cfb_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_cfb_init_key() 38 static int aes_cfb128_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in aes_cfb128_cipher()
|
/external/tcpdump/ |
D | print-esp.c | 128 static EVP_CIPHER_CTX * 131 EVP_CIPHER_CTX *ctx; in EVP_CIPHER_CTX_new() 141 EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) in EVP_CIPHER_CTX_free() 161 set_cipher_parameters(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in set_cipher_parameters() 173 set_cipher_parameters(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, in set_cipher_parameters() 193 EVP_CIPHER_CTX *ctx; in esp_print_decrypt_buffer_by_ikev2() 662 EVP_CIPHER_CTX *ctx; in esp_print()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | NativeRef.java | 84 static final class EVP_CIPHER_CTX extends NativeRef { class in NativeRef 85 EVP_CIPHER_CTX(long nativePointer) { in EVP_CIPHER_CTX() method in NativeRef.EVP_CIPHER_CTX
|
D | NativeCrypto.java | 304 static native void EVP_CipherInit_ex(NativeRef.EVP_CIPHER_CTX ctx, long evpCipher, byte[] key, in EVP_CipherInit_ex() 307 static native int EVP_CipherUpdate(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, int outOffset, in EVP_CipherUpdate() 310 static native int EVP_CipherFinal_ex(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, int outOffset) in EVP_CipherFinal_ex() 319 static native int EVP_CIPHER_CTX_block_size(NativeRef.EVP_CIPHER_CTX ctx); in EVP_CIPHER_CTX_block_size() 321 static native int get_EVP_CIPHER_CTX_buf_len(NativeRef.EVP_CIPHER_CTX ctx); in get_EVP_CIPHER_CTX_buf_len() 323 static native boolean get_EVP_CIPHER_CTX_final_used(NativeRef.EVP_CIPHER_CTX ctx); in get_EVP_CIPHER_CTX_final_used() 326 NativeRef.EVP_CIPHER_CTX ctx, boolean enablePadding); in EVP_CIPHER_CTX_set_padding() 328 static native void EVP_CIPHER_CTX_set_key_length(NativeRef.EVP_CIPHER_CTX ctx, int keyBitSize); in EVP_CIPHER_CTX_set_key_length()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | NativeRef.java | 83 static final class EVP_CIPHER_CTX extends NativeRef { class in NativeRef 84 EVP_CIPHER_CTX(long nativePointer) { in EVP_CIPHER_CTX() method in NativeRef.EVP_CIPHER_CTX
|
D | NativeCrypto.java | 291 static native void EVP_CipherInit_ex(NativeRef.EVP_CIPHER_CTX ctx, long evpCipher, byte[] key, in EVP_CipherInit_ex() 294 static native int EVP_CipherUpdate(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, int outOffset, in EVP_CipherUpdate() 297 static native int EVP_CipherFinal_ex(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, int outOffset) in EVP_CipherFinal_ex() 304 static native int EVP_CIPHER_CTX_block_size(NativeRef.EVP_CIPHER_CTX ctx); in EVP_CIPHER_CTX_block_size() 306 static native int get_EVP_CIPHER_CTX_buf_len(NativeRef.EVP_CIPHER_CTX ctx); in get_EVP_CIPHER_CTX_buf_len() 308 static native boolean get_EVP_CIPHER_CTX_final_used(NativeRef.EVP_CIPHER_CTX ctx); in get_EVP_CIPHER_CTX_final_used() 311 NativeRef.EVP_CIPHER_CTX ctx, boolean enablePadding); in EVP_CIPHER_CTX_set_padding() 313 static native void EVP_CIPHER_CTX_set_key_length(NativeRef.EVP_CIPHER_CTX ctx, int keyBitSize); in EVP_CIPHER_CTX_set_key_length()
|
/external/boringssl/src/decrepit/blowfish/ |
D | blowfish.c | 557 static int bf_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in bf_init_key() 564 static int bf_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in bf_ecb_cipher() 579 static int bf_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in bf_cbc_cipher() 586 static int bf_cfb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in bf_cfb_cipher()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 224 EVP_CIPHER_CTX *ctx; in rc4_skip() 316 EVP_CIPHER_CTX *ctx; in aes_encrypt_init() 343 EVP_CIPHER_CTX *c = ctx; in aes_encrypt() 356 EVP_CIPHER_CTX *c = ctx; in aes_encrypt_deinit() 373 EVP_CIPHER_CTX *ctx; in aes_decrypt_init() 400 EVP_CIPHER_CTX *c = ctx; in aes_decrypt() 413 EVP_CIPHER_CTX *c = ctx; in aes_decrypt_deinit() 467 EVP_CIPHER_CTX *ctx; in aes_128_cbc_encrypt() 494 EVP_CIPHER_CTX *ctx; in aes_128_cbc_decrypt() 629 EVP_CIPHER_CTX *enc; [all …]
|
/external/openssh/openbsd-compat/ |
D | openssl-compat.h | 52 void ssh_aes_ctr_iv(EVP_CIPHER_CTX *, int, u_char *, size_t);
|
/external/python/cpython3/Lib/lib2to3/tests/data/ |
D | infinite_recursion.py | 671 EVP_CIPHER_CTX = evp_cipher_ctx_st variable 678 ('init', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), POINTER(c_ubyte), POINTER(c_ubyte), c_int)), 679 …('do_cipher', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), POINTER(c_ubyte), POINTER(c_ubyte), c_uint… 680 ('cleanup', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX))), 682 ('set_asn1_parameters', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), POINTER(ASN1_TYPE))), 683 ('get_asn1_parameters', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), POINTER(ASN1_TYPE))), 684 ('ctrl', CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), c_int, c_int, c_void_p)), 730 EVP_PBE_KEYGEN = CFUNCTYPE(c_int, POINTER(EVP_CIPHER_CTX), STRING, c_int, POINTER(ASN1_TYPE), POINT… 868 ('cipher', EVP_CIPHER_CTX), 1371 ('enc_read_ctx', POINTER(EVP_CIPHER_CTX)), [all …]
|