Home
last modified time | relevance | path

Searched refs:EVP_AEAD_CTX (Results 1 – 13 of 13) sorted by relevance

/external/boringssl/src/include/openssl/
Daead.h199 } EVP_AEAD_CTX; typedef
222 OPENSSL_EXPORT void EVP_AEAD_CTX_zero(EVP_AEAD_CTX *ctx);
226 OPENSSL_EXPORT EVP_AEAD_CTX *EVP_AEAD_CTX_new(const EVP_AEAD *aead,
232 OPENSSL_EXPORT void EVP_AEAD_CTX_free(EVP_AEAD_CTX *ctx);
243 OPENSSL_EXPORT int EVP_AEAD_CTX_init(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead,
250 OPENSSL_EXPORT void EVP_AEAD_CTX_cleanup(EVP_AEAD_CTX *ctx);
272 OPENSSL_EXPORT int EVP_AEAD_CTX_seal(const EVP_AEAD_CTX *ctx, uint8_t *out,
297 OPENSSL_EXPORT int EVP_AEAD_CTX_open(const EVP_AEAD_CTX *ctx, uint8_t *out,
333 const EVP_AEAD_CTX *ctx, uint8_t *out,
356 const EVP_AEAD_CTX *ctx, uint8_t *out, const uint8_t *nonce,
[all …]
/external/boringssl/src/crypto/fipsmodule/cipher/
Dinternal.h86 int (*init)(EVP_AEAD_CTX *, const uint8_t *key, size_t key_len,
88 int (*init_with_direction)(EVP_AEAD_CTX *, const uint8_t *key, size_t key_len,
90 void (*cleanup)(EVP_AEAD_CTX *);
92 int (*open)(const EVP_AEAD_CTX *ctx, uint8_t *out, size_t *out_len,
97 int (*seal_scatter)(const EVP_AEAD_CTX *ctx, uint8_t *out, uint8_t *out_tag,
103 int (*open_gather)(const EVP_AEAD_CTX *ctx, uint8_t *out,
108 int (*get_iv)(const EVP_AEAD_CTX *ctx, const uint8_t **out_iv,
111 size_t (*tag_len)(const EVP_AEAD_CTX *ctx, size_t in_Len,
Daead.c36 void EVP_AEAD_CTX_zero(EVP_AEAD_CTX *ctx) { in EVP_AEAD_CTX_zero()
37 OPENSSL_memset(ctx, 0, sizeof(EVP_AEAD_CTX)); in EVP_AEAD_CTX_zero()
40 EVP_AEAD_CTX *EVP_AEAD_CTX_new(const EVP_AEAD *aead, const uint8_t *key, in EVP_AEAD_CTX_new()
42 EVP_AEAD_CTX *ctx = OPENSSL_malloc(sizeof(EVP_AEAD_CTX)); in EVP_AEAD_CTX_new()
53 void EVP_AEAD_CTX_free(EVP_AEAD_CTX *ctx) { in EVP_AEAD_CTX_free()
58 int EVP_AEAD_CTX_init(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in EVP_AEAD_CTX_init()
70 int EVP_AEAD_CTX_init_with_direction(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in EVP_AEAD_CTX_init_with_direction()
96 void EVP_AEAD_CTX_cleanup(EVP_AEAD_CTX *ctx) { in EVP_AEAD_CTX_cleanup()
115 int EVP_AEAD_CTX_seal(const EVP_AEAD_CTX *ctx, uint8_t *out, size_t *out_len, in EVP_AEAD_CTX_seal()
151 const EVP_AEAD_CTX *ctx, uint8_t *out, uint8_t *out_tag, size_t in EVP_AEAD_CTX_seal_scatter()
[all …]
De_aes.c913 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
922 static int aead_aes_gcm_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_gcm_init()
936 static void aead_aes_gcm_cleanup(EVP_AEAD_CTX *ctx) {} in aead_aes_gcm_cleanup()
938 static int aead_aes_gcm_seal_scatter(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_aes_gcm_seal_scatter()
1002 static int aead_aes_gcm_open_gather(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_aes_gcm_open_gather()
1101 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
1110 static int aead_aes_gcm_tls12_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_gcm_tls12_init()
1128 const EVP_AEAD_CTX *ctx, uint8_t *out, uint8_t *out_tag, in aead_aes_gcm_tls12_seal_scatter()
1195 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
1204 static int aead_aes_gcm_tls13_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_gcm_tls13_init()
[all …]
/external/boringssl/src/crypto/cipher_extra/
De_tls.c48 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
57 static void aead_tls_cleanup(EVP_AEAD_CTX *ctx) { in aead_tls_cleanup()
63 static int aead_tls_init(EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, in aead_tls_init()
103 static size_t aead_tls_tag_len(const EVP_AEAD_CTX *ctx, const size_t in_len, in aead_tls_tag_len()
122 static int aead_tls_seal_scatter(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_tls_seal_scatter()
242 static int aead_tls_open(const EVP_AEAD_CTX *ctx, uint8_t *out, size_t *out_len, in aead_tls_open()
395 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()
403 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()
409 static int aead_aes_128_cbc_sha256_tls_init(EVP_AEAD_CTX *ctx, in aead_aes_128_cbc_sha256_tls_init()
417 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 …]
De_aesctrhmac.c38 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
71 static int aead_aes_ctr_hmac_sha256_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_ctr_hmac_sha256_init()
106 static void aead_aes_ctr_hmac_sha256_cleanup(EVP_AEAD_CTX *ctx) {} in aead_aes_ctr_hmac_sha256_cleanup()
177 const EVP_AEAD_CTX *ctx, uint8_t *out, uint8_t *out_tag, in aead_aes_ctr_hmac_sha256_seal_scatter()
213 const EVP_AEAD_CTX *ctx, uint8_t *out, const uint8_t *nonce, in aead_aes_ctr_hmac_sha256_open_gather()
De_chacha20poly1305.c38 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
119 static int aead_chacha20_poly1305_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_chacha20_poly1305_init()
143 static void aead_chacha20_poly1305_cleanup(EVP_AEAD_CTX *ctx) {} in aead_chacha20_poly1305_cleanup()
261 const EVP_AEAD_CTX *ctx, uint8_t *out, uint8_t *out_tag, in aead_chacha20_poly1305_seal_scatter()
274 const EVP_AEAD_CTX *ctx, uint8_t *out, uint8_t *out_tag, in aead_xchacha20_poly1305_seal_scatter()
344 const EVP_AEAD_CTX *ctx, uint8_t *out, const uint8_t *nonce, in aead_chacha20_poly1305_open_gather()
356 const EVP_AEAD_CTX *ctx, uint8_t *out, const uint8_t *nonce, in aead_xchacha20_poly1305_open_gather()
De_aesgcmsiv.c45 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) + 8 >=
55 const EVP_AEAD_CTX *ctx) { in asm_ctx_from_ctx()
72 static int aead_aes_gcm_siv_asm_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_gcm_siv_asm_init()
106 static void aead_aes_gcm_siv_asm_cleanup(EVP_AEAD_CTX *ctx) {} in aead_aes_gcm_siv_asm_cleanup()
342 const EVP_AEAD_CTX *ctx, uint8_t *out, uint8_t *out_tag, in aead_aes_gcm_siv_asm_seal_scatter()
411 static int aead_aes_gcm_siv_asm_open(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_aes_gcm_siv_asm_open()
572 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
581 static int aead_aes_gcm_siv_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_gcm_siv_init()
610 static void aead_aes_gcm_siv_cleanup(EVP_AEAD_CTX *ctx) {} in aead_aes_gcm_siv_cleanup()
731 const EVP_AEAD_CTX *ctx, uint8_t *out, uint8_t *out_tag, in aead_aes_gcm_siv_seal_scatter()
[all …]
De_aesccm.c278 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
287 static int aead_aes_ccm_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_ccm_init()
321 static void aead_aes_ccm_cleanup(EVP_AEAD_CTX *ctx) {} in aead_aes_ccm_cleanup()
324 const EVP_AEAD_CTX *ctx, uint8_t *out, uint8_t *out_tag, in aead_aes_ccm_seal_scatter()
357 static int aead_aes_ccm_open_gather(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_aes_ccm_open_gather()
397 static int aead_aes_ccm_bluetooth_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_ccm_bluetooth_init()
423 static int aead_aes_ccm_bluetooth_8_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_ccm_bluetooth_8_init()
Daead_test.cc393 EVP_AEAD_CTX ctx; in TEST_P()
/external/boringssl/src/util/fipstools/cavp/
Dtest_fips.c100 EVP_AEAD_CTX aead_ctx; in main()
/external/boringssl/src/crypto/fipsmodule/self_check/
Dself_check.c434 EVP_AEAD_CTX aead_ctx; in boringssl_fips_self_test()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc3509 typedef int (*evp_aead_ctx_op_func)(const EVP_AEAD_CTX* ctx, uint8_t* out, size_t* out_len,