Home
last modified time | relevance | path

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

/openssl/crypto/hpke/
H A Dhpke.c451 size_t lsslen = 0, lenclen = 0; in hpke_encap() local
511 if (EVP_PKEY_encapsulate(pctx, NULL, &lenclen, NULL, &lsslen) != 1) { in hpke_encap()
519 ctx->shared_secret = OPENSSL_malloc(lsslen); in hpke_encap()
522 ctx->shared_secretlen = lsslen; in hpke_encap()
555 size_t lsslen = 0; in hpke_decap() local
610 if (EVP_PKEY_decapsulate(pctx, NULL, &lsslen, enc, enclen) != 1) { in hpke_decap()
614 ctx->shared_secret = OPENSSL_malloc(lsslen); in hpke_decap()
617 if (EVP_PKEY_decapsulate(pctx, ctx->shared_secret, &lsslen, in hpke_decap()
622 ctx->shared_secretlen = lsslen; in hpke_decap()

Completed in 6 milliseconds