/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/fipsmodule/rsa/ |
H A D | rsa.c | 98 RSA *rsa = RSA_new(); in RSA_new_public_key() local 113 RSA *rsa = RSA_new(); in RSA_new_private_key() local 133 RSA *rsa = RSA_new(); in RSA_new_private_key_no_crt() local 147 RSA *rsa = RSA_new(); in RSA_new_private_key_no_e() local 164 RSA *rsa = RSA_new(); in RSA_new_public_key_large_e() local 184 RSA *rsa = RSA_new(); in RSA_new_private_key_large_e() local 209 RSA *rsa = OPENSSL_zalloc(sizeof(RSA)); in RSA_new_method() local 240 RSA *rsa = RSA_new_method(engine); in RSA_new_method_no_e() local 250 void RSA_free(RSA *rsa) { in RSA_free() 279 int RSA_up_ref(RSA *rsa) { in RSA_up_ref() [all …]
|
H A D | rsa_impl.c | 76 int rsa_check_public_key(const RSA *rsa) { in rsa_check_public_key() 167 static int freeze_private_key(RSA *rsa, BN_CTX *ctx) { in freeze_private_key() 275 void rsa_invalidate_key(RSA *rsa) { in rsa_invalidate_key() 305 size_t rsa_default_size(const RSA *rsa) { in rsa_default_size() 326 static BN_BLINDING *rsa_blinding_get(RSA *rsa, size_t *index_used, in rsa_blinding_get() 424 static void rsa_blinding_release(RSA *rsa, BN_BLINDING *blinding, in rsa_blinding_release() 438 int rsa_default_sign_raw(RSA *rsa, size_t *out_len, uint8_t *out, in rsa_default_sign_raw() 488 int rsa_verify_raw_no_self_test(RSA *rsa, size_t *out_len, uint8_t *out, in rsa_verify_raw_no_self_test() 585 int RSA_verify_raw(RSA *rsa, size_t *out_len, uint8_t *out, in RSA_verify_raw() 593 int rsa_default_private_transform(RSA *rsa, uint8_t *out, const uint8_t *in, in rsa_default_private_transform() [all …]
|
/aosp_15_r20/external/boringssl/src/crypto/fipsmodule/rsa/ |
H A D | rsa.c | 98 RSA *rsa = RSA_new(); in RSA_new_public_key() local 113 RSA *rsa = RSA_new(); in RSA_new_private_key() local 133 RSA *rsa = RSA_new(); in RSA_new_private_key_no_crt() local 147 RSA *rsa = RSA_new(); in RSA_new_private_key_no_e() local 164 RSA *rsa = RSA_new(); in RSA_new_public_key_large_e() local 184 RSA *rsa = RSA_new(); in RSA_new_private_key_large_e() local 209 RSA *rsa = OPENSSL_zalloc(sizeof(RSA)); in RSA_new_method() local 240 RSA *rsa = RSA_new_method(engine); in RSA_new_method_no_e() local 250 void RSA_free(RSA *rsa) { in RSA_free() 279 int RSA_up_ref(RSA *rsa) { in RSA_up_ref() [all …]
|
H A D | rsa_impl.c | 76 int rsa_check_public_key(const RSA *rsa) { in rsa_check_public_key() 167 static int freeze_private_key(RSA *rsa, BN_CTX *ctx) { in freeze_private_key() 275 void rsa_invalidate_key(RSA *rsa) { in rsa_invalidate_key() 305 size_t rsa_default_size(const RSA *rsa) { in rsa_default_size() 326 static BN_BLINDING *rsa_blinding_get(RSA *rsa, size_t *index_used, in rsa_blinding_get() 424 static void rsa_blinding_release(RSA *rsa, BN_BLINDING *blinding, in rsa_blinding_release() 438 int rsa_default_sign_raw(RSA *rsa, size_t *out_len, uint8_t *out, in rsa_default_sign_raw() 488 int rsa_verify_raw_no_self_test(RSA *rsa, size_t *out_len, uint8_t *out, in rsa_verify_raw_no_self_test() 585 int RSA_verify_raw(RSA *rsa, size_t *out_len, uint8_t *out, in RSA_verify_raw() 593 int rsa_default_private_transform(RSA *rsa, uint8_t *out, const uint8_t *in, in rsa_default_private_transform() [all …]
|
/aosp_15_r20/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa.c | 88 RSA *rsa = OPENSSL_malloc(sizeof(RSA)); in RSA_new_method() local 121 void RSA_free(RSA *rsa) { in RSA_free() 163 int RSA_up_ref(RSA *rsa) { in RSA_up_ref() 168 unsigned RSA_bits(const RSA *rsa) { return BN_num_bits(rsa->n); } in RSA_bits() 170 const BIGNUM *RSA_get0_n(const RSA *rsa) { return rsa->n; } in RSA_get0_n() 172 const BIGNUM *RSA_get0_e(const RSA *rsa) { return rsa->e; } in RSA_get0_e() 174 const BIGNUM *RSA_get0_d(const RSA *rsa) { return rsa->d; } in RSA_get0_d() 176 const BIGNUM *RSA_get0_p(const RSA *rsa) { return rsa->p; } in RSA_get0_p() 178 const BIGNUM *RSA_get0_q(const RSA *rsa) { return rsa->q; } in RSA_get0_q() 180 const BIGNUM *RSA_get0_dmp1(const RSA *rsa) { return rsa->dmp1; } in RSA_get0_dmp1() [all …]
|
D | rsa_impl.c | 76 int rsa_check_public_key(const RSA *rsa) { in rsa_check_public_key() 141 static int freeze_private_key(RSA *rsa, BN_CTX *ctx) { in freeze_private_key() 258 size_t rsa_default_size(const RSA *rsa) { in rsa_default_size() 262 int RSA_encrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_encrypt() 366 static BN_BLINDING *rsa_blinding_get(RSA *rsa, unsigned *index_used, in rsa_blinding_get() 467 static void rsa_blinding_release(RSA *rsa, BN_BLINDING *blinding, in rsa_blinding_release() 481 int rsa_default_sign_raw(RSA *rsa, size_t *out_len, uint8_t *out, in rsa_default_sign_raw() 529 int rsa_default_decrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in rsa_default_decrypt() 596 int RSA_verify_raw(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_verify_raw() 689 int rsa_default_private_transform(RSA *rsa, uint8_t *out, const uint8_t *in, in rsa_default_private_transform() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/ |
D | rsa.c | 88 RSA *rsa = OPENSSL_malloc(sizeof(RSA)); in RSA_new_method() local 121 void RSA_free(RSA *rsa) { in RSA_free() 163 int RSA_up_ref(RSA *rsa) { in RSA_up_ref() 168 unsigned RSA_bits(const RSA *rsa) { return BN_num_bits(rsa->n); } in RSA_bits() 170 const BIGNUM *RSA_get0_n(const RSA *rsa) { return rsa->n; } in RSA_get0_n() 172 const BIGNUM *RSA_get0_e(const RSA *rsa) { return rsa->e; } in RSA_get0_e() 174 const BIGNUM *RSA_get0_d(const RSA *rsa) { return rsa->d; } in RSA_get0_d() 176 const BIGNUM *RSA_get0_p(const RSA *rsa) { return rsa->p; } in RSA_get0_p() 178 const BIGNUM *RSA_get0_q(const RSA *rsa) { return rsa->q; } in RSA_get0_q() 180 const BIGNUM *RSA_get0_dmp1(const RSA *rsa) { return rsa->dmp1; } in RSA_get0_dmp1() [all …]
|
D | rsa_impl.c | 76 int rsa_check_public_key(const RSA *rsa) { in rsa_check_public_key() 141 static int freeze_private_key(RSA *rsa, BN_CTX *ctx) { in freeze_private_key() 258 size_t rsa_default_size(const RSA *rsa) { in rsa_default_size() 262 int RSA_encrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_encrypt() 366 static BN_BLINDING *rsa_blinding_get(RSA *rsa, unsigned *index_used, in rsa_blinding_get() 467 static void rsa_blinding_release(RSA *rsa, BN_BLINDING *blinding, in rsa_blinding_release() 481 int rsa_default_sign_raw(RSA *rsa, size_t *out_len, uint8_t *out, in rsa_default_sign_raw() 529 int rsa_default_decrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in rsa_default_decrypt() 596 int RSA_verify_raw(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_verify_raw() 689 int rsa_default_private_transform(RSA *rsa, uint8_t *out, const uint8_t *in, in rsa_default_private_transform() [all …]
|
/aosp_15_r20/external/rust/crates/quiche/deps/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 468 bssl::UniquePtr<RSA> rsa( in TEST() local 483 bssl::UniquePtr<RSA> rsa( in TEST() local 496 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 592 bssl::UniquePtr<RSA> rsa( in TEST() local 636 bssl::UniquePtr<RSA> rsa( in TEST() local 644 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 662 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 684 bssl::UniquePtr<RSA> rsa( in TEST() local 763 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 908 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local [all …]
|
D | rsa_asn1.c | 126 int RSA_marshal_public_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_public_key() 139 const RSA *rsa) { in RSA_public_key_to_bytes() 215 int RSA_marshal_private_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_private_key() 235 const RSA *rsa) { in RSA_private_key_to_bytes() 304 RSA *RSAPublicKey_dup(const RSA *rsa) { in RSAPublicKey_dup() 315 RSA *RSAPrivateKey_dup(const RSA *rsa) { in RSAPrivateKey_dup()
|
/aosp_15_r20/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/rsa_extra/ |
D | rsa_test.cc | 468 bssl::UniquePtr<RSA> rsa( in TEST() local 483 bssl::UniquePtr<RSA> rsa( in TEST() local 496 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 592 bssl::UniquePtr<RSA> rsa( in TEST() local 636 bssl::UniquePtr<RSA> rsa( in TEST() local 644 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 662 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 684 bssl::UniquePtr<RSA> rsa( in TEST() local 763 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 908 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local [all …]
|
D | rsa_asn1.c | 126 int RSA_marshal_public_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_public_key() 139 const RSA *rsa) { in RSA_public_key_to_bytes() 215 int RSA_marshal_private_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_private_key() 235 const RSA *rsa) { in RSA_private_key_to_bytes() 304 RSA *RSAPublicKey_dup(const RSA *rsa) { in RSAPublicKey_dup() 315 RSA *RSAPrivateKey_dup(const RSA *rsa) { in RSAPrivateKey_dup()
|
/aosp_15_r20/external/boringssl/src/crypto/rsa_extra/ |
H A D | rsa_test.cc | 578 bssl::UniquePtr<RSA> rsa(RSA_private_key_from_bytes(kKey2, sizeof(kKey2))); in TEST() local 593 bssl::UniquePtr<RSA> rsa(RSA_private_key_from_bytes(kKey1, sizeof(kKey1))); in TEST() local 605 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 657 bssl::UniquePtr<RSA> rsa(RSA_private_key_from_bytes(kKey1, sizeof(kKey1))); in TEST() local 700 bssl::UniquePtr<RSA> rsa( in TEST() local 708 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 725 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 747 bssl::UniquePtr<RSA> rsa( in TEST() local 808 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 953 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local [all …]
|
H A D | rsa_asn1.c | 126 int RSA_marshal_public_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_public_key() 139 const RSA *rsa) { in RSA_public_key_to_bytes() 215 int RSA_marshal_private_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_private_key() 235 const RSA *rsa) { in RSA_private_key_to_bytes() 304 RSA *RSAPublicKey_dup(const RSA *rsa) { in RSAPublicKey_dup() 315 RSA *RSAPrivateKey_dup(const RSA *rsa) { in RSAPrivateKey_dup()
|
H A D | rsa_crypt.c | 349 int RSA_public_encrypt(size_t flen, const uint8_t *from, uint8_t *to, RSA *rsa, in RSA_public_encrypt() 364 int RSA_private_encrypt(size_t flen, const uint8_t *from, uint8_t *to, RSA *rsa, in RSA_private_encrypt() 379 int RSA_encrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_encrypt() 470 static int rsa_default_decrypt(RSA *rsa, size_t *out_len, uint8_t *out, in rsa_default_decrypt() 535 int RSA_decrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_decrypt() 544 int RSA_private_decrypt(size_t flen, const uint8_t *from, uint8_t *to, RSA *rsa, in RSA_private_decrypt() 558 int RSA_public_decrypt(size_t flen, const uint8_t *from, uint8_t *to, RSA *rsa, in RSA_public_decrypt()
|
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/rsa_extra/ |
H A D | rsa_test.cc | 578 bssl::UniquePtr<RSA> rsa(RSA_private_key_from_bytes(kKey2, sizeof(kKey2))); in TEST() local 593 bssl::UniquePtr<RSA> rsa(RSA_private_key_from_bytes(kKey1, sizeof(kKey1))); in TEST() local 605 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 657 bssl::UniquePtr<RSA> rsa(RSA_private_key_from_bytes(kKey1, sizeof(kKey1))); in TEST() local 700 bssl::UniquePtr<RSA> rsa( in TEST() local 708 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 725 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 747 bssl::UniquePtr<RSA> rsa( in TEST() local 808 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local 953 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local [all …]
|
H A D | rsa_asn1.c | 126 int RSA_marshal_public_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_public_key() 139 const RSA *rsa) { in RSA_public_key_to_bytes() 215 int RSA_marshal_private_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_private_key() 235 const RSA *rsa) { in RSA_private_key_to_bytes() 304 RSA *RSAPublicKey_dup(const RSA *rsa) { in RSAPublicKey_dup() 315 RSA *RSAPrivateKey_dup(const RSA *rsa) { in RSAPrivateKey_dup()
|
H A D | rsa_crypt.c | 349 int RSA_public_encrypt(size_t flen, const uint8_t *from, uint8_t *to, RSA *rsa, in RSA_public_encrypt() 364 int RSA_private_encrypt(size_t flen, const uint8_t *from, uint8_t *to, RSA *rsa, in RSA_private_encrypt() 379 int RSA_encrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_encrypt() 470 static int rsa_default_decrypt(RSA *rsa, size_t *out_len, uint8_t *out, in rsa_default_decrypt() 535 int RSA_decrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_decrypt() 544 int RSA_private_decrypt(size_t flen, const uint8_t *from, uint8_t *to, RSA *rsa, in RSA_private_decrypt() 558 int RSA_public_decrypt(size_t flen, const uint8_t *from, uint8_t *to, RSA *rsa, in RSA_public_decrypt()
|
/aosp_15_r20/external/mbedtls/library/ |
H A D | psa_crypto_rsa.c | 44 const mbedtls_rsa_context *rsa) in psa_check_rsa_key_byte_aligned() 129 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_rsa_import_key() local 165 mbedtls_rsa_context *rsa, in mbedtls_psa_rsa_export_key() 214 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_rsa_export_public_key() local 270 mbedtls_rsa_context rsa; in mbedtls_psa_rsa_generate_key() local 345 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_rsa_sign_hash() local 416 const mbedtls_rsa_context *rsa, in rsa_pss_expected_salt_len() 444 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_rsa_verify_hash() local 522 mbedtls_rsa_context *rsa) in psa_rsa_oaep_set_padding_mode() 563 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_asymmetric_encrypt() local [all …]
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/ |
H A D | psa_crypto_rsa.c | 43 const mbedtls_rsa_context *rsa) in psa_check_rsa_key_byte_aligned() 116 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_rsa_import_key() local 152 mbedtls_rsa_context *rsa, in mbedtls_psa_rsa_export_key() 196 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_rsa_export_public_key() local 248 mbedtls_rsa_context rsa; in mbedtls_psa_rsa_generate_key() local 324 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_rsa_sign_hash() local 395 const mbedtls_rsa_context *rsa, in rsa_pss_expected_salt_len() 423 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_rsa_verify_hash() local 501 mbedtls_rsa_context *rsa) in psa_rsa_oaep_set_padding_mode() 542 mbedtls_rsa_context *rsa = NULL; in mbedtls_psa_asymmetric_encrypt() local [all …]
|
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/evp/ |
H A D | p_rsa_asn1.c | 71 const RSA *rsa = key->pkey; in rsa_pub_encode() local 101 RSA *rsa = RSA_parse_public_key(key); in rsa_pub_decode() local 120 const RSA *rsa = key->pkey; in rsa_priv_encode() local 148 RSA *rsa = RSA_parse_private_key(key); in rsa_priv_decode() local 160 const RSA *rsa = pkey->pkey; in rsa_opaque() local 165 const RSA *rsa = pkey->pkey; in int_rsa_size() local 170 const RSA *rsa = pkey->pkey; in rsa_bits() local 236 RSA *rsa = EVP_PKEY_get0_RSA(pkey); in EVP_PKEY_get1_RSA() local
|
/aosp_15_r20/external/boringssl/src/crypto/evp/ |
H A D | p_rsa_asn1.c | 71 const RSA *rsa = key->pkey; in rsa_pub_encode() local 101 RSA *rsa = RSA_parse_public_key(key); in rsa_pub_decode() local 120 const RSA *rsa = key->pkey; in rsa_priv_encode() local 148 RSA *rsa = RSA_parse_private_key(key); in rsa_priv_decode() local 160 const RSA *rsa = pkey->pkey; in rsa_opaque() local 165 const RSA *rsa = pkey->pkey; in int_rsa_size() local 170 const RSA *rsa = pkey->pkey; in rsa_bits() local 236 RSA *rsa = EVP_PKEY_get0_RSA(pkey); in EVP_PKEY_get1_RSA() local
|
/aosp_15_r20/external/tink/cc/internal/ |
H A D | rsa_util.cc | 118 internal::SslUniquePtr<RSA> rsa(RSA_new()); in NewRsaKeyPair() local 206 util::Status GetRsaModAndExponents(const RsaPrivateKey &key, RSA *rsa) { in GetRsaModAndExponents() 234 util::Status GetRsaPrimeFactors(const RsaPrivateKey &key, RSA *rsa) { in GetRsaPrimeFactors() 255 util::Status GetRsaCrtParams(const RsaPrivateKey &key, RSA *rsa) { in GetRsaCrtParams() 297 internal::SslUniquePtr<RSA> rsa(RSA_new()); in RsaPrivateKeyToRsa() local 344 internal::SslUniquePtr<RSA> rsa(RSA_new()); in RsaPublicKeyToRsa() local
|
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/ |
H A D | PemKeyTypeTest.java | 52 RSAPublicKey rsa = (RSAPublicKey) key; in readKey_rsaPublicKey_shouldWork() local 92 RSAPrivateKey rsa = (RSAPrivateKey) key; in readKey_rsaPrivateKey_shouldWork() local 141 RSAPublicKey rsa = (RSAPublicKey) key; in readKey_withCommentHeader_shouldWork() local 163 RSAPublicKey rsa = (RSAPublicKey) key; in readKey_withCommentHeaderOutsideMarkers_shouldWork() local 184 RSAPublicKey rsa = (RSAPublicKey) key; in readKey_withBeginRsaPublicKey_shouldWork() local
|
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/subtle/ |
H A D | PemKeyTypeTest.java | 55 RSAPublicKey rsa = (RSAPublicKey) key; in readKey_rsaPublicKey_shouldWork() local 95 RSAPrivateKey rsa = (RSAPrivateKey) key; in readKey_rsaPrivateKey_shouldWork() local 144 RSAPublicKey rsa = (RSAPublicKey) key; in readKey_withCommentHeader_shouldWork() local 166 RSAPublicKey rsa = (RSAPublicKey) key; in readKey_withCommentHeaderOutsideMarkers_shouldWork() local 187 RSAPublicKey rsa = (RSAPublicKey) key; in readKey_withBeginRsaPublicKey_shouldWork() local
|