Lines Matching refs:secretlen
547 unsigned char *secret, size_t *secretlen) in dhkem_encap() argument
555 if (enclen == NULL && secretlen == NULL) in dhkem_encap()
559 if (secretlen != NULL) in dhkem_encap()
560 *secretlen = info->Nsecret; in dhkem_encap()
564 if (*secretlen < info->Nsecret) { in dhkem_encap()
590 *secretlen = info->Nsecret; in dhkem_encap()
614 unsigned char *secret, size_t *secretlen, in dhkem_decap() argument
624 *secretlen = info->Nsecret; in dhkem_decap()
627 if (*secretlen < info->Nsecret) { in dhkem_decap()
651 *secretlen = info->Nsecret; in dhkem_decap()
659 unsigned char *secret, size_t *secretlen) in ecxkem_encapsulate() argument
665 return dhkem_encap(ctx, out, outlen, secret, secretlen); in ecxkem_encapsulate()