Home
last modified time | relevance | path

Searched refs:RSA_size (Results 1 – 25 of 28) sorted by relevance

12

/openssl/doc/man3/
H A DRSA_public_encrypt.pod30 B<to>. B<to> must point to RSA_size(B<rsa>) bytes of memory.
55 When encrypting B<flen> must not be more than RSA_size(B<rsa>) - 11 for the
56 PKCS #1 v1.5 based padding modes, not more than RSA_size(B<rsa>) - 42 for
57 RSA_PKCS1_OAEP_PADDING and exactly RSA_size(B<rsa>) for RSA_NO_PADDING.
63 RSA_size(B<rsa>) bytes.
68 be equal to RSA_size(B<rsa>) but may be smaller, when leading zero
72 data (which is equal to RSA_size(B<rsa>) for RSA_NO_PADDING,
73 RSA_size(B<rsa>) - 11 for the PKCS #1 v1.5 based padding modes and
74 RSA_size(B<rsa>) - 42 for RSA_PKCS1_OAEP_PADDING).
81 RSA_size(B<rsa>)). RSA_private_decrypt() returns the size of the
[all …]
H A DRSA_size.pod5 RSA_size, RSA_bits, RSA_security_bits - get RSA modulus size or security bits
17 int RSA_size(const RSA *rsa);
31 RSA_size() returns the RSA modulus size in bytes. It can be used to
42 RSA_size() returns the size of modulus in bytes.
52 The RSA_size() and RSA_security_bits() functions were deprecated in OpenSSL 3.0.
H A DRSA_private_encrypt.pod33 B<RSA_size(rsa)> bytes of memory.
57 message digest (which is smaller than B<RSA_size(rsa) -
63 RSA_size(rsa)). RSA_public_decrypt() returns the size of the
H A DBN_num_bytes.pod42 size" of such a key, either use functions like RSA_size(), DH_size()
50 L<RSA_size(3)>
H A DRSA_sign_ASN1_OCTET_STRING.pod31 in B<siglen>. B<sigret> must point to B<RSA_size(rsa)> bytes of
H A DRSA_sign.pod30 B<sigret> must point to RSA_size(B<rsa>) bytes of memory.
H A DRSA_get0_key.pod170 L<RSA_new(3)>, L<RSA_size(3)>
H A DRSA_meth_new.pod249 L<RSA_set_method(3)>, L<RSA_size(3)>, L<RSA_get0_key(3)>,
/openssl/crypto/rsa/
H A Drsa_saos.c37 j = RSA_size(rsa); in RSA_sign_ASN1_OCTET_STRING()
67 if (siglen != (unsigned int)RSA_size(rsa)) { in RSA_verify_ASN1_OCTET_STRING()
H A Drsa_pmeth.c119 OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pk->pkey)))) == NULL) in setup_tbuf()
171 if ((size_t)RSA_size(rsa) < tbslen + 1) { in pkey_rsa_sign()
198 ret = RSA_private_encrypt(RSA_size(rsa), rctx->tbuf, in pkey_rsa_sign()
341 int klen = RSA_size(rsa); in pkey_rsa_encrypt()
891 max_saltlen = RSA_size(rsa) - md_size; in pkey_pss_init()
H A Drsa_sign.c319 if (encoded_len + RSA_PKCS1_PADDING_SIZE > (size_t)RSA_size(rsa)) { in RSA_sign()
353 if (siglen != (size_t)RSA_size(rsa)) { in ossl_rsa_verify()
H A Drsa_pss.c83 emLen = RSA_size(rsa); in ossl_rsa_verify_PKCS1_PSS_mgf1()
221 emLen = RSA_size(rsa); in ossl_rsa_padding_add_PKCS1_PSS_mgf1()
H A Drsa_crpt.c28 int RSA_size(const RSA *r) in RSA_size() function
H A Drsa_gen.c701 plaintxt_len = RSA_size(rsa); in rsa_keygen_pairwise_test()
H A Drsa_ameth.c187 return RSA_size(pkey->pkey.rsa); in int_rsa_size()
/openssl/test/
H A Drsa_mp_test.c147 return RSA_size(key); in key2048_key()
153 int rv = RSA_size(key); in key2048p3_v1()
204 int rv = RSA_size(key); in key2048p3_v2()
H A Drsa_test.c663 if (!TEST_int_ge((int)sizeof(sig), RSA_size(rsa_priv))) in test_rsa_saos()
/openssl/providers/implementations/signature/
H A Drsa_sig.c215 max_saltlen = RSA_size(prsactx->rsa) - EVP_MD_get_size(prsactx->md); in rsa_check_parameters()
286 if ((rsasize = RSA_size(ctx->rsa)) <= 2 || rsasize - 2 < mdsize) { in rsa_pss_compute_saltlen()
614 if ((ctx->tbuf = OPENSSL_malloc(RSA_size(ctx->rsa))) == NULL) in setup_tbuf()
622 OPENSSL_cleanse(ctx->tbuf, RSA_size(ctx->rsa)); in clean_tbuf()
681 size_t rsasize = RSA_size(prsactx->rsa); in rsa_sign_directly()
726 if ((size_t)RSA_size(prsactx->rsa) < tbslen + 1) { in rsa_sign_directly()
729 RSA_size(prsactx->rsa), tbslen + 1); in rsa_sign_directly()
802 ret = RSA_private_encrypt(RSA_size(prsactx->rsa), prsactx->tbuf, in rsa_sign_directly()
944 *routlen = RSA_size(prsactx->rsa); in rsa_verify_recover()
/openssl/providers/implementations/kem/
H A Drsa_kem.c274 nlen = RSA_size(prsactx->rsa); in rsasve_generate()
321 nlen = RSA_size(prsactx->rsa); in rsasve_recover()
/openssl/providers/implementations/asymciphers/
H A Drsa_enc.c172 size_t len = RSA_size(prsactx->rsa); in rsa_encrypt()
183 int rsasize = RSA_size(prsactx->rsa); in rsa_encrypt()
228 size_t len = RSA_size(prsactx->rsa); in rsa_decrypt()
/openssl/doc/internal/man7/
H A Ddeprecation.pod118 RSA_size(), the following should be found very early (before including any
/openssl/crypto/pem/
H A Dpvkfmt.c645 nbyte = RSA_size(rsa); in check_bitlen_rsa()
681 nbyte = RSA_size(rsa); in write_rsa()
/openssl/providers/implementations/keymgmt/
H A Drsa_kmgmt.c345 && (empty || !OSSL_PARAM_set_int(p, RSA_size(rsa)))) in rsa_get_params()
/openssl/include/openssl/
H A Drsa.h215 OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
/openssl/engines/
H A De_capi.c919 slen = RSA_size(rsa); in capi_rsa_sign()

Completed in 78 milliseconds

12