Home
last modified time | relevance | path

Searched refs:aadlen (Results 1 – 8 of 8) sorted by relevance

/openssl/util/
H A Dcavs-to-evptest.pl23 my $aadlen = 0;
49 $aadlen = $2;
87 $aadlen = $2;
95 if ($aadlen > 0) {
/openssl/include/openssl/
H A Dhpke.h118 const unsigned char *aad, size_t aadlen,
131 const unsigned char *aad, size_t aadlen,
/openssl/crypto/hpke/
H A Dhpke.c142 const unsigned char *aad, size_t aadlen, in hpke_aead_dec() argument
175 if (aadlen != 0 && aad != NULL) { in hpke_aead_dec()
176 if (EVP_DecryptUpdate(ctx, NULL, &len, aad, aadlen) != 1) { in hpke_aead_dec()
218 const unsigned char *aad, size_t aadlen, in hpke_aead_enc() argument
256 if (aadlen != 0 && aad != NULL) { in hpke_aead_enc()
257 if (EVP_EncryptUpdate(ctx, NULL, &len, aad, aadlen) != 1) { in hpke_aead_enc()
1154 const unsigned char *aad, size_t aadlen, in OSSL_HPKE_seal() argument
1183 if (hpke_aead_enc(ctx, seqbuf, aad, aadlen, pt, ptlen, ct, ctlen) != 1) { in OSSL_HPKE_seal()
1196 const unsigned char *aad, size_t aadlen, in OSSL_HPKE_open() argument
1225 if (hpke_aead_dec(ctx, seqbuf, aad, aadlen, ct, ctlen, pt, ptlen) != 1) { in OSSL_HPKE_open()
/openssl/test/
H A Dhpke_test.c54 size_t aadlen; member
162 aead[i].aad, aead[i].aadlen, in do_testhpke()
199 aead[i].aad, aead[i].aadlen, in do_testhpke()
913 size_t aadlen = OSSL_HPKE_TSTSIZE; in test_hpke_modes_suites() local
942 memset(aad, 'a', aadlen); in test_hpke_modes_suites()
944 aadlen = 0; in test_hpke_modes_suites()
1032 aadp, aadlen, in test_hpke_modes_suites()
1038 aadp, aadlen, in test_hpke_modes_suites()
1077 aadp, aadlen, cipher, in test_hpke_modes_suites()
1083 aadp, aadlen, cipher, in test_hpke_modes_suites()
/openssl/providers/implementations/include/prov/
H A Dciphercommon_ccm.h60 const unsigned char *aad, size_t aadlen));
H A Dciphercommon_gcm.h89 const unsigned char *aad, size_t aadlen));
/openssl/doc/man3/
H A DOSSL_HPKE_CTX_new.pod37 const unsigned char *aad, size_t aadlen,
50 const unsigned char *aad, size_t aadlen,
270 I<aad> of size I<aadlen>, and returns the ciphertext I<ct> of size I<ctlen>.
321 size I<aadlen>, to produce the plaintext I<pt> of size I<ptlen>.
509 size_t aadlen = sizeof(aad);
526 if (OSSL_HPKE_seal(sctx, ct, &ctlen, aad, aadlen, pt, ptlen) != 1)
536 if (OSSL_HPKE_open(rctx, clear, &clearlen, aad, aadlen, ct, ctlen) != 1)
/openssl/providers/implementations/ciphers/
H A Dcipher_aes_gcm_hw_vaes_avx512.inc39 size_t aadlen);

Completed in 38 milliseconds