Lines Matching refs:publen
447 const unsigned char *pub, size_t publen) in hpke_encap() argument
457 || pub == NULL || publen == 0) { in hpke_encap()
474 pub, publen); in hpke_encap()
478 ctx->propq, pub, publen); in hpke_encap()
960 const unsigned char *pub, size_t publen) in OSSL_HPKE_CTX_set1_authpub() argument
968 if (ctx == NULL || pub == NULL || publen == 0) { in OSSL_HPKE_CTX_set1_authpub()
988 pub, publen); in OSSL_HPKE_CTX_set1_authpub()
993 pub, publen); in OSSL_HPKE_CTX_set1_authpub()
1057 const unsigned char *pub, size_t publen, in OSSL_HPKE_encap() argument
1064 || pub == NULL || publen == 0) { in OSSL_HPKE_encap()
1090 if (hpke_encap(ctx, enc, enclen, pub, publen) != 1) { in OSSL_HPKE_encap()
1291 unsigned char *pub, size_t *publen, EVP_PKEY **priv, in OSSL_HPKE_keygen() argument
1301 if (pub == NULL || publen == NULL || *publen == 0 || priv == NULL) { in OSSL_HPKE_keygen()
1343 pub, *publen, publen) != 1) { in OSSL_HPKE_keygen()