/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 …]
|
D | base.h | 302 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; typedef
|
/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 | 223 static int aes_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_init_key() 285 static int aes_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_cbc_cipher() 300 static int aes_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_ecb_cipher() 317 static int aes_ctr_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_ctr_cipher() 331 static int aes_ofb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_ofb_cipher() 398 static int aes_gcm_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_gcm_init_key() 429 static void aes_gcm_cleanup(EVP_CIPHER_CTX *c) { in aes_gcm_cleanup() 453 static int aes_gcm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) { in aes_gcm_ctrl() 545 EVP_CIPHER_CTX *out = ptr; in aes_gcm_ctrl() 564 static int aes_gcm_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_gcm_cipher() [all …]
|
/external/boringssl/src/crypto/pkcs8/ |
D | internal.h | 97 int (*decrypt_init)(const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx, 104 int PKCS5_pbe2_decrypt_init(const struct pbe_suite *suite, EVP_CIPHER_CTX *ctx, 110 int PKCS5_pbe2_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx,
|
D | pkcs8.c | 224 EVP_CIPHER_CTX *ctx, unsigned iterations, in pkcs12_pbe_cipher_init() 248 EVP_CIPHER_CTX *ctx, const char *pass, in pkcs12_pbe_decrypt_init() 320 static int pkcs12_pbe_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx, int alg, in pkcs12_pbe_encrypt_init() 352 EVP_CIPHER_CTX ctx; in pkcs8_pbe_decrypt() 440 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()
|
D | e_ssl3.c | 33 EVP_CIPHER_CTX cipher_ctx;
|
D | e_tls.c | 34 EVP_CIPHER_CTX cipher_ctx;
|
/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/boringssl/src/decrepit/xts/ |
D | xts.c | 178 static int aes_xts_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_xts_init_key() 209 static int aes_xts_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in aes_xts_cipher() 223 static int aes_xts_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) { in aes_xts_ctrl() 226 EVP_CIPHER_CTX *out = ptr; in aes_xts_ctrl()
|
/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()
|
D | OpenSSLCipher.java | 45 import org.conscrypt.NativeRef.EVP_CIPHER_CTX; 482 private final EVP_CIPHER_CTX cipherCtx = new EVP_CIPHER_CTX(
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 193 EVP_CIPHER_CTX *ctx; in rc4_skip() 287 EVP_CIPHER_CTX *ctx; in aes_encrypt_init() 311 EVP_CIPHER_CTX *c = ctx; in aes_encrypt() 324 EVP_CIPHER_CTX *c = ctx; in aes_encrypt_deinit() 341 EVP_CIPHER_CTX *ctx; in aes_decrypt_init() 365 EVP_CIPHER_CTX *c = ctx; in aes_decrypt() 378 EVP_CIPHER_CTX *c = ctx; in aes_decrypt_deinit() 432 EVP_CIPHER_CTX *ctx; in aes_128_cbc_encrypt() 459 EVP_CIPHER_CTX *ctx; in aes_128_cbc_decrypt() 524 EVP_CIPHER_CTX *enc; [all …]
|
/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 …]
|
/external/python/cpython2/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 …]
|
/external/boringssl/src/crypto/cmac/ |
D | cmac.c | 62 EVP_CIPHER_CTX cipher_ctx;
|
/external/boringssl/src/crypto/pem/ |
D | pem_lib.c | 258 EVP_CIPHER_CTX ctx; in PEM_ASN1_write_bio() 355 EVP_CIPHER_CTX ctx; in PEM_do_header()
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | native_crypto.cc | 3152 EVP_CIPHER_CTX* ctx = fromContextObject<EVP_CIPHER_CTX>(env, ctxRef); in NativeCrypto_EVP_CipherInit_ex() 3205 EVP_CIPHER_CTX* ctx = fromContextObject<EVP_CIPHER_CTX>(env, ctxRef); in NativeCrypto_EVP_CipherUpdate() 3257 EVP_CIPHER_CTX* ctx = fromContextObject<EVP_CIPHER_CTX>(env, ctxRef); in NativeCrypto_EVP_CipherFinal_ex() 3308 bssl::UniquePtr<EVP_CIPHER_CTX> ctx(EVP_CIPHER_CTX_new()); in NativeCrypto_EVP_CIPHER_CTX_new() 3321 EVP_CIPHER_CTX* ctx = fromContextObject<EVP_CIPHER_CTX>(env, ctxRef); in NativeCrypto_EVP_CIPHER_CTX_block_size() 3336 EVP_CIPHER_CTX* ctx = fromContextObject<EVP_CIPHER_CTX>(env, ctxRef); in NativeCrypto_get_EVP_CIPHER_CTX_buf_len() 3351 EVP_CIPHER_CTX* ctx = fromContextObject<EVP_CIPHER_CTX>(env, ctxRef); in NativeCrypto_get_EVP_CIPHER_CTX_final_used() 3367 EVP_CIPHER_CTX* ctx = fromContextObject<EVP_CIPHER_CTX>(env, ctxRef); in NativeCrypto_EVP_CIPHER_CTX_set_padding() 3383 EVP_CIPHER_CTX* ctx = fromContextObject<EVP_CIPHER_CTX>(env, ctxRef); in NativeCrypto_EVP_CIPHER_CTX_set_key_length() 3402 EVP_CIPHER_CTX* ctx = reinterpret_cast<EVP_CIPHER_CTX*>(ctxRef); in NativeCrypto_EVP_CIPHER_CTX_free()
|