Searched refs:dhkmlen (Results 1 – 2 of 2) sorted by relevance
/openssl/providers/implementations/kem/ |
H A D | ecx_kem.c | 297 const unsigned char *dhkm, size_t dhkmlen, in dhkem_extract_and_expand() argument 314 OSSL_DHKEM_LABEL_EAE_PRK, dhkm, dhkmlen) in dhkem_extract_and_expand() 482 size_t kemctxlen = 0, dhkmlen = 0; in derive_secret() local 489 dhkmlen = encodedkeylen; in derive_secret() 494 dhkm + dhkmlen, sizeof(dhkm) - dhkmlen, in derive_secret() 501 dhkmlen += encodedkeylen; in derive_secret() 503 kemctxlen = encodedkeylen + dhkmlen; in derive_secret() 517 info->kem_id, dhkm, dhkmlen, in derive_secret() 522 OPENSSL_cleanse(dhkm, dhkmlen); in derive_secret()
|
H A D | ec_kem.c | 340 const unsigned char *dhkm, size_t dhkmlen, in dhkem_extract_and_expand() argument 357 OSSL_DHKEM_LABEL_EAE_PRK, dhkm, dhkmlen) in dhkem_extract_and_expand() 572 size_t kemctxlen = 0, dhkmlen = 0; in derive_secret() local 580 dhkmlen = encodedprivlen; in derive_secret() 595 dhkm + dhkmlen, sizeof(dhkm) - dhkmlen, in derive_secret() 598 dhkmlen += encodedprivlen; in derive_secret() 614 info->kem_id, dhkm, dhkmlen, in derive_secret() 619 OPENSSL_cleanse(dhkm, dhkmlen); in derive_secret()
|
Completed in 12 milliseconds