/external/boringssl/src/include/openssl/ |
D | cipher.h | 118 OPENSSL_EXPORT void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx); 122 OPENSSL_EXPORT EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void); 126 OPENSSL_EXPORT int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *ctx); 130 OPENSSL_EXPORT void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx); 134 OPENSSL_EXPORT int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, 135 const EVP_CIPHER_CTX *in); 147 OPENSSL_EXPORT int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, 153 OPENSSL_EXPORT int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, 158 OPENSSL_EXPORT int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, 169 OPENSSL_EXPORT int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, uint8_t *out, [all …]
|
D | base.h | 280 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; typedef
|
/external/boringssl/src/crypto/cipher/ |
D | cipher.c | 91 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx) { in EVP_CIPHER_CTX_init() 92 OPENSSL_memset(ctx, 0, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_init() 95 EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void) { in EVP_CIPHER_CTX_new() 96 EVP_CIPHER_CTX *ctx = OPENSSL_malloc(sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_new() 103 int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *c) { in EVP_CIPHER_CTX_cleanup() 112 OPENSSL_memset(c, 0, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_cleanup() 116 void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) { in EVP_CIPHER_CTX_free() 123 int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in) { in EVP_CIPHER_CTX_copy() 130 OPENSSL_memcpy(out, in, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_copy() 143 if (!in->cipher->ctrl((EVP_CIPHER_CTX *)in, EVP_CTRL_COPY, 0, out)) { in EVP_CIPHER_CTX_copy() [all …]
|
D | e_des.c | 71 static int des_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in des_init_key() 80 static int des_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in des_cbc_cipher() 99 static int des_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in des_ecb_cipher() 131 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in des_ede3_init_key() 143 static int des_ede3_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in des_ede3_cbc_cipher() 162 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in des_ede_init_key() 183 static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in des_ede_ecb_cipher()
|
D | e_null.c | 67 static int null_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in null_init_key() 72 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_aes.c | 284 static int aes_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_init_key() 346 static int aes_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_cbc_cipher() 361 static int aes_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_ecb_cipher() 378 static int aes_ctr_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_ctr_cipher() 392 static int aes_ofb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_ofb_cipher() 459 static int aes_gcm_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_gcm_init_key() 490 static void aes_gcm_cleanup(EVP_CIPHER_CTX *c) { in aes_gcm_cleanup() 514 static int aes_gcm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) { in aes_gcm_ctrl() 606 EVP_CIPHER_CTX *out = ptr; in aes_gcm_ctrl() 625 static int aes_gcm_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_gcm_cipher() [all …]
|
D | e_rc2.c | 371 static int rc2_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in rc2_init_key() 379 static int rc2_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in rc2_cbc_cipher() 396 static int rc2_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) { in rc2_ctrl()
|
/external/openssh/ |
D | cipher-3des1.c | 45 EVP_CIPHER_CTX k1, k2, k3; 49 int ssh1_3des_iv(EVP_CIPHER_CTX *, int, u_char *, int); 52 ssh1_3des_init(EVP_CIPHER_CTX *ctx, const u_char *key, const u_char *iv, in ssh1_3des_init() 90 ssh1_3des_cbc(EVP_CIPHER_CTX *ctx, u_char *dest, const u_char *src, size_t len) in ssh1_3des_cbc() 104 ssh1_3des_cleanup(EVP_CIPHER_CTX *ctx) in ssh1_3des_cleanup() 120 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 | 61 static void bf_ssh1_init (EVP_CIPHER_CTX * ctx, const unsigned char *key, in bf_ssh1_init() 73 static int (*orig_bf)(EVP_CIPHER_CTX *, u_char *, 77 bf_ssh1_cipher(EVP_CIPHER_CTX *ctx, u_char *out, const u_char *in, in bf_ssh1_cipher()
|
D | cipher.h | 69 EVP_CIPHER_CTX evp;
|
/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 | 230 EVP_CIPHER_CTX *ctx, unsigned iterations, in pkcs12_pbe_cipher_init() 254 EVP_CIPHER_CTX *ctx, const char *pass, in pkcs12_pbe_decrypt_init() 326 static int pkcs12_pbe_encrypt_init(CBB *out, EVP_CIPHER_CTX *ctx, int alg, in pkcs12_pbe_encrypt_init() 358 EVP_CIPHER_CTX ctx; in pkcs8_pbe_decrypt() 447 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/conscrypt/common/src/main/java/org/conscrypt/ |
D | NativeRef.java | 81 public static class EVP_CIPHER_CTX extends NativeRef { class in NativeRef 82 public EVP_CIPHER_CTX(long ctx) { in EVP_CIPHER_CTX() method in NativeRef.EVP_CIPHER_CTX
|
D | NativeCrypto.java | 263 public static native void EVP_CipherInit_ex(NativeRef.EVP_CIPHER_CTX ctx, long evpCipher, in EVP_CipherInit_ex() 266 public static native int EVP_CipherUpdate(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, in EVP_CipherUpdate() 269 public static native int EVP_CipherFinal_ex(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, in EVP_CipherFinal_ex() 276 public static native int EVP_CIPHER_CTX_block_size(NativeRef.EVP_CIPHER_CTX ctx); in EVP_CIPHER_CTX_block_size() 278 public static native int get_EVP_CIPHER_CTX_buf_len(NativeRef.EVP_CIPHER_CTX ctx); in get_EVP_CIPHER_CTX_buf_len() 280 public static native boolean get_EVP_CIPHER_CTX_final_used(NativeRef.EVP_CIPHER_CTX ctx); in get_EVP_CIPHER_CTX_final_used() 282 public static native void EVP_CIPHER_CTX_set_padding(NativeRef.EVP_CIPHER_CTX ctx, in EVP_CIPHER_CTX_set_padding() 285 public static native void EVP_CIPHER_CTX_set_key_length(NativeRef.EVP_CIPHER_CTX ctx, in EVP_CIPHER_CTX_set_key_length()
|
D | OpenSSLCipher.java | 46 import org.conscrypt.NativeRef.EVP_CIPHER_CTX; 456 private final EVP_CIPHER_CTX cipherCtx = new EVP_CIPHER_CTX(
|
/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/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 192 EVP_CIPHER_CTX *ctx; in rc4_skip() 276 EVP_CIPHER_CTX *ctx; in aes_encrypt_init() 300 EVP_CIPHER_CTX *c = ctx; in aes_encrypt() 311 EVP_CIPHER_CTX *c = ctx; in aes_encrypt_deinit() 328 EVP_CIPHER_CTX *ctx; in aes_decrypt_init() 352 EVP_CIPHER_CTX *c = ctx; in aes_decrypt() 363 EVP_CIPHER_CTX *c = ctx; in aes_decrypt_deinit() 417 EVP_CIPHER_CTX *ctx; in aes_128_cbc_encrypt() 444 EVP_CIPHER_CTX *ctx; in aes_128_cbc_decrypt() 509 EVP_CIPHER_CTX *enc; [all …]
|
/external/openssh/openbsd-compat/ |
D | openssl-compat.h | 54 void ssh_aes_ctr_iv(EVP_CIPHER_CTX *, int, u_char *, size_t);
|
/external/boringssl/src/crypto/cmac/ |
D | cmac.c | 62 EVP_CIPHER_CTX cipher_ctx;
|
/external/tcpdump/ |
D | print-esp.c | 134 EVP_CIPHER_CTX ctx; in esp_print_decrypt_buffer_by_ikev2() 578 EVP_CIPHER_CTX ctx; in esp_print()
|
/external/boringssl/src/crypto/pem/ |
D | pem_lib.c | 258 EVP_CIPHER_CTX ctx; in PEM_ASN1_write_bio() 358 EVP_CIPHER_CTX ctx; in PEM_do_header()
|