Home
last modified time | relevance | path

Searched refs:aead (Results 1 – 25 of 48) sorted by relevance

12

/third_party/openssl/test/ssl-tests/
D18-dtls-renegotiate.cnf10 test-5 = 5-renegotiate-aead-to-non-aead
11 test-6 = 6-renegotiate-non-aead-to-aead
12 test-7 = 7-renegotiate-non-aead-to-non-aead
13 test-8 = 8-renegotiate-aead-to-aead
160 [5-renegotiate-aead-to-non-aead]
161 ssl_conf = 5-renegotiate-aead-to-non-aead-ssl
163 [5-renegotiate-aead-to-non-aead-ssl]
164 server = 5-renegotiate-aead-to-non-aead-server
165 client = 5-renegotiate-aead-to-non-aead-client
167 [5-renegotiate-aead-to-non-aead-server]
[all …]
D17-renegotiate.cnf12 test-7 = 7-renegotiate-aead-to-non-aead
13 test-8 = 8-renegotiate-non-aead-to-aead
14 test-9 = 9-renegotiate-non-aead-to-non-aead
15 test-10 = 10-renegotiate-aead-to-aead
227 [7-renegotiate-aead-to-non-aead]
228 ssl_conf = 7-renegotiate-aead-to-non-aead-ssl
230 [7-renegotiate-aead-to-non-aead-ssl]
231 server = 7-renegotiate-aead-to-non-aead-server
232 client = 7-renegotiate-aead-to-non-aead-client
234 [7-renegotiate-aead-to-non-aead-server]
[all …]
D18-dtls-renegotiate.cnf.in133 name => "renegotiate-aead-to-non-aead".$suffix,
152 name => "renegotiate-non-aead-to-aead".$suffix,
171 name => "renegotiate-non-aead-to-non-aead".$suffix,
190 name => "renegotiate-aead-to-aead".$suffix,
D17-renegotiate.cnf.in131 name => "renegotiate-aead-to-non-aead",
150 name => "renegotiate-non-aead-to-aead",
169 name => "renegotiate-non-aead-to-non-aead",
188 name => "renegotiate-aead-to-aead",
/third_party/node/deps/ngtcp2/ngtcp2/crypto/wolfssl/
Dwolfssl.c46 ngtcp2_crypto_aead *ngtcp2_crypto_aead_aes_128_gcm(ngtcp2_crypto_aead *aead) { in ngtcp2_crypto_aead_aes_128_gcm() argument
47 return ngtcp2_crypto_aead_init(aead, (void *)wolfSSL_EVP_aes_128_gcm()); in ngtcp2_crypto_aead_aes_128_gcm()
56 ngtcp2_crypto_aead_init(&ctx->aead, (void *)wolfSSL_EVP_aes_128_gcm()); in ngtcp2_crypto_ctx_initial()
64 ngtcp2_crypto_aead *ngtcp2_crypto_aead_init(ngtcp2_crypto_aead *aead, in ngtcp2_crypto_aead_init() argument
66 aead->native_handle = aead_native_handle; in ngtcp2_crypto_aead_init()
67 aead->max_overhead = wolfSSL_quic_get_aead_tag_len( in ngtcp2_crypto_aead_init()
69 return aead; in ngtcp2_crypto_aead_init()
72 ngtcp2_crypto_aead *ngtcp2_crypto_aead_retry(ngtcp2_crypto_aead *aead) { in ngtcp2_crypto_aead_retry() argument
73 return ngtcp2_crypto_aead_init(aead, (void *)wolfSSL_EVP_aes_128_gcm()); in ngtcp2_crypto_aead_retry()
77 const WOLFSSL_EVP_CIPHER *aead = wolfSSL_quic_get_aead(ssl); in crypto_wolfssl_get_aead_max_encryption() local
[all …]
/third_party/node/deps/ngtcp2/ngtcp2/crypto/picotls/
Dpicotls.c40 ngtcp2_crypto_aead *ngtcp2_crypto_aead_aes_128_gcm(ngtcp2_crypto_aead *aead) { in ngtcp2_crypto_aead_aes_128_gcm() argument
41 return ngtcp2_crypto_aead_init(aead, (void *)&ptls_openssl_aes128gcm); in ngtcp2_crypto_aead_aes_128_gcm()
50 ngtcp2_crypto_aead_init(&ctx->aead, (void *)&ptls_openssl_aes128gcm); in ngtcp2_crypto_ctx_initial()
58 ngtcp2_crypto_aead *ngtcp2_crypto_aead_init(ngtcp2_crypto_aead *aead, in ngtcp2_crypto_aead_init() argument
62 aead->native_handle = aead_native_handle; in ngtcp2_crypto_aead_init()
63 aead->max_overhead = alg->tag_size; in ngtcp2_crypto_aead_init()
64 return aead; in ngtcp2_crypto_aead_init()
67 ngtcp2_crypto_aead *ngtcp2_crypto_aead_retry(ngtcp2_crypto_aead *aead) { in ngtcp2_crypto_aead_retry() argument
68 return ngtcp2_crypto_aead_init(aead, (void *)&ptls_openssl_aes128gcm); in ngtcp2_crypto_aead_retry()
74 return cs->aead; in crypto_ptls_get_aead()
[all …]
/third_party/node/deps/ngtcp2/ngtcp2/crypto/
Dshared.c130 size_t ngtcp2_crypto_packet_protection_ivlen(const ngtcp2_crypto_aead *aead) { in ngtcp2_crypto_packet_protection_ivlen() argument
131 size_t noncelen = ngtcp2_crypto_aead_noncelen(aead); in ngtcp2_crypto_packet_protection_ivlen()
137 const ngtcp2_crypto_aead *aead, const ngtcp2_crypto_md *md, in ngtcp2_crypto_derive_packet_protection_key() argument
145 size_t keylen = ngtcp2_crypto_aead_keylen(aead); in ngtcp2_crypto_derive_packet_protection_key()
146 size_t ivlen = ngtcp2_crypto_packet_protection_ivlen(aead); in ngtcp2_crypto_derive_packet_protection_key()
211 const ngtcp2_crypto_aead *aead; in ngtcp2_crypto_derive_and_install_rx_key() local
257 if (!ctx->aead.native_handle) { in ngtcp2_crypto_derive_and_install_rx_key()
264 aead = &ctx->aead; in ngtcp2_crypto_derive_and_install_rx_key()
267 ivlen = ngtcp2_crypto_packet_protection_ivlen(aead); in ngtcp2_crypto_derive_and_install_rx_key()
269 if (ngtcp2_crypto_derive_packet_protection_key(key, iv, hp_key, version, aead, in ngtcp2_crypto_derive_and_install_rx_key()
[all …]
Dshared.h98 ngtcp2_crypto_aead *ngtcp2_crypto_aead_init(ngtcp2_crypto_aead *aead,
107 ngtcp2_crypto_aead *ngtcp2_crypto_aead_retry(ngtcp2_crypto_aead *aead);
154 const ngtcp2_crypto_aead *aead,
340 ngtcp2_crypto_aead *ngtcp2_crypto_aead_aes_128_gcm(ngtcp2_crypto_aead *aead);
/third_party/node/deps/ngtcp2/ngtcp2/crypto/boringssl/
Dboringssl.c66 ngtcp2_crypto_aead *ngtcp2_crypto_aead_aes_128_gcm(ngtcp2_crypto_aead *aead) { in ngtcp2_crypto_aead_aes_128_gcm() argument
67 return ngtcp2_crypto_aead_init(aead, (void *)EVP_aead_aes_128_gcm()); in ngtcp2_crypto_aead_aes_128_gcm()
76 ngtcp2_crypto_aead_init(&ctx->aead, (void *)EVP_aead_aes_128_gcm()); in ngtcp2_crypto_ctx_initial()
84 ngtcp2_crypto_aead *ngtcp2_crypto_aead_init(ngtcp2_crypto_aead *aead, in ngtcp2_crypto_aead_init() argument
86 aead->native_handle = aead_native_handle; in ngtcp2_crypto_aead_init()
87 aead->max_overhead = EVP_AEAD_max_overhead(aead->native_handle); in ngtcp2_crypto_aead_init()
88 return aead; in ngtcp2_crypto_aead_init()
91 ngtcp2_crypto_aead *ngtcp2_crypto_aead_retry(ngtcp2_crypto_aead *aead) { in ngtcp2_crypto_aead_retry() argument
92 return ngtcp2_crypto_aead_init(aead, (void *)EVP_aead_aes_128_gcm()); in ngtcp2_crypto_aead_retry()
160 ngtcp2_crypto_aead_init(&ctx->aead, (void *)crypto_ssl_get_aead(ssl)); in ngtcp2_crypto_ctx_tls()
[all …]
/third_party/node/deps/ngtcp2/ngtcp2/lib/
Dngtcp2_ppe.c51 if (ngtcp2_buf_left(buf) < cc->aead.max_overhead) { in ngtcp2_ppe_encode_hd()
62 buf->last, ngtcp2_buf_left(buf) - cc->aead.max_overhead, hd); in ngtcp2_ppe_encode_hd()
66 buf->last, ngtcp2_buf_left(buf) - cc->aead.max_overhead, hd); in ngtcp2_ppe_encode_hd()
89 if (ngtcp2_buf_left(buf) < cc->aead.max_overhead) { in ngtcp2_ppe_encode_frame()
94 buf->last, ngtcp2_buf_left(buf) - cc->aead.max_overhead, fr); in ngtcp2_ppe_encode_frame()
120 (uint16_t)(payloadlen + ppe->pkt_numlen + cc->aead.max_overhead)); in ngtcp2_ppe_final()
126 rv = cc->encrypt(payload, &cc->aead, &cc->ckm->aead_ctx, payload, payloadlen, in ngtcp2_ppe_final()
132 buf->last = payload + payloadlen + cc->aead.max_overhead; in ngtcp2_ppe_final()
164 if (ngtcp2_buf_left(&ppe->buf) < cc->aead.max_overhead) { in ngtcp2_ppe_left()
168 return ngtcp2_buf_left(&ppe->buf) - cc->aead.max_overhead; in ngtcp2_ppe_left()
[all …]
Dngtcp2_crypto.h118 ngtcp2_crypto_aead aead; member
/third_party/node/deps/ngtcp2/ngtcp2/crypto/openssl/
Dopenssl.c45 static size_t crypto_aead_max_overhead(const EVP_CIPHER *aead) { in crypto_aead_max_overhead() argument
46 switch (EVP_CIPHER_nid(aead)) { in crypto_aead_max_overhead()
60 ngtcp2_crypto_aead *ngtcp2_crypto_aead_aes_128_gcm(ngtcp2_crypto_aead *aead) { in ngtcp2_crypto_aead_aes_128_gcm() argument
61 return ngtcp2_crypto_aead_init(aead, (void *)EVP_aes_128_gcm()); in ngtcp2_crypto_aead_aes_128_gcm()
70 ngtcp2_crypto_aead_init(&ctx->aead, (void *)EVP_aes_128_gcm()); in ngtcp2_crypto_ctx_initial()
78 ngtcp2_crypto_aead *ngtcp2_crypto_aead_init(ngtcp2_crypto_aead *aead, in ngtcp2_crypto_aead_init() argument
80 aead->native_handle = aead_native_handle; in ngtcp2_crypto_aead_init()
81 aead->max_overhead = crypto_aead_max_overhead(aead_native_handle); in ngtcp2_crypto_aead_init()
82 return aead; in ngtcp2_crypto_aead_init()
85 ngtcp2_crypto_aead *ngtcp2_crypto_aead_retry(ngtcp2_crypto_aead *aead) { in ngtcp2_crypto_aead_retry() argument
[all …]
/third_party/node/deps/ngtcp2/ngtcp2/crypto/includes/ngtcp2/
Dngtcp2_crypto.h123 NGTCP2_EXTERN size_t ngtcp2_crypto_aead_keylen(const ngtcp2_crypto_aead *aead);
132 ngtcp2_crypto_aead_noncelen(const ngtcp2_crypto_aead *aead);
221 ngtcp2_crypto_packet_protection_ivlen(const ngtcp2_crypto_aead *aead);
237 const ngtcp2_crypto_aead *aead,
255 ngtcp2_crypto_encrypt_cb(uint8_t *dest, const ngtcp2_crypto_aead *aead,
275 const ngtcp2_crypto_aead *aead,
293 ngtcp2_crypto_decrypt_cb(uint8_t *dest, const ngtcp2_crypto_aead *aead,
778 const ngtcp2_crypto_aead *aead,
793 const ngtcp2_crypto_aead *aead,
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
Dciphercommon_block.c33 int aead,
162 int aead) in ossl_cipher_tlsunpadblock() argument
184 aead, libctx); in ossl_cipher_tlsunpadblock()
Dciphercommon_local.h16 unsigned char **mac, int *alloced, size_t macsize, int aead);
/third_party/openssl/providers/implementations/ciphers/
Dciphercommon_block.c33 int aead,
162 int aead) in ossl_cipher_tlsunpadblock() argument
184 aead, libctx); in ossl_cipher_tlsunpadblock()
Dciphercommon_local.h16 unsigned char **mac, int *alloced, size_t macsize, int aead);
/third_party/node/deps/openssl/openssl/ssl/record/
Dtls_pad.c48 int aead,
119 int aead, in tls1_cbc_remove_padding_and_mac() argument
138 if (aead) { in tls1_cbc_remove_padding_and_mac()
/third_party/openssl/ssl/record/
Dtls_pad.c48 int aead,
119 int aead, in tls1_cbc_remove_padding_and_mac() argument
138 if (aead) { in tls1_cbc_remove_padding_and_mac()
/third_party/openssl/doc/man1/
Dopenssl-speed.pod.in17 [B<-aead>]
51 If I<algo> is an AEAD cipher, then you can pass B<-aead> to benchmark a
88 =item B<-aead>
/third_party/node/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/
Dngtcp2.h2170 ngtcp2_crypto_aead aead; member
2684 typedef int (*ngtcp2_encrypt)(uint8_t *dest, const ngtcp2_crypto_aead *aead,
2713 typedef int (*ngtcp2_decrypt)(uint8_t *dest, const ngtcp2_crypto_aead *aead,
3607 size_t reasonlen, ngtcp2_encrypt encrypt, const ngtcp2_crypto_aead *aead,
3639 size_t tokenlen, ngtcp2_encrypt encrypt, const ngtcp2_crypto_aead *aead,
5091 ngtcp2_conn_set_retry_aead(ngtcp2_conn *conn, const ngtcp2_crypto_aead *aead,
/third_party/openssl/test/
Devp_test.c523 int aead; member
584 cdat->aead = m != 0 ? m : -1; in cipher_test_init()
586 cdat->aead = 0; in cipher_test_init()
641 if (cdat->aead) { in cipher_test_parse()
757 if (expected->aead) { in cipher_test_enc()
768 if (expected->aead && !expected->tls_aad) { in cipher_test_enc()
774 if (enc || expected->aead == EVP_CIPH_OCB_MODE || expected->tag_late) { in cipher_test_enc()
781 if (tag || expected->aead != EVP_CIPH_GCM_MODE) { in cipher_test_enc()
858 if (expected->aead == EVP_CIPH_CCM_MODE) { in cipher_test_enc()
915 } else if (!enc && (expected->aead == EVP_CIPH_OCB_MODE in cipher_test_enc()
[all …]
/third_party/ffmpeg/tests/ref/fate/
Dsha51227 8e959b75 dae313da 8cf4f728 14fc143f 8f7779c6 eb9f7fa1 7299aead b6889018 501d289e 4900f7e4 331b99de …
/third_party/openssl/crypto/evp/
Devp_lib.c343 int ok, aead = 0, custom_iv = 0, cts = 0, multiblock = 0, randkey = 0; in evp_cipher_cache_constants() local
354 params[4] = OSSL_PARAM_construct_int(OSSL_CIPHER_PARAM_AEAD, &aead); in evp_cipher_cache_constants()
369 if (aead) in evp_cipher_cache_constants()
/third_party/node/deps/openssl/openssl/crypto/evp/
Devp_lib.c343 int ok, aead = 0, custom_iv = 0, cts = 0, multiblock = 0, randkey = 0; in evp_cipher_cache_constants() local
354 params[4] = OSSL_PARAM_construct_int(OSSL_CIPHER_PARAM_AEAD, &aead); in evp_cipher_cache_constants()
369 if (aead) in evp_cipher_cache_constants()

12