Home
last modified time | relevance | path

Searched refs:seqbuf (Results 1 – 2 of 2) sorted by relevance

/openssl/test/
H A Dtls13encryptiontest.c314 unsigned char seqbuf[SEQ_NUM_SIZE]; in test_tls13_encryption() local
329 if (!load_record(&rec, &refdata[ctr], &key, iv, ivlen, seqbuf)) { in test_tls13_encryption()
344 memcpy(wrl->sequence, seqbuf, sizeof(seqbuf)); in test_tls13_encryption()
367 memcpy(rrl->sequence, seqbuf, sizeof(seqbuf)); in test_tls13_encryption()
/openssl/crypto/hpke/
H A Dhpke.c1157 unsigned char seqbuf[OSSL_HPKE_MAX_NONCELEN]; in OSSL_HPKE_seal() local
1178 seqlen = hpke_seqnonce2buf(ctx, seqbuf, sizeof(seqbuf)); in OSSL_HPKE_seal()
1183 if (hpke_aead_enc(ctx, seqbuf, aad, aadlen, pt, ptlen, ct, ctlen) != 1) { in OSSL_HPKE_seal()
1185 OPENSSL_cleanse(seqbuf, sizeof(seqbuf)); in OSSL_HPKE_seal()
1190 OPENSSL_cleanse(seqbuf, sizeof(seqbuf)); in OSSL_HPKE_seal()
1199 unsigned char seqbuf[OSSL_HPKE_MAX_NONCELEN]; in OSSL_HPKE_open() local
1220 seqlen = hpke_seqnonce2buf(ctx, seqbuf, sizeof(seqbuf)); in OSSL_HPKE_open()
1225 if (hpke_aead_dec(ctx, seqbuf, aad, aadlen, ct, ctlen, pt, ptlen) != 1) { in OSSL_HPKE_open()
1227 OPENSSL_cleanse(seqbuf, sizeof(seqbuf)); in OSSL_HPKE_open()
1231 OPENSSL_cleanse(seqbuf, sizeof(seqbuf)); in OSSL_HPKE_open()

Completed in 13 milliseconds