Lines Matching refs:tbs

35                                     const unsigned char *tbs, size_t tbslen);
37 const unsigned char *tbs, size_t tbslen);
40 const unsigned char *tbs, size_t tbslen);
43 const unsigned char *tbs, size_t tbslen);
383 const unsigned char *tbs, size_t tbslen) in ed25519_sign() argument
417 if (s390x_ed25519_digestsign(edkey, sigret, tbs, tbslen) == 0) { in ed25519_sign()
429 tbs, tbslen, md, &mdlen) in ed25519_sign()
434 tbs = md; in ed25519_sign()
447 if (ossl_ed25519_sign(sigret, tbs, tbslen, edkey->pubkey, edkey->privkey, in ed25519_sign()
491 const unsigned char *tbs, size_t tbslen) in ed448_sign() argument
523 if (s390x_ed448_digestsign(edkey, sigret, tbs, tbslen) == 0) { in ed448_sign()
534 if (!ed448_shake256(peddsactx->libctx, NULL, tbs, tbslen, md, mdlen)) in ed448_sign()
536 tbs = md; in ed448_sign()
549 if (ossl_ed448_sign(peddsactx->libctx, sigret, tbs, tbslen, in ed448_sign()
566 const unsigned char *tbs, size_t tbslen) in ed25519_verify() argument
588 return s390x_ed25519_digestverify(edkey, sig, tbs, tbslen); in ed25519_verify()
594 tbs, tbslen, md, &mdlen) in ed25519_verify()
599 tbs = md; in ed25519_verify()
612 return ossl_ed25519_verify(tbs, tbslen, sig, edkey->pubkey, in ed25519_verify()
624 const unsigned char *tbs, size_t tbslen) in ed448_verify() argument
644 return s390x_ed448_digestverify(edkey, sig, tbs, tbslen); in ed448_verify()
649 if (!ed448_shake256(peddsactx->libctx, NULL, tbs, tbslen, md, mdlen)) in ed448_verify()
651 tbs = md; in ed448_verify()
664 return ossl_ed448_verify(peddsactx->libctx, tbs, tbslen, sig, edkey->pubkey, in ed448_verify()
693 const unsigned char *tbs, size_t tbslen) in ed25519_digest_sign() argument
695 return ed25519_sign(vpeddsactx, sigret, siglen, sigsize, tbs, tbslen); in ed25519_digest_sign()
700 const unsigned char *tbs, size_t tbslen) in ed25519_digest_verify() argument
702 return ed25519_verify(vpeddsactx, sigret, siglen, tbs, tbslen); in ed25519_digest_verify()
727 const unsigned char *tbs, size_t tbslen) in ed448_digest_sign() argument
729 return ed448_sign(vpeddsactx, sigret, siglen, sigsize, tbs, tbslen); in ed448_digest_sign()
734 const unsigned char *tbs, size_t tbslen) in ed448_digest_verify() argument
736 return ed448_verify(vpeddsactx, sigret, siglen, tbs, tbslen); in ed448_digest_verify()
1048 const unsigned char *tbs, size_t tbslen) in s390x_ed25519_digestsign() argument
1062 rc = s390x_kdsa(S390X_EDDSA_SIGN_ED25519, &param.ed25519, tbs, tbslen); in s390x_ed25519_digestsign()
1073 const unsigned char *tbs, size_t tbslen) in s390x_ed448_digestsign() argument
1087 rc = s390x_kdsa(S390X_EDDSA_SIGN_ED448, &param.ed448, tbs, tbslen); in s390x_ed448_digestsign()
1101 const unsigned char *tbs, size_t tbslen) in s390x_ed25519_digestverify() argument
1117 &param.ed25519, tbs, tbslen) == 0 ? 1 : 0; in s390x_ed25519_digestverify()
1122 const unsigned char *tbs, in s390x_ed448_digestverify() argument
1142 &param.ed448, tbs, tbslen) == 0 ? 1 : 0; in s390x_ed448_digestverify()