Home
last modified time | relevance | path

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

12

/third_party/openssl/doc/man3/
DRSA_public_encrypt.pod30 B<to>. B<to> must point to RSA_size(B<rsa>) bytes of memory.
55 B<flen> must not be more than RSA_size(B<rsa>) - 11 for the PKCS #1 v1.5
56 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 …]
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.
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
DBN_num_bytes.pod42 size" of such a key, either use functions like RSA_size(), DH_size()
50 L<RSA_size(3)>
DRSA_sign_ASN1_OCTET_STRING.pod31 in B<siglen>. B<sigret> must point to B<RSA_size(rsa)> bytes of
DRSA_sign.pod30 B<sigret> must point to RSA_size(B<rsa>) bytes of memory.
DRSA_get0_key.pod170 L<RSA_new(3)>, L<RSA_size(3)>
/third_party/openssl/test/
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()
/third_party/openssl/crypto/rsa/
Drsa_saos.c37 j = RSA_size(rsa); in RSA_sign_ASN1_OCTET_STRING()
69 if (siglen != (unsigned int)RSA_size(rsa)) { in RSA_verify_ASN1_OCTET_STRING()
Drsa_pmeth.c115 OPENSSL_malloc(RSA_size(EVP_PKEY_get0_RSA(pk->pkey)))) == NULL) { in setup_tbuf()
162 if ((size_t)RSA_size(rsa) < tbslen + 1) { in pkey_rsa_sign()
189 ret = RSA_private_encrypt(RSA_size(rsa), rctx->tbuf, in pkey_rsa_sign()
326 int klen = RSA_size(rsa); in pkey_rsa_encrypt()
847 max_saltlen = RSA_size(rsa) - EVP_MD_get_size(md); in pkey_pss_init()
Drsa_pss.c74 emLen = RSA_size(rsa); in RSA_verify_PKCS1_PSS_mgf1()
187 emLen = RSA_size(rsa); in RSA_padding_add_PKCS1_PSS_mgf1()
Drsa_sign.c305 if (encoded_len + RSA_PKCS1_PADDING_SIZE > (size_t)RSA_size(rsa)) { in RSA_sign()
339 if (siglen != (size_t)RSA_size(rsa)) { in ossl_rsa_verify()
Drsa_crpt.c28 int RSA_size(const RSA *r) in RSA_size() function
Drsa_gen.c496 ciphertxt_len = RSA_size(rsa); in rsa_keygen_pairwise_test()
/third_party/openssl/providers/implementations/signature/
Drsa_sig.c161 max_saltlen = RSA_size(prsactx->rsa) - EVP_MD_get_size(prsactx->md); in rsa_check_parameters()
205 saltlen = RSA_size(ctx->rsa) - EVP_MD_get_size(ctx->md) - 2; in rsa_pss_compute_saltlen()
487 if ((ctx->tbuf = OPENSSL_malloc(RSA_size(ctx->rsa))) == NULL) { in setup_tbuf()
497 OPENSSL_cleanse(ctx->tbuf, RSA_size(ctx->rsa)); in clean_tbuf()
519 size_t rsasize = RSA_size(prsactx->rsa); in rsa_sign()
564 if ((size_t)RSA_size(prsactx->rsa) < tbslen + 1) { in rsa_sign()
567 RSA_size(prsactx->rsa), tbslen + 1); in rsa_sign()
633 ret = RSA_private_encrypt(RSA_size(prsactx->rsa), prsactx->tbuf, in rsa_sign()
683 *routlen = RSA_size(prsactx->rsa); in rsa_verify_recover()
/third_party/openssl/providers/implementations/kem/
Drsa_kem.c252 nlen = RSA_size(prsactx->rsa); in rsasve_generate()
299 nlen = RSA_size(prsactx->rsa); in rsasve_recover()
/third_party/openssl/providers/implementations/asymciphers/
Drsa_enc.c145 size_t len = RSA_size(prsactx->rsa); in rsa_encrypt()
156 int rsasize = RSA_size(prsactx->rsa); in rsa_encrypt()
200 size_t len = RSA_size(prsactx->rsa); in rsa_decrypt()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Drsa.rs18 pub fn RSA_size(k: *const RSA) -> c_int; in RSA_size() function
/third_party/rust/crates/rust-openssl/openssl/src/
Drsa.rs287 #[corresponds(RSA_size)]
289 unsafe { ffi::RSA_size(self.as_ptr()) as u32 } in size()
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-x509.c587 if ((size_t)RSA_size(rsapub) * 8 < (size_t)rsa_min_bits) { in lws_x509_public_to_jwk()
589 __func__, RSA_size(rsapub) * 8, rsa_min_bits); in lws_x509_public_to_jwk()
/third_party/openssl/doc/internal/man7/
Ddeprecation.pod117 RSA_size(), the following should be found very early (before including any
/third_party/openssl/crypto/pem/
Dpvkfmt.c633 nbyte = RSA_size(rsa); in check_bitlen_rsa()
669 nbyte = RSA_size(rsa); in write_rsa()
/third_party/openssl/ohos_lite/include/openssl/
Drsa.h201 int RSA_size(const RSA *rsa);
/third_party/openssl/providers/implementations/keymgmt/
Drsa_kmgmt.c345 && (empty || !OSSL_PARAM_set_int(p, RSA_size(rsa)))) in rsa_get_params()
/third_party/openssl/include/openssl/
Drsa.h204 OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);

12