Lines Matching refs:tbs
678 const unsigned char *tbs, size_t tbslen) in rsa_sign_directly() argument
713 ret = RSA_sign_ASN1_OCTET_STRING(0, tbs, tbslen, sig, &sltmp, in rsa_sign_directly()
736 memcpy(prsactx->tbuf, tbs, tbslen); in rsa_sign_directly()
746 ret = RSA_sign(prsactx->mdnid, tbs, tbslen, sig, &sltmp, in rsa_sign_directly()
792 prsactx->tbuf, tbs, in rsa_sign_directly()
814 ret = RSA_private_encrypt(tbslen, tbs, sig, prsactx->rsa, in rsa_sign_directly()
889 size_t sigsize, const unsigned char *tbs, size_t tbslen) in rsa_sign() argument
908 return rsa_signverify_message_update(prsactx, tbs, tbslen) in rsa_sign()
911 return rsa_sign_directly(prsactx, sig, siglen, sigsize, tbs, tbslen); in rsa_sign()
1030 const unsigned char *tbs, size_t tbslen) in rsa_verify_directly() argument
1039 if (!RSA_verify(prsactx->mdnid, tbs, tbslen, sig, siglen, in rsa_verify_directly()
1079 ret = ossl_rsa_verify_PKCS1_PSS_mgf1(prsactx->rsa, tbs, in rsa_verify_directly()
1112 if ((rslen != tbslen) || memcmp(tbs, prsactx->tbuf, rslen)) in rsa_verify_directly()
1167 const unsigned char *tbs, size_t tbslen) in rsa_verify() argument
1180 && rsa_signverify_message_update(prsactx, tbs, tbslen) in rsa_verify()
1182 return rsa_verify_directly(prsactx, sig, siglen, tbs, tbslen); in rsa_verify()