/third_party/openssl/doc/man3/ |
D | RSA_public_encrypt.pod | 30 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 …]
|
D | RSA_size.pod | 5 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.
|
D | RSA_private_encrypt.pod | 33 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
|
D | BN_num_bytes.pod | 42 size" of such a key, either use functions like RSA_size(), DH_size() 50 L<RSA_size(3)>
|
D | RSA_sign_ASN1_OCTET_STRING.pod | 31 in B<siglen>. B<sigret> must point to B<RSA_size(rsa)> bytes of
|
D | RSA_sign.pod | 30 B<sigret> must point to RSA_size(B<rsa>) bytes of memory.
|
D | RSA_get0_key.pod | 170 L<RSA_new(3)>, L<RSA_size(3)>
|
/third_party/openssl/test/ |
D | rsa_mp_test.c | 147 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/ |
D | rsa_saos.c | 37 j = RSA_size(rsa); in RSA_sign_ASN1_OCTET_STRING() 69 if (siglen != (unsigned int)RSA_size(rsa)) { in RSA_verify_ASN1_OCTET_STRING()
|
D | rsa_pmeth.c | 115 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()
|
D | rsa_pss.c | 74 emLen = RSA_size(rsa); in RSA_verify_PKCS1_PSS_mgf1() 187 emLen = RSA_size(rsa); in RSA_padding_add_PKCS1_PSS_mgf1()
|
D | rsa_sign.c | 305 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()
|
D | rsa_crpt.c | 28 int RSA_size(const RSA *r) in RSA_size() function
|
D | rsa_gen.c | 496 ciphertxt_len = RSA_size(rsa); in rsa_keygen_pairwise_test()
|
/third_party/openssl/providers/implementations/signature/ |
D | rsa_sig.c | 161 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/ |
D | rsa_kem.c | 252 nlen = RSA_size(prsactx->rsa); in rsasve_generate() 299 nlen = RSA_size(prsactx->rsa); in rsasve_recover()
|
/third_party/openssl/providers/implementations/asymciphers/ |
D | rsa_enc.c | 145 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/ |
D | rsa.rs | 18 pub fn RSA_size(k: *const RSA) -> c_int; in RSA_size() function
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
D | rsa.rs | 287 #[corresponds(RSA_size)] 289 unsafe { ffi::RSA_size(self.as_ptr()) as u32 } in size()
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | openssl-x509.c | 587 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/ |
D | deprecation.pod | 117 RSA_size(), the following should be found very early (before including any
|
/third_party/openssl/crypto/pem/ |
D | pvkfmt.c | 633 nbyte = RSA_size(rsa); in check_bitlen_rsa() 669 nbyte = RSA_size(rsa); in write_rsa()
|
/third_party/openssl/ohos_lite/include/openssl/ |
D | rsa.h | 201 int RSA_size(const RSA *rsa);
|
/third_party/openssl/providers/implementations/keymgmt/ |
D | rsa_kmgmt.c | 345 && (empty || !OSSL_PARAM_set_int(p, RSA_size(rsa)))) in rsa_get_params()
|
/third_party/openssl/include/openssl/ |
D | rsa.h | 204 OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
|