Lines Matching refs:publen
33 const unsigned char *pub, size_t publen,
41 unsigned char *pub, size_t *publen, EVP_PKEY **priv,
59 unsigned char *pub, size_t publen);
257 I<pub> of size I<publen>, and an optional I<info> parameter of size I<infolen>,
299 for the private value I<priv> and a encoded public key I<pub> of size I<publen>.
300 On input I<publen> should contain the maximum size of the I<pub> buffer, and
301 returns the output size. An error will occur if the input I<publen> is too small.
363 encoded pub key I<pub> of size I<publen> into the B<OSSL_HPKE_CTX> I<ctx> before
497 size_t publen = sizeof(pub);
515 if (OSSL_HPKE_keygen(hpke_suite, pub, &publen, &priv,
524 if (OSSL_HPKE_encap(sctx, enc, &enclen, pub, publen, info, infolen) != 1)