Home
last modified time | relevance | path

Searched refs:EVP_AEAD (Results 1 – 25 of 43) sorted by relevance

12

/external/boringssl/src/include/openssl/
Daead.h100 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_gcm(void);
113 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_192_gcm(void);
122 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_256_gcm(void);
126 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_chacha20_poly1305(void);
130 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_xchacha20_poly1305(void);
135 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_ctr_hmac_sha256(void);
139 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_256_ctr_hmac_sha256(void);
143 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_gcm_siv(void);
147 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_256_gcm_siv(void);
159 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_gcm_randnonce(void);
[all …]
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Daead.h100 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_gcm(void);
113 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_192_gcm(void);
122 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_256_gcm(void);
126 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_chacha20_poly1305(void);
130 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_xchacha20_poly1305(void);
135 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_ctr_hmac_sha256(void);
139 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_256_ctr_hmac_sha256(void);
143 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_gcm_siv(void);
147 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_256_gcm_siv(void);
152 OPENSSL_EXPORT const EVP_AEAD *EVP_aead_aes_128_ccm_bluetooth(void);
[all …]
/external/boringssl/src/crypto/cipher_extra/
De_tls.c482 static const EVP_AEAD aead_aes_128_cbc_sha1_tls = {
499 static const EVP_AEAD aead_aes_128_cbc_sha1_tls_implicit_iv = {
516 static const EVP_AEAD aead_aes_128_cbc_sha256_tls = {
533 static const EVP_AEAD aead_aes_256_cbc_sha1_tls = {
550 static const EVP_AEAD aead_aes_256_cbc_sha1_tls_implicit_iv = {
567 static const EVP_AEAD aead_aes_256_cbc_sha256_tls = {
584 static const EVP_AEAD aead_aes_256_cbc_sha384_tls = {
601 static const EVP_AEAD aead_des_ede3_cbc_sha1_tls = {
618 static const EVP_AEAD aead_des_ede3_cbc_sha1_tls_implicit_iv = {
635 static const EVP_AEAD aead_null_sha1_tls = {
[all …]
De_aesctrhmac.c243 static const EVP_AEAD aead_aes_128_ctr_hmac_sha256 = {
260 static const EVP_AEAD aead_aes_256_ctr_hmac_sha256 = {
277 const EVP_AEAD *EVP_aead_aes_128_ctr_hmac_sha256(void) { in EVP_aead_aes_128_ctr_hmac_sha256()
281 const EVP_AEAD *EVP_aead_aes_256_ctr_hmac_sha256(void) { in EVP_aead_aes_256_ctr_hmac_sha256()
De_aesgcmsiv.c527 static const EVP_AEAD aead_aes_128_gcm_siv_asm = {
544 static const EVP_AEAD aead_aes_256_gcm_siv_asm = {
824 static const EVP_AEAD aead_aes_128_gcm_siv = {
841 static const EVP_AEAD aead_aes_256_gcm_siv = {
867 const EVP_AEAD *EVP_aead_aes_128_gcm_siv(void) { in EVP_aead_aes_128_gcm_siv()
874 const EVP_AEAD *EVP_aead_aes_256_gcm_siv(void) { in EVP_aead_aes_256_gcm_siv()
883 const EVP_AEAD *EVP_aead_aes_128_gcm_siv(void) { in EVP_aead_aes_128_gcm_siv()
887 const EVP_AEAD *EVP_aead_aes_256_gcm_siv(void) { in EVP_aead_aes_256_gcm_siv()
De_chacha20poly1305.c303 static const EVP_AEAD aead_chacha20_poly1305 = {
320 static const EVP_AEAD aead_xchacha20_poly1305 = {
337 const EVP_AEAD *EVP_aead_chacha20_poly1305(void) { in EVP_aead_chacha20_poly1305()
341 const EVP_AEAD *EVP_aead_xchacha20_poly1305(void) { in EVP_aead_xchacha20_poly1305()
De_aesccm.c402 static const EVP_AEAD aead_aes_128_ccm_bluetooth = {
419 const EVP_AEAD *EVP_aead_aes_128_ccm_bluetooth(void) { in EVP_aead_aes_128_ccm_bluetooth()
428 static const EVP_AEAD aead_aes_128_ccm_bluetooth_8 = {
445 const EVP_AEAD *EVP_aead_aes_128_ccm_bluetooth_8(void) { in EVP_aead_aes_128_ccm_bluetooth_8()
Daead_test.cc78 const EVP_AEAD *(*func)(void);
173 const EVP_AEAD *aead() { return GetParam().func(); } in aead()
750 static int aead_ctx_init_for_seal(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in aead_ctx_init_for_seal()
756 static int aead_ctx_init_for_open(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in aead_ctx_init_for_open()
890 static void RunWycheproofTestCase(FileTest *t, const EVP_AEAD *aead) { in RunWycheproofTestCase()
966 const EVP_AEAD *aead; in TEST()
987 const EVP_AEAD *aead; in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/
De_tls.c482 static const EVP_AEAD aead_aes_128_cbc_sha1_tls = {
499 static const EVP_AEAD aead_aes_128_cbc_sha1_tls_implicit_iv = {
516 static const EVP_AEAD aead_aes_128_cbc_sha256_tls = {
533 static const EVP_AEAD aead_aes_256_cbc_sha1_tls = {
550 static const EVP_AEAD aead_aes_256_cbc_sha1_tls_implicit_iv = {
567 static const EVP_AEAD aead_aes_256_cbc_sha256_tls = {
584 static const EVP_AEAD aead_aes_256_cbc_sha384_tls = {
601 static const EVP_AEAD aead_des_ede3_cbc_sha1_tls = {
618 static const EVP_AEAD aead_des_ede3_cbc_sha1_tls_implicit_iv = {
635 static const EVP_AEAD aead_null_sha1_tls = {
[all …]
De_aesctrhmac.c243 static const EVP_AEAD aead_aes_128_ctr_hmac_sha256 = {
260 static const EVP_AEAD aead_aes_256_ctr_hmac_sha256 = {
277 const EVP_AEAD *EVP_aead_aes_128_ctr_hmac_sha256(void) { in EVP_aead_aes_128_ctr_hmac_sha256()
281 const EVP_AEAD *EVP_aead_aes_256_ctr_hmac_sha256(void) { in EVP_aead_aes_256_ctr_hmac_sha256()
De_aesgcmsiv.c527 static const EVP_AEAD aead_aes_128_gcm_siv_asm = {
544 static const EVP_AEAD aead_aes_256_gcm_siv_asm = {
824 static const EVP_AEAD aead_aes_128_gcm_siv = {
841 static const EVP_AEAD aead_aes_256_gcm_siv = {
867 const EVP_AEAD *EVP_aead_aes_128_gcm_siv(void) { in EVP_aead_aes_128_gcm_siv()
874 const EVP_AEAD *EVP_aead_aes_256_gcm_siv(void) { in EVP_aead_aes_256_gcm_siv()
883 const EVP_AEAD *EVP_aead_aes_128_gcm_siv(void) { in EVP_aead_aes_128_gcm_siv()
887 const EVP_AEAD *EVP_aead_aes_256_gcm_siv(void) { in EVP_aead_aes_256_gcm_siv()
De_chacha20poly1305.c378 static const EVP_AEAD aead_chacha20_poly1305 = {
395 static const EVP_AEAD aead_xchacha20_poly1305 = {
412 const EVP_AEAD *EVP_aead_chacha20_poly1305(void) { in EVP_aead_chacha20_poly1305()
416 const EVP_AEAD *EVP_aead_xchacha20_poly1305(void) { in EVP_aead_xchacha20_poly1305()
De_aesccm.c402 static const EVP_AEAD aead_aes_128_ccm_bluetooth = {
419 const EVP_AEAD *EVP_aead_aes_128_ccm_bluetooth(void) { in EVP_aead_aes_128_ccm_bluetooth()
428 static const EVP_AEAD aead_aes_128_ccm_bluetooth_8 = {
445 const EVP_AEAD *EVP_aead_aes_128_ccm_bluetooth_8(void) { in EVP_aead_aes_128_ccm_bluetooth_8()
Daead_test.cc36 const EVP_AEAD *(*func)(void);
104 const EVP_AEAD *aead() { return GetParam().func(); } in aead()
671 static int aead_ctx_init_for_seal(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in aead_ctx_init_for_seal()
677 static int aead_ctx_init_for_open(EVP_AEAD_CTX *ctx, const EVP_AEAD *aead, in aead_ctx_init_for_open()
789 static void RunWycheproofTestCase(FileTest *t, const EVP_AEAD *aead) { in RunWycheproofTestCase()
865 const EVP_AEAD *aead; in TEST()
886 const EVP_AEAD *aead; in TEST()
/external/boringssl/src/crypto/fipsmodule/cipher/
Daead.c28 size_t EVP_AEAD_key_length(const EVP_AEAD *aead) { return aead->key_len; } in EVP_AEAD_key_length()
30 size_t EVP_AEAD_nonce_length(const EVP_AEAD *aead) { return aead->nonce_len; } in EVP_AEAD_nonce_length()
32 size_t EVP_AEAD_max_overhead(const EVP_AEAD *aead) { return aead->overhead; } in EVP_AEAD_max_overhead()
34 size_t EVP_AEAD_max_tag_len(const EVP_AEAD *aead) { return aead->max_tag_len; } in EVP_AEAD_max_tag_len()
40 EVP_AEAD_CTX *EVP_AEAD_CTX_new(const EVP_AEAD *aead, const uint8_t *key, in EVP_AEAD_CTX_new()
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()
257 const EVP_AEAD *EVP_AEAD_CTX_aead(const EVP_AEAD_CTX *ctx) { return ctx->aead; } in EVP_AEAD_CTX_aead()
De_aes.c1075 DEFINE_METHOD_FUNCTION(EVP_AEAD, EVP_aead_aes_128_gcm) { in DEFINE_METHOD_FUNCTION() argument
1076 memset(out, 0, sizeof(EVP_AEAD)); in DEFINE_METHOD_FUNCTION()
1090 DEFINE_METHOD_FUNCTION(EVP_AEAD, EVP_aead_aes_192_gcm) { in DEFINE_METHOD_FUNCTION() argument
1091 memset(out, 0, sizeof(EVP_AEAD)); in DEFINE_METHOD_FUNCTION()
1105 DEFINE_METHOD_FUNCTION(EVP_AEAD, EVP_aead_aes_256_gcm) { in DEFINE_METHOD_FUNCTION() argument
1106 memset(out, 0, sizeof(EVP_AEAD)); in DEFINE_METHOD_FUNCTION()
1200 DEFINE_METHOD_FUNCTION(EVP_AEAD, EVP_aead_aes_128_gcm_randnonce) { in DEFINE_METHOD_FUNCTION() argument
1201 memset(out, 0, sizeof(EVP_AEAD)); in DEFINE_METHOD_FUNCTION()
1215 DEFINE_METHOD_FUNCTION(EVP_AEAD, EVP_aead_aes_256_gcm_randnonce) { in DEFINE_METHOD_FUNCTION() argument
1216 memset(out, 0, sizeof(EVP_AEAD)); in DEFINE_METHOD_FUNCTION()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/cipher/
Daead.c28 size_t EVP_AEAD_key_length(const EVP_AEAD *aead) { return aead->key_len; } in EVP_AEAD_key_length()
30 size_t EVP_AEAD_nonce_length(const EVP_AEAD *aead) { return aead->nonce_len; } in EVP_AEAD_nonce_length()
32 size_t EVP_AEAD_max_overhead(const EVP_AEAD *aead) { return aead->overhead; } in EVP_AEAD_max_overhead()
34 size_t EVP_AEAD_max_tag_len(const EVP_AEAD *aead) { return aead->max_tag_len; } in EVP_AEAD_max_tag_len()
40 EVP_AEAD_CTX *EVP_AEAD_CTX_new(const EVP_AEAD *aead, const uint8_t *key, in EVP_AEAD_CTX_new()
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()
257 const EVP_AEAD *EVP_AEAD_CTX_aead(const EVP_AEAD_CTX *ctx) { return ctx->aead; } in EVP_AEAD_CTX_aead()
De_aes.c1047 DEFINE_METHOD_FUNCTION(EVP_AEAD, EVP_aead_aes_128_gcm) { in DEFINE_METHOD_FUNCTION() argument
1048 memset(out, 0, sizeof(EVP_AEAD)); in DEFINE_METHOD_FUNCTION()
1062 DEFINE_METHOD_FUNCTION(EVP_AEAD, EVP_aead_aes_192_gcm) { in DEFINE_METHOD_FUNCTION() argument
1063 memset(out, 0, sizeof(EVP_AEAD)); in DEFINE_METHOD_FUNCTION()
1077 DEFINE_METHOD_FUNCTION(EVP_AEAD, EVP_aead_aes_256_gcm) { in DEFINE_METHOD_FUNCTION() argument
1078 memset(out, 0, sizeof(EVP_AEAD)); in DEFINE_METHOD_FUNCTION()
1154 DEFINE_METHOD_FUNCTION(EVP_AEAD, EVP_aead_aes_128_gcm_tls12) { in DEFINE_METHOD_FUNCTION() argument
1155 memset(out, 0, sizeof(EVP_AEAD)); in DEFINE_METHOD_FUNCTION()
1169 DEFINE_METHOD_FUNCTION(EVP_AEAD, EVP_aead_aes_256_gcm_tls12) { in DEFINE_METHOD_FUNCTION() argument
1170 memset(out, 0, sizeof(EVP_AEAD)); in DEFINE_METHOD_FUNCTION()
[all …]
/external/boringssl/src/util/fipstools/cavp/
Dcavp_aes_gcm_test.cc33 const EVP_AEAD *aead;
38 static const EVP_AEAD *GetAEAD(const std::string &name, const bool enc) { in GetAEAD()
151 const EVP_AEAD *aead = GetAEAD(argv[2], mode == "enc"); in cavp_aes_gcm_test_main()
Dcavp_test_util.h35 bool AEADEncrypt(const EVP_AEAD *aead, std::vector<uint8_t> *ct,
42 bool AEADDecrypt(const EVP_AEAD *aead, std::vector<uint8_t> *pt, size_t pt_len,
Dcavp_test_util.cc97 bool AEADEncrypt(const EVP_AEAD *aead, std::vector<uint8_t> *ct, in AEADEncrypt()
125 bool AEADDecrypt(const EVP_AEAD *aead, std::vector<uint8_t> *pt, size_t pt_len, in AEADDecrypt()
/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/
Dcavp_aes_gcm_test.cc33 const EVP_AEAD *aead;
38 static const EVP_AEAD *GetAEAD(const std::string &name, const bool enc) { in GetAEAD()
151 const EVP_AEAD *aead = GetAEAD(argv[2], mode == "enc"); in cavp_aes_gcm_test_main()
Dcavp_test_util.h35 bool AEADEncrypt(const EVP_AEAD *aead, std::vector<uint8_t> *ct,
42 bool AEADDecrypt(const EVP_AEAD *aead, std::vector<uint8_t> *pt, size_t pt_len,
Dcavp_test_util.cc97 bool AEADEncrypt(const EVP_AEAD *aead, std::vector<uint8_t> *ct, in AEADEncrypt()
125 bool AEADDecrypt(const EVP_AEAD *aead, std::vector<uint8_t> *pt, size_t pt_len, in AEADDecrypt()
/external/boringssl/src/crypto/hpke/
Dinternal.h221 OPENSSL_EXPORT const EVP_AEAD *EVP_HPKE_get_aead(uint16_t aead_id);

12