Lines Matching defs:RSA_size
181 if (!RSA_encrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) {
202 if (!RSA_sign_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) {
223 if (!RSA_decrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) {
244 if (!RSA_verify_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) {
251 unsigned RSA_size(const RSA *rsa) {
407 const unsigned rsa_size = RSA_size(rsa);
423 if (rsa_size < RSA_PKCS1_PADDING_SIZE ||
424 signed_msg_len > rsa_size - RSA_PKCS1_PADDING_SIZE) {
429 if (RSA_sign_raw(rsa, &size_t_out_len, out, rsa_size, signed_msg,
444 const size_t rsa_size = RSA_size(rsa);
455 if (sig_len != rsa_size) {
465 buf = OPENSSL_malloc(rsa_size);
471 if (!RSA_verify_raw(rsa, &len, buf, rsa_size, sig, sig_len,