Searched refs:dhkm (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() 480 unsigned char dhkm[MAX_ECX_KEYLEN * 2]; in derive_secret() local 487 if (!generate_ecxdhkm(privkey1, peerkey1, dhkm, sizeof(dhkm), encodedkeylen)) in derive_secret() 494 dhkm + dhkmlen, sizeof(dhkm) - 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() 569 unsigned char dhkm[OSSL_HPKE_MAX_PRIVATE * 2]; in derive_secret() local 578 if (!generate_ecdhkm(privkey1, peerkey1, dhkm, sizeof(dhkm), encodedprivlen)) in derive_secret() 595 dhkm + dhkmlen, sizeof(dhkm) - dhkmlen, in derive_secret() 614 info->kem_id, dhkm, dhkmlen, in derive_secret() 619 OPENSSL_cleanse(dhkm, dhkmlen); in derive_secret()
|
Completed in 8 milliseconds