/external/boringssl/src/include/openssl/ |
D | cipher.h | 122 OPENSSL_EXPORT void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx); 126 OPENSSL_EXPORT EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void); 130 OPENSSL_EXPORT int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *ctx); 134 OPENSSL_EXPORT void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx); 138 OPENSSL_EXPORT int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, 139 const EVP_CIPHER_CTX *in); 151 OPENSSL_EXPORT int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, 157 OPENSSL_EXPORT int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, 162 OPENSSL_EXPORT int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, 173 OPENSSL_EXPORT int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, uint8_t *out, [all …]
|
D | base.h | 199 typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; typedef
|
D | tls1.h | 355 EVP_CIPHER_CTX *ctx, HMAC_CTX *hmac_ctx,
|
/external/boringssl/src/crypto/cipher/ |
D | cipher.c | 84 void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *ctx) { in EVP_CIPHER_CTX_init() 85 memset(ctx, 0, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_init() 88 EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void) { in EVP_CIPHER_CTX_new() 89 EVP_CIPHER_CTX *ctx = OPENSSL_malloc(sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_new() 96 int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *c) { in EVP_CIPHER_CTX_cleanup() 105 memset(c, 0, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_cleanup() 109 void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx) { in EVP_CIPHER_CTX_free() 116 int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in) { in EVP_CIPHER_CTX_copy() 123 memcpy(out, in, sizeof(EVP_CIPHER_CTX)); in EVP_CIPHER_CTX_copy() 135 return 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() 107 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in des_ede3_init_key() 119 static int des_ede3_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, in des_ede3_cbc_cipher()
|
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_aes.c | 285 static int aes_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_init_key() 348 static int aes_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_cbc_cipher() 363 static int aes_ecb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_ecb_cipher() 380 static int aes_ctr_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_ctr_cipher() 396 static int aes_ofb_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in aes_ofb_cipher() 464 static int aes_gcm_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in aes_gcm_init_key() 495 static void aes_gcm_cleanup(EVP_CIPHER_CTX *c) { in aes_gcm_cleanup() 519 static int aes_gcm_ctrl(EVP_CIPHER_CTX *c, int type, int arg, void *ptr) { in aes_gcm_ctrl() 611 EVP_CIPHER_CTX *out = ptr; in aes_gcm_ctrl() 636 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 | 366 static int rc2_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in rc2_init_key() 374 static int rc2_cbc_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in rc2_cbc_cipher() 391 static int rc2_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) { in rc2_ctrl()
|
D | e_rc4.c | 73 static int rc4_init_key(EVP_CIPHER_CTX *ctx, const uint8_t *key, in rc4_init_key() 81 static int rc4_cipher(EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, in rc4_cipher()
|
/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-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-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.h | 69 EVP_CIPHER_CTX evp;
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | NativeRef.java | 93 public static class EVP_CIPHER_CTX extends NativeRef { class in NativeRef 94 public EVP_CIPHER_CTX(long ctx) { in EVP_CIPHER_CTX() method in NativeRef.EVP_CIPHER_CTX
|
D | NativeCrypto.java | 290 public static native void EVP_CipherInit_ex(NativeRef.EVP_CIPHER_CTX ctx, long evpCipher, in EVP_CipherInit_ex() 293 public static native int EVP_CipherUpdate(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, in EVP_CipherUpdate() 296 public static native int EVP_CipherFinal_ex(NativeRef.EVP_CIPHER_CTX ctx, byte[] out, in EVP_CipherFinal_ex() 303 public static native int EVP_CIPHER_CTX_block_size(NativeRef.EVP_CIPHER_CTX ctx); in EVP_CIPHER_CTX_block_size() 305 public static native int get_EVP_CIPHER_CTX_buf_len(NativeRef.EVP_CIPHER_CTX ctx); in get_EVP_CIPHER_CTX_buf_len() 307 public static native boolean get_EVP_CIPHER_CTX_final_used(NativeRef.EVP_CIPHER_CTX ctx); in get_EVP_CIPHER_CTX_final_used() 309 public static native void EVP_CIPHER_CTX_set_padding(NativeRef.EVP_CIPHER_CTX ctx, in EVP_CIPHER_CTX_set_padding() 312 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 | 51 import org.conscrypt.NativeRef.EVP_CIPHER_CTX; 455 private final EVP_CIPHER_CTX cipherCtx = new EVP_CIPHER_CTX(
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 129 EVP_CIPHER_CTX ctx; in rc4_skip() 200 EVP_CIPHER_CTX *ctx; in aes_encrypt_init() 222 EVP_CIPHER_CTX *c = ctx; in aes_encrypt() 233 EVP_CIPHER_CTX *c = ctx; in aes_encrypt_deinit() 251 EVP_CIPHER_CTX *ctx; in aes_decrypt_init() 273 EVP_CIPHER_CTX *c = ctx; in aes_decrypt() 284 EVP_CIPHER_CTX *c = ctx; in aes_decrypt_deinit() 329 EVP_CIPHER_CTX ctx; in aes_128_cbc_encrypt() 354 EVP_CIPHER_CTX ctx; in aes_128_cbc_decrypt() 416 EVP_CIPHER_CTX enc; [all …]
|
/external/boringssl/src/crypto/pkcs8/ |
D | p5_pbev2.c | 101 static int param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type) in param_to_asn1() 120 EVP_CIPHER_CTX ctx; in PKCS5_pbe2_set_iv()
|
D | pkcs8.c | 217 static int pkcs12_pbe_keyivgen(EVP_CIPHER_CTX *ctx, const uint8_t *pass_raw, in pkcs12_pbe_keyivgen() 267 typedef int (*keygen_func)(EVP_CIPHER_CTX *ctx, const uint8_t *pass_raw, 295 EVP_CIPHER_CTX *ctx, int is_encrypt) { in pbe_cipher_init() 358 EVP_CIPHER_CTX ctx; in pbe_crypt()
|
/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/test/ |
D | scoped_types.h | 118 using ScopedEVP_CIPHER_CTX = ScopedOpenSSLContext<EVP_CIPHER_CTX, int,
|
/external/boringssl/src/crypto/cmac/ |
D | cmac.c | 60 EVP_CIPHER_CTX cipher_ctx;
|
/external/tcpdump/ |
D | print-esp.c | 105 EVP_CIPHER_CTX ctx; in esp_print_decrypt_buffer_by_ikev2() 560 EVP_CIPHER_CTX ctx; in esp_print()
|
/external/boringssl/src/crypto/pem/ |
D | pem_lib.c | 292 EVP_CIPHER_CTX ctx; in PEM_ASN1_write_bio() 398 EVP_CIPHER_CTX ctx; in PEM_do_header()
|