Home
last modified time | relevance | path

Searched refs:sender_pub (Results 1 – 3 of 3) sorted by relevance

/openssl/providers/implementations/kem/
H A Dec_kem.c563 const unsigned char *sender_pub, in derive_secret() argument
605 memcpy(kemctx, sender_pub, info->Npk); in derive_secret()
648 unsigned char sender_pub[OSSL_HPKE_MAX_PUBLIC]; in dhkem_encap() local
676 if (!ecpubkey_todata(sender_ephemkey, sender_pub, &sender_publen, in dhkem_encap()
677 sizeof(sender_pub)) in dhkem_encap()
691 sender_pub, recipient_pub)) in dhkem_encap()
695 memcpy(enc, sender_pub, sender_publen); in dhkem_encap()
H A Decx_kem.c474 const unsigned char *sender_pub, in derive_secret() argument
508 memcpy(kemctx, sender_pub, encodedkeylen); in derive_secret()
/openssl/test/
H A Devp_pkey_dhkem_test.c515 unsigned char sender_pub[256]; in test_ec_noikme() local
518 size_t sender_publen = sizeof(sender_pub); in test_ec_noikme()
552 && TEST_int_eq(EVP_PKEY_encapsulate(ctx, sender_pub, &sender_publen, in test_ec_noikme()
561 sender_pub, sender_publen), 1) in test_ec_noikme()

Completed in 18 milliseconds