Lines Matching refs:siglen

143     size_t siglen;  member
677 unsigned char *sig, size_t *siglen, size_t sigsize, in rsa_sign_directly() argument
688 *siglen = rsasize; in rsa_sign_directly()
826 *siglen = ret; in rsa_sign_directly()
849 size_t *siglen, size_t sigsize) in rsa_sign_message_final() argument
881 return rsa_sign_directly(prsactx, sig, siglen, sigsize, digest, dlen); in rsa_sign_message_final()
888 static int rsa_sign(void *vprsactx, unsigned char *sig, size_t *siglen, in rsa_sign() argument
906 return rsa_sign_message_final(prsactx, sig, siglen, sigsize); in rsa_sign()
909 && rsa_sign_message_final(prsactx, sig, siglen, sigsize); in rsa_sign()
911 return rsa_sign_directly(prsactx, sig, siglen, sigsize, tbs, tbslen); in rsa_sign()
935 const unsigned char *sig, size_t siglen) in rsa_verify_recover() argument
953 ret = RSA_public_decrypt(siglen, sig, prsactx->tbuf, prsactx->rsa, in rsa_verify_recover()
988 sig, siglen, prsactx->rsa); in rsa_verify_recover()
1003 ret = RSA_public_decrypt(siglen, sig, rout, prsactx->rsa, in rsa_verify_recover()
1029 const unsigned char *sig, size_t siglen, in rsa_verify_directly() argument
1039 if (!RSA_verify(prsactx->mdnid, tbs, tbslen, sig, siglen, in rsa_verify_directly()
1049 sig, siglen) <= 0) in rsa_verify_directly()
1072 ret = RSA_public_decrypt(siglen, sig, prsactx->tbuf, in rsa_verify_directly()
1103 ret = RSA_public_decrypt(siglen, sig, prsactx->tbuf, prsactx->rsa, in rsa_verify_directly()
1119 const unsigned char *sig, size_t siglen) in rsa_verify_set_sig() argument
1126 (unsigned char *)sig, siglen); in rsa_verify_set_sig()
1157 return rsa_verify_directly(prsactx, prsactx->sig, prsactx->siglen, in rsa_verify_message_final()
1166 const unsigned char *sig, size_t siglen, in rsa_verify() argument
1179 return rsa_verify_set_sig(prsactx, sig, siglen) in rsa_verify()
1182 return rsa_verify_directly(prsactx, sig, siglen, tbs, tbslen); in rsa_verify()
1252 size_t *siglen, size_t sigsize) in rsa_digest_sign_final() argument
1263 if (rsa_sign_message_final(prsactx, sig, siglen, sigsize)) in rsa_digest_sign_final()
1296 size_t siglen) in rsa_digest_verify_final() argument
1307 if (rsa_verify_set_sig(prsactx, sig, siglen) in rsa_digest_verify_final()
2001 prsactx->siglen = 0; in rsa_sigalg_set_ctx_params()
2003 0, &prsactx->siglen)) in rsa_sigalg_set_ctx_params()