Home
last modified time | relevance | path

Searched defs:rsa (Results 1 – 25 of 71) sorted by relevance

123

/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa.c88 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 void RSA_get0_key(const RSA *rsa, const BIGNUM **out_n, const BIGNUM **out_e, in RSA_get0_key()
183 void RSA_get0_factors(const RSA *rsa, const BIGNUM **out_p, in RSA_get0_factors()
193 void RSA_get0_crt_params(const RSA *rsa, const BIGNUM **out_dmp1, in RSA_get0_crt_params()
206 int RSA_set0_key(RSA *rsa, BIGNUM *n, BIGNUM *e, BIGNUM *d) { in RSA_set0_key()
228 int RSA_set0_factors(RSA *rsa, BIGNUM *p, BIGNUM *q) { in RSA_set0_factors()
246 int RSA_set0_crt_params(RSA *rsa, BIGNUM *dmp1, BIGNUM *dmq1, BIGNUM *iqmp) { in RSA_set0_crt_params()
[all …]
Drsa_impl.c75 static int check_modulus_and_exponent_sizes(const RSA *rsa) { in check_modulus_and_exponent_sizes()
132 static int freeze_private_key(RSA *rsa, BN_CTX *ctx) { in freeze_private_key()
249 size_t rsa_default_size(const RSA *rsa) { in rsa_default_size()
253 int RSA_encrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_encrypt()
357 static BN_BLINDING *rsa_blinding_get(RSA *rsa, unsigned *index_used, in rsa_blinding_get()
441 static void rsa_blinding_release(RSA *rsa, BN_BLINDING *blinding, in rsa_blinding_release()
455 int rsa_default_sign_raw(RSA *rsa, size_t *out_len, uint8_t *out, in rsa_default_sign_raw()
503 int rsa_default_decrypt(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in rsa_default_decrypt()
570 int RSA_verify_raw(RSA *rsa, size_t *out_len, uint8_t *out, size_t max_out, in RSA_verify_raw()
668 int rsa_default_private_transform(RSA *rsa, uint8_t *out, const uint8_t *in, in rsa_default_private_transform()
[all …]
/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc467 bssl::UniquePtr<RSA> rsa( in TEST() local
482 bssl::UniquePtr<RSA> rsa( in TEST() local
495 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local
589 bssl::UniquePtr<RSA> rsa( in TEST() local
633 bssl::UniquePtr<RSA> rsa( in TEST() local
641 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local
659 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local
681 bssl::UniquePtr<RSA> rsa( in TEST() local
760 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local
905 bssl::UniquePtr<RSA> rsa(RSA_new()); in TEST() local
[all …]
Drsa_asn1.c127 int RSA_marshal_public_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_public_key()
140 const RSA *rsa) { in RSA_public_key_to_bytes()
216 int RSA_marshal_private_key(CBB *cbb, const RSA *rsa) { in RSA_marshal_private_key()
236 const RSA *rsa) { in RSA_private_key_to_bytes()
305 RSA *RSAPublicKey_dup(const RSA *rsa) { in RSAPublicKey_dup()
316 RSA *RSAPrivateKey_dup(const RSA *rsa) { in RSAPrivateKey_dup()
Drsa_print.c15 int RSA_print(BIO *bio, const RSA *rsa, int indent) { in RSA_print()
/external/boringssl/src/decrepit/rsa/
Drsa_decrepit.c69 RSA *rsa = RSA_new(); in RSA_generate_key() local
88 int RSA_padding_add_PKCS1_PSS(const RSA *rsa, uint8_t *EM, const uint8_t *mHash, in RSA_padding_add_PKCS1_PSS()
93 int RSA_verify_PKCS1_PSS(const RSA *rsa, const uint8_t *mHash, in RSA_verify_PKCS1_PSS()
/external/vboot_reference/tests/
Dvboot_common2_tests.c21 RSAPublicKey *rsa; in VerifyPublicKeyToRSA() local
49 RSAPublicKey *rsa; in VerifyDataTest() local
84 RSAPublicKey *rsa; in VerifyDigestTest() local
123 RSAPublicKey *rsa; in VerifyKernelPreambleTest() local
/external/u-boot/lib/rsa/
Drsa-sign.c60 RSA *rsa; in rsa_pem_get_pub_key() local
127 RSA *rsa; in rsa_engine_get_pub_key() local
199 RSA *rsa; in rsa_pem_get_priv_key() local
238 RSA *rsa; in rsa_engine_get_priv_key() local
385 static int rsa_sign_with_key(RSA *rsa, struct checksum_algo *checksum_algo, in rsa_sign_with_key()
463 RSA *rsa; in rsa_sign() local
697 RSA *rsa; in rsa_add_verify_data() local
/external/boringssl/src/crypto/evp/
Dp_rsa.c174 RSA *rsa = ctx->pkey->pkey.rsa; in pkey_rsa_sign() local
213 RSA *rsa = ctx->pkey->pkey.rsa; in pkey_rsa_verify() local
246 RSA *rsa = ctx->pkey->pkey.rsa; in pkey_rsa_verify_recover() local
310 RSA *rsa = ctx->pkey->pkey.rsa; in pkey_rsa_encrypt() local
342 RSA *rsa = ctx->pkey->pkey.rsa; in pkey_rsa_decrypt() local
520 RSA *rsa = NULL; in pkey_rsa_keygen() local
Dp_rsa_asn1.c100 RSA *rsa = RSA_parse_public_key(key); in rsa_pub_decode() local
144 RSA *rsa = RSA_parse_private_key(key); in rsa_priv_decode() local
Devp_asn1.c228 RSA *rsa = RSA_parse_private_key(cbs); in old_priv_decode() local
359 RSA *rsa = RSA_parse_public_key(&cbs); in d2i_PublicKey() local
/external/nos/host/android/hals/keymaster/test/
Dimport_key_test.cpp126 const hidl_vec<KeyParameter>& params, const RSA *rsa) in ImportKeyRequestMatcher()
333 const hidl_vec<KeyParameter>& params, const RSA *rsa) { in ImportKeyRequestEq()
345 bssl::UniquePtr<RSA> rsa; in TEST() local
/external/boringssl/src/crypto/pem/
Dpem_test.cc39 bssl::UniquePtr<RSA> rsa(PEM_read_bio_RSAPublicKey( in TEST() local
Dpem_all.c152 RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **rsa, pem_password_cb *cb, in PEM_read_bio_RSAPrivateKey()
162 RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **rsa, pem_password_cb *cb, void *u) in PEM_read_RSAPrivateKey()
/external/boringssl/src/tool/
Dgenrsa.cc48 bssl::UniquePtr<RSA> rsa(RSA_new()); in GenerateRSAKey() local
/external/openssh/
Dssh-pkcs11-client.c106 pkcs11_rsa_private_encrypt(int flen, const u_char *from, u_char *to, RSA *rsa, in pkcs11_rsa_private_encrypt()
144 wrap_key(RSA *rsa) in wrap_key()
Dssh-pkcs11.c175 pkcs11_rsa_finish(RSA *rsa) in pkcs11_rsa_finish()
221 pkcs11_rsa_private_encrypt(int flen, const u_char *from, u_char *to, RSA *rsa, in pkcs11_rsa_private_encrypt()
305 pkcs11_rsa_private_decrypt(int flen, const u_char *from, u_char *to, RSA *rsa, in pkcs11_rsa_private_decrypt()
314 CK_ATTRIBUTE *keyid_attrib, RSA *rsa) in pkcs11_rsa_wrap()
453 RSA *rsa; in pkcs11_fetch_keys_filter() local
Drsa.c162 rsa_generate_additional_parameters(RSA *rsa) in rsa_generate_additional_parameters()
/external/ipsec-tools/src/racoon/
Drsalist.h52 RSA *rsa; member
/external/boringssl/src/ssl/
Dssl_privkey.cc265 RSA *rsa = EVP_PKEY_get0_RSA(hs->config->cert->privatekey.get()); in ssl_private_key_decrypt() local
307 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa) { in SSL_use_RSAPrivateKey()
324 UniquePtr<RSA> rsa(RSA_private_key_from_bytes(der, der_len)); in SSL_use_RSAPrivateKey_ASN1() local
359 int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa) { in SSL_CTX_use_RSAPrivateKey()
377 UniquePtr<RSA> rsa(RSA_private_key_from_bytes(der, der_len)); in SSL_CTX_use_RSAPrivateKey_ASN1() local
Dssl_file.cc298 RSA *rsa = NULL; in SSL_use_RSAPrivateKey_file() local
421 RSA *rsa = NULL; in SSL_CTX_use_RSAPrivateKey_file() local
/external/curl/docs/examples/
Dusercertinmem.c49 RSA *rsa = NULL; in sslctx_function() local
/external/nos/host/android/hals/keymaster/
Dexport_key.cpp63 bssl::UniquePtr<RSA> rsa(RSA_new()); in export_key_der() local
/external/libmtp/src/
Dmtpz.c273 mtpz_rsa_t *rsa = calloc(1, sizeof(mtpz_rsa_t)); in mtpz_rsa_init() local
293 void mtpz_rsa_free(mtpz_rsa_t *rsa) in mtpz_rsa_free()
299 int mtpz_rsa_decrypt(int flen, unsigned char *from, int tlen, unsigned char *to, mtpz_rsa_t *rsa) in mtpz_rsa_decrypt()
335 int mtpz_rsa_sign(int flen, unsigned char *from, int tlen, unsigned char *to, mtpz_rsa_t *rsa) in mtpz_rsa_sign()
1549 mtpz_rsa_t *rsa = mtpz_rsa_init(MTPZ_MODULUS, MTPZ_PRIVATE_KEY, MTPZ_PUBLIC_EXPONENT); in ptp_mtpz_validatehandshakeresponse() local
1734 mtpz_rsa_t *rsa = mtpz_rsa_init(MTPZ_MODULUS, MTPZ_PRIVATE_KEY, MTPZ_PUBLIC_EXPONENT); in ptp_mtpz_makeapplicationcertificatemessage() local
/external/vboot_reference/firmware/lib/
Dvboot_common.c125 RSAPublicKey *rsa; in PublicKeyToRSA() local
255 RSAPublicKey *rsa; in KeyBlockVerify() local

123