Home
last modified time | relevance | path

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

/external/boringssl/src/include/openssl/
Daead.h186 } EVP_AEAD_CTX; typedef
209 OPENSSL_EXPORT void EVP_AEAD_CTX_zero(EVP_AEAD_CTX *ctx);
213 OPENSSL_EXPORT EVP_AEAD_CTX *EVP_AEAD_CTX_new(const EVP_AEAD *aead,
219 OPENSSL_EXPORT void EVP_AEAD_CTX_free(EVP_AEAD_CTX *ctx);
230 OPENSSL_EXPORT int EVP_AEAD_CTX_init(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead,
237 OPENSSL_EXPORT void EVP_AEAD_CTX_cleanup(EVP_AEAD_CTX *ctx);
259 OPENSSL_EXPORT int EVP_AEAD_CTX_seal(const EVP_AEAD_CTX *ctx, uint8_t *out,
284 OPENSSL_EXPORT int EVP_AEAD_CTX_open(const EVP_AEAD_CTX *ctx, uint8_t *out,
320 const EVP_AEAD_CTX *ctx, uint8_t *out,
343 const EVP_AEAD_CTX *ctx, uint8_t *out, const uint8_t *nonce,
[all …]
/external/boringssl/src/crypto/fipsmodule/cipher/
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 …]
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,
De_aes.c867 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
876 static int aead_aes_gcm_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_gcm_init()
890 static void aead_aes_gcm_cleanup(EVP_AEAD_CTX *ctx) {} in aead_aes_gcm_cleanup()
892 static int aead_aes_gcm_seal_scatter(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_aes_gcm_seal_scatter()
956 static int aead_aes_gcm_open_gather(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_aes_gcm_open_gather()
1040 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
1049 static int aead_aes_gcm_tls12_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_gcm_tls12_init()
1067 const EVP_AEAD_CTX *ctx, uint8_t *out, uint8_t *out_tag, in aead_aes_gcm_tls12_seal_scatter()
1134 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
1143 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_aesccm.c36 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
45 static int aead_aes_ccm_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_ccm_init()
79 static void aead_aes_ccm_cleanup(EVP_AEAD_CTX *ctx) {} in aead_aes_ccm_cleanup()
82 const EVP_AEAD_CTX *ctx, uint8_t *out, uint8_t *out_tag, in aead_aes_ccm_seal_scatter()
115 static int aead_aes_ccm_open_gather(const EVP_AEAD_CTX *ctx, uint8_t *out, in aead_aes_ccm_open_gather()
155 static int aead_aes_ccm_bluetooth_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_ccm_bluetooth_init()
181 static int aead_aes_ccm_bluetooth_8_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_ccm_bluetooth_8_init()
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()
567 OPENSSL_STATIC_ASSERT(sizeof(((EVP_AEAD_CTX *)NULL)->state) >=
576 static int aead_aes_gcm_siv_init(EVP_AEAD_CTX *ctx, const uint8_t *key, in aead_aes_gcm_siv_init()
605 static void aead_aes_gcm_siv_cleanup(EVP_AEAD_CTX *ctx) {} in aead_aes_gcm_siv_cleanup()
726 const EVP_AEAD_CTX *ctx, uint8_t *out, uint8_t *out_tag, in aead_aes_gcm_siv_seal_scatter()
[all …]
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_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()
Daead_test.cc391 EVP_AEAD_CTX ctx; in TEST_P()
/external/boringssl/src/crypto/
Dimpl_dispatch_test.cc108 EVP_AEAD_CTX ctx; in TEST_F()
/external/boringssl/src/fipstools/
Dtest_fips.c100 EVP_AEAD_CTX aead_ctx; in main()
/external/boringssl/src/crypto/fipsmodule/self_check/
Dself_check.c383 EVP_AEAD_CTX aead_ctx; in BORINGSSL_self_test()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc3491 typedef int (*evp_aead_ctx_op_func)(const EVP_AEAD_CTX* ctx, uint8_t* out, size_t* out_len,