Searched refs:kemctx (Results 1 – 2 of 2) sorted by relevance
/openssl/providers/implementations/kem/ |
H A D | ecx_kem.c | 298 const unsigned char *kemctx, in dhkem_extract_and_expand() argument 318 kemctx, kemctxlen); in dhkem_extract_and_expand() 481 unsigned char kemctx[MAX_ECX_KEYLEN * 3]; in derive_secret() local 504 if (kemctxlen > sizeof(kemctx)) in derive_secret() 508 memcpy(kemctx, sender_pub, encodedkeylen); in derive_secret() 509 memcpy(kemctx + encodedkeylen, recipient_pub, encodedkeylen); in derive_secret() 511 memcpy(kemctx + 2 * encodedkeylen, sender_authpub, encodedkeylen); in derive_secret() 518 kemctx, kemctxlen)) in derive_secret()
|
H A D | ec_kem.c | 341 const unsigned char *kemctx, in dhkem_extract_and_expand() argument 361 kemctx, kemctxlen); in dhkem_extract_and_expand() 570 unsigned char kemctx[OSSL_HPKE_MAX_PUBLIC * 3]; in derive_secret() local 601 if (kemctxlen > sizeof(kemctx)) in derive_secret() 605 memcpy(kemctx, sender_pub, info->Npk); in derive_secret() 606 memcpy(kemctx + info->Npk, recipient_pub, info->Npk); in derive_secret() 608 memcpy(kemctx + 2 * encodedpublen, sender_authpub, encodedpublen); in derive_secret() 615 kemctx, kemctxlen)) in derive_secret()
|
Completed in 15 milliseconds