Lines Matching refs:out_len
225 int RSA_encrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_encrypt() argument
228 return rsa->meth->encrypt(rsa, out_len, out, max_out, in, in_len, padding); in RSA_encrypt()
231 return rsa_default_encrypt(rsa, out_len, out, max_out, in, in_len, padding); in RSA_encrypt()
236 size_t out_len; in RSA_public_encrypt() local
238 if (!RSA_encrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_public_encrypt()
242 if (out_len > INT_MAX) { in RSA_public_encrypt()
246 return out_len; in RSA_public_encrypt()
249 int RSA_sign_raw(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_sign_raw() argument
252 return rsa->meth->sign_raw(rsa, out_len, out, max_out, in, in_len, padding); in RSA_sign_raw()
255 return rsa_default_sign_raw(rsa, out_len, out, max_out, in, in_len, padding); in RSA_sign_raw()
260 size_t out_len; in RSA_private_encrypt() local
262 if (!RSA_sign_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_private_encrypt()
266 if (out_len > INT_MAX) { in RSA_private_encrypt()
270 return out_len; in RSA_private_encrypt()
273 int RSA_decrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_decrypt() argument
276 return rsa->meth->decrypt(rsa, out_len, out, max_out, in, in_len, padding); in RSA_decrypt()
279 return rsa_default_decrypt(rsa, out_len, out, max_out, in, in_len, padding); in RSA_decrypt()
284 size_t out_len; in RSA_private_decrypt() local
286 if (!RSA_decrypt(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_private_decrypt()
290 if (out_len > INT_MAX) { in RSA_private_decrypt()
294 return out_len; in RSA_private_decrypt()
299 size_t out_len; in RSA_public_decrypt() local
301 if (!RSA_verify_raw(rsa, &out_len, to, RSA_size(rsa), from, flen, padding)) { in RSA_public_decrypt()
305 if (out_len > INT_MAX) { in RSA_public_decrypt()
309 return out_len; in RSA_public_decrypt()
464 unsigned *out_len, RSA *rsa) { in RSA_sign() argument
473 return rsa->meth->sign(hash_nid, in, in_len, out, out_len, rsa); in RSA_sign()
489 *out_len = size_t_out_len; in RSA_sign()