Lines Matching refs:mdlen
388 size_t mdlen; in ed25519_sign() local
429 tbs, tbslen, md, &mdlen) in ed25519_sign()
430 || mdlen != EDDSA_PREHASH_OUTPUT_LEN) { in ed25519_sign()
435 tbslen = mdlen; in ed25519_sign()
496 size_t mdlen = sizeof(md); in ed448_sign() local
534 if (!ed448_shake256(peddsactx->libctx, NULL, tbs, tbslen, md, mdlen)) in ed448_sign()
537 tbslen = mdlen; in ed448_sign()
571 size_t mdlen; in ed25519_verify() local
594 tbs, tbslen, md, &mdlen) in ed25519_verify()
595 || mdlen != EDDSA_PREHASH_OUTPUT_LEN) { in ed25519_verify()
600 tbslen = mdlen; in ed25519_verify()
629 size_t mdlen = sizeof(md); in ed448_verify() local
649 if (!ed448_shake256(peddsactx->libctx, NULL, tbs, tbslen, md, mdlen)) in ed448_verify()
652 tbslen = mdlen; in ed448_verify()