Home
last modified time | relevance | path

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

/openssl/providers/implementations/kem/
H A Decx_kem.c475 const unsigned char *recipient_pub) in derive_secret() argument
509 memcpy(kemctx + encodedkeylen, recipient_pub, encodedkeylen); in derive_secret()
551 unsigned char *sender_ephempub, *recipient_pub; in dhkem_encap() local
577 recipient_pub = ecx_pubkey(ctx->recipient_key); in dhkem_encap()
578 if (sender_ephempub == NULL || recipient_pub == NULL) in dhkem_encap()
584 sender_ephempub, recipient_pub)) in dhkem_encap()
621 unsigned char *recipient_pub; in dhkem_decap() local
641 recipient_pub = ecx_pubkey(recipient_privkey); in dhkem_decap()
642 if (recipient_pub == NULL) in dhkem_decap()
648 enc, recipient_pub)) in dhkem_decap()
H A Dec_kem.c564 const unsigned char *recipient_pub) in derive_secret() argument
606 memcpy(kemctx + info->Npk, recipient_pub, info->Npk); in derive_secret()
649 unsigned char recipient_pub[OSSL_HPKE_MAX_PUBLIC]; in dhkem_encap() local
678 || !ecpubkey_todata(ctx->recipient_key, recipient_pub, in dhkem_encap()
679 &recipient_publen, sizeof(recipient_pub))) in dhkem_encap()
691 sender_pub, recipient_pub)) in dhkem_encap()
727 unsigned char recipient_pub[OSSL_HPKE_MAX_PUBLIC]; in dhkem_decap() local
748 if (!ecpubkey_todata(ctx->recipient_key, recipient_pub, &recipient_publen, in dhkem_decap()
749 sizeof(recipient_pub))) in dhkem_decap()
759 enc, recipient_pub)) in dhkem_decap()

Completed in 9 milliseconds