Home
last modified time | relevance | path

Searched refs:rsasize (Results 1 – 2 of 2) sorted by relevance

/openssl/providers/implementations/asymciphers/
H A Drsa_enc.c183 int rsasize = RSA_size(prsactx->rsa); in rsa_encrypt() local
186 if ((tbuf = OPENSSL_malloc(rsasize)) == NULL) in rsa_encrypt()
198 rsasize, in, inlen, in rsa_encrypt()
208 ret = RSA_public_encrypt(rsasize, tbuf, out, prsactx->rsa, in rsa_encrypt()
/openssl/providers/implementations/signature/
H A Drsa_sig.c280 int mdsize, rsasize; in rsa_pss_compute_saltlen() local
286 if ((rsasize = RSA_size(ctx->rsa)) <= 2 || rsasize - 2 < mdsize) { in rsa_pss_compute_saltlen()
290 saltlen = rsasize - mdsize - 2; in rsa_pss_compute_saltlen()
681 size_t rsasize = RSA_size(prsactx->rsa); in rsa_sign_directly() local
688 *siglen = rsasize; in rsa_sign_directly()
692 if (sigsize < rsasize) { in rsa_sign_directly()
694 "is %zu, should be at least %zu", sigsize, rsasize); in rsa_sign_directly()

Completed in 15 milliseconds