/external/boringssl/src/include/openssl/ |
D | aead.h | 210 } EVP_AEAD_CTX; typedef 239 OPENSSL_EXPORT void EVP_AEAD_CTX_zero(EVP_AEAD_CTX *ctx); 250 OPENSSL_EXPORT int EVP_AEAD_CTX_init(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, 258 EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, const uint8_t *key, size_t key_len, 264 OPENSSL_EXPORT void EVP_AEAD_CTX_cleanup(EVP_AEAD_CTX *ctx); 286 OPENSSL_EXPORT int EVP_AEAD_CTX_seal(const EVP_AEAD_CTX *ctx, uint8_t *out, 311 OPENSSL_EXPORT int EVP_AEAD_CTX_open(const EVP_AEAD_CTX *ctx, uint8_t *out, 322 OPENSSL_EXPORT int EVP_AEAD_CTX_get_rc4_state(const EVP_AEAD_CTX *ctx, 330 OPENSSL_EXPORT int EVP_AEAD_CTX_get_iv(const EVP_AEAD_CTX *ctx,
|
/external/boringssl/src/crypto/cipher/ |
D | internal.h | 82 int (*init)(EVP_AEAD_CTX *, const uint8_t *key, size_t key_len, 84 int (*init_with_direction)(EVP_AEAD_CTX *, const uint8_t *key, size_t key_len, 86 void (*cleanup)(EVP_AEAD_CTX *); 88 int (*seal)(const EVP_AEAD_CTX *ctx, uint8_t *out, size_t *out_len, 93 int (*open)(const EVP_AEAD_CTX *ctx, uint8_t *out, size_t *out_len, 98 int (*get_rc4_state)(const EVP_AEAD_CTX *ctx, const RC4_KEY **out_key); 100 int (*get_iv)(const EVP_AEAD_CTX *ctx, const uint8_t **out_iv,
|
D | aead.c | 33 void EVP_AEAD_CTX_zero(EVP_AEAD_CTX *ctx) { in EVP_AEAD_CTX_zero() 34 memset(ctx, 0, sizeof(EVP_AEAD_CTX)); in EVP_AEAD_CTX_zero() 37 int EVP_AEAD_CTX_init(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in EVP_AEAD_CTX_init() 49 int EVP_AEAD_CTX_init_with_direction(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in EVP_AEAD_CTX_init_with_direction() 75 void EVP_AEAD_CTX_cleanup(EVP_AEAD_CTX *ctx) { in EVP_AEAD_CTX_cleanup() 100 int EVP_AEAD_CTX_seal(const EVP_AEAD_CTX *ctx, uint8_t *out, size_t *out_len, in EVP_AEAD_CTX_seal() 129 int EVP_AEAD_CTX_open(const EVP_AEAD_CTX *ctx, uint8_t *out, size_t *out_len, in EVP_AEAD_CTX_open() 152 int EVP_AEAD_CTX_get_rc4_state(const EVP_AEAD_CTX *ctx, const RC4_KEY **out_key) { in EVP_AEAD_CTX_get_rc4_state() 160 int EVP_AEAD_CTX_get_iv(const EVP_AEAD_CTX *ctx, const uint8_t **out_iv, in EVP_AEAD_CTX_get_iv()
|
D | e_tls.c | 46 static void aead_tls_cleanup(EVP_AEAD_CTX *ctx) { in aead_tls_cleanup() 55 static int aead_tls_init(EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, in aead_tls_init() 103 static int aead_tls_seal(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_tls_seal() 204 static int aead_tls_open(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_tls_open() 353 static int aead_rc4_md5_tls_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_rc4_md5_tls_init() 360 static int aead_rc4_sha1_tls_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_rc4_sha1_tls_init() 367 static int aead_aes_128_cbc_sha1_tls_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_128_cbc_sha1_tls_init() 375 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_tls_implicit_iv_init() 381 static int aead_aes_128_cbc_sha256_tls_init(EVP_AEAD_CTX *ctx, in aead_aes_128_cbc_sha256_tls_init() 389 static int aead_aes_256_cbc_sha1_tls_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_256_cbc_sha1_tls_init() [all …]
|
D | e_ssl3.c | 75 static void aead_ssl3_cleanup(EVP_AEAD_CTX *ctx) { in aead_ssl3_cleanup() 83 static int aead_ssl3_init(EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, in aead_ssl3_init() 126 static int aead_ssl3_seal(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_ssl3_seal() 211 static int aead_ssl3_open(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_ssl3_open() 300 static int aead_ssl3_get_rc4_state(const EVP_AEAD_CTX *ctx, const RC4_KEY **out_key) { in aead_ssl3_get_rc4_state() 310 static int aead_ssl3_get_iv(const EVP_AEAD_CTX *ctx, const uint8_t **out_iv, in aead_ssl3_get_iv() 323 static int aead_rc4_md5_ssl3_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_rc4_md5_ssl3_init() 329 static int aead_rc4_sha1_ssl3_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_rc4_sha1_ssl3_init() 335 static int aead_aes_128_cbc_sha1_ssl3_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_128_cbc_sha1_ssl3_init() 342 static int aead_aes_256_cbc_sha1_ssl3_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_256_cbc_sha1_ssl3_init() [all …]
|
D | e_chacha20poly1305.c | 35 static int aead_chacha20_poly1305_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_chacha20_poly1305_init() 64 static void aead_chacha20_poly1305_cleanup(EVP_AEAD_CTX *ctx) { in aead_chacha20_poly1305_cleanup() 112 const EVP_AEAD_CTX *ctx, uint8_t *out, size_t *out_len, in seal_impl() 151 const EVP_AEAD_CTX *ctx, uint8_t *out, size_t *out_len, in open_impl() 208 static int aead_chacha20_poly1305_seal(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_chacha20_poly1305_seal() 221 static int aead_chacha20_poly1305_open(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_chacha20_poly1305_open() 266 const EVP_AEAD_CTX *ctx, uint8_t *out, size_t *out_len, size_t max_out_len, in aead_chacha20_poly1305_old_seal() 281 const EVP_AEAD_CTX *ctx, uint8_t *out, size_t *out_len, size_t max_out_len, in aead_chacha20_poly1305_old_open()
|
D | e_aes.c | 1062 static int aead_aes_gcm_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_gcm_init() 1094 static void aead_aes_gcm_cleanup(EVP_AEAD_CTX *ctx) { in aead_aes_gcm_cleanup() 1100 static int aead_aes_gcm_seal(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_aes_gcm_seal() 1143 static int aead_aes_gcm_open(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_aes_gcm_open() 1237 static int aead_aes_key_wrap_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_key_wrap_init() 1269 static void aead_aes_key_wrap_cleanup(EVP_AEAD_CTX *ctx) { in aead_aes_key_wrap_cleanup() 1280 static int aead_aes_key_wrap_seal(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_aes_key_wrap_seal() 1369 static int aead_aes_key_wrap_open(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_aes_key_wrap_open() 1529 static int aead_aes_ctr_hmac_sha256_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_ctr_hmac_sha256_init() 1571 static void aead_aes_ctr_hmac_sha256_cleanup(EVP_AEAD_CTX *ctx) { in aead_aes_ctr_hmac_sha256_cleanup() [all …]
|
D | aead_test.cc | 162 EVP_AEAD_CTX ctx; in TestCleanupAfterInitFailure()
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | NativeRef.java | 78 public static class EVP_AEAD_CTX extends NativeRef { class in NativeRef 79 public EVP_AEAD_CTX(long ctx) { in EVP_AEAD_CTX() method in NativeRef.EVP_AEAD_CTX
|
D | OpenSSLCipher.java | 50 import org.conscrypt.NativeRef.EVP_AEAD_CTX; 990 EVP_AEAD_CTX cipherCtx = new EVP_AEAD_CTX(NativeCrypto.EVP_AEAD_CTX_init(evpAead, in doFinalInternal()
|
D | NativeCrypto.java | 324 public static native int EVP_AEAD_CTX_seal(NativeRef.EVP_AEAD_CTX ctx, byte[] out, in EVP_AEAD_CTX_seal() 328 public static native int EVP_AEAD_CTX_open(NativeRef.EVP_AEAD_CTX ctx, byte[] out, in EVP_AEAD_CTX_open()
|
/external/boringssl/src/crypto/test/ |
D | scoped_types.h | 121 using ScopedEVP_AEAD_CTX = ScopedOpenSSLContext<EVP_AEAD_CTX, void,
|
/external/boringssl/src/tool/ |
D | speed.cc | 179 EVP_AEAD_CTX ctx; in SpeedAEADChunk()
|
/external/conscrypt/src/main/native/ |
D | org_conscrypt_NativeCrypto.cpp | 228 void operator()(EVP_AEAD_CTX* p) const { in operator ()() 233 typedef UniquePtr<EVP_AEAD_CTX, EVP_AEAD_CTX_Delete> Unique_EVP_AEAD_CTX; 4926 Unique_EVP_AEAD_CTX aeadCtx(reinterpret_cast<EVP_AEAD_CTX*>( 4927 OPENSSL_malloc(sizeof(EVP_AEAD_CTX)))); 4928 memset(aeadCtx.get(), 0, sizeof(EVP_AEAD_CTX)); 4953 EVP_AEAD_CTX* evpAeadCtx = reinterpret_cast<EVP_AEAD_CTX*>(evpAeadCtxRef); 5027 typedef int (*evp_aead_ctx_op_func)(const EVP_AEAD_CTX *ctx, uint8_t *out, 5036 EVP_AEAD_CTX* ctx = fromContextObject<EVP_AEAD_CTX>(env, ctxRef);
|
/external/boringssl/src/ssl/ |
D | internal.h | 267 EVP_AEAD_CTX ctx;
|