Home
last modified time | relevance | path

Searched refs:rsa_private_key (Results 1 – 23 of 23) sorted by relevance

/external/vboot_reference/host/lib/
Dhost_key.c54 key->rsa_private_key = rsa_key; in PrivateKeyReadPem()
65 if (key->rsa_private_key) in PrivateKeyFree()
66 RSA_free(key->rsa_private_key); in PrivateKeyFree()
77 buflen = i2d_RSAPrivateKey(key->rsa_private_key, &outbuf); in PrivateKeyWrite()
131 key->rsa_private_key = d2i_RSAPrivateKey(0, &start, in PrivateKeyRead()
134 if (!key->rsa_private_key) { in PrivateKeyRead()
Dutil_misc.c32 int vb_keyb_from_rsa(struct rsa_st *rsa_private_key, in vb_keyb_from_rsa() argument
49 nwords = BN_num_bits(rsa_private_key->n) / 32; in vb_keyb_from_rsa()
78 BN_copy(N, rsa_private_key->n); in vb_keyb_from_rsa()
Dhost_signature.c146 key->rsa_private_key, /* Key to use */ in CalculateSignature()
/external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/anonymous_tokens/cpp/testing/
Dutils.cc324 RSAPrivateKey rsa_private_key; in GetStandardRsaKeyPair() local
326 *rsa_private_key.mutable_n(), in GetStandardRsaKeyPair()
329 *rsa_private_key.mutable_e(), in GetStandardRsaKeyPair()
332 *rsa_private_key.mutable_d(), in GetStandardRsaKeyPair()
335 *rsa_private_key.mutable_p(), in GetStandardRsaKeyPair()
338 *rsa_private_key.mutable_q(), in GetStandardRsaKeyPair()
341 *rsa_private_key.mutable_dp(), in GetStandardRsaKeyPair()
344 *rsa_private_key.mutable_dq(), in GetStandardRsaKeyPair()
347 *rsa_private_key.mutable_crt(), in GetStandardRsaKeyPair()
350 return std::make_pair(std::move(rsa_public_key), std::move(rsa_private_key)); in GetStandardRsaKeyPair()
/external/vboot_reference/host/lib21/
Dhost_key.c77 if (key->rsa_private_key) in vb2_private_key_free()
78 RSA_free(key->rsa_private_key); in vb2_private_key_free()
141 key->rsa_private_key = d2i_RSAPrivateKey(0, &start, in vb2_private_key_unpack()
143 if (!key->rsa_private_key) { in vb2_private_key_unpack()
202 key->rsa_private_key = PEM_read_RSAPrivateKey(f, NULL, NULL, NULL); in vb2_private_key_read_pem()
205 if (!key->rsa_private_key) { in vb2_private_key_read_pem()
253 rsalen = i2d_RSAPrivateKey(key->rsa_private_key, &rsabuf); in vb2_private_key_write()
Dhost_signature.c170 key->rsa_private_key, in vb2_sign_data()
/external/python/cryptography/vectors/cryptography_vectors/asymmetric/PEM_Serialization/
DREADME.txt9 4. rsa_private_key.pem - Contains an RSA 2048 bit key generated using OpenSSL, protected by the sec…
11 …_public_key.pem - Contains an RSA 2048 bit public generated using OpenSSL from rsa_private_key.pem.
/external/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/anonymous_tokens/cpp/crypto/
Dcrypto_utils.cc318 bssl::UniquePtr<RSA> rsa_private_key(RSA_new()); in AnonymousTokensRSAPrivateKeyToRSA() local
320 if (!rsa_private_key.get()) { in AnonymousTokensRSAPrivateKeyToRSA()
323 } else if (RSA_set0_key(rsa_private_key.get(), n.get(), e.get(), d.get()) != in AnonymousTokensRSAPrivateKeyToRSA()
327 } else if (RSA_set0_factors(rsa_private_key.get(), p.get(), q.get()) != in AnonymousTokensRSAPrivateKeyToRSA()
331 } else if (RSA_set0_crt_params(rsa_private_key.get(), dp.get(), dq.get(), in AnonymousTokensRSAPrivateKeyToRSA()
345 return std::move(rsa_private_key); in AnonymousTokensRSAPrivateKeyToRSA()
/external/cronet/net/ssl/
Dtest_ssl_private_key.cc111 crypto::RSAPrivateKey* rsa_private_key) { in WrapRSAPrivateKey() argument
112 return net::WrapOpenSSLPrivateKey(bssl::UpRef(rsa_private_key->key())); in WrapRSAPrivateKey()
Dtest_ssl_private_key.h24 crypto::RSAPrivateKey* rsa_private_key);
/external/libchrome/libchrome_tools/patch/
Dssl.patch41 --- a/crypto/rsa_private_key.h
42 +++ b/crypto/rsa_private_key.h
/external/vboot_reference/futility/
Dcmd_create.c118 privkey->rsa_private_key = rsa_key; in vb1_make_keypair()
198 privkey->rsa_private_key = rsa_key; in vb2_make_keypair()
261 privkey->rsa_private_key = 0; in vb2_make_keypair()
Dvb1_helper.c763 key.rsa_private_key = d2i_RSAPrivateKey(NULL, &start, in recognize_privkey()
766 if (key.rsa_private_key) { in recognize_privkey()
767 RSA_free(key.rsa_private_key); in recognize_privkey()
/external/vboot_reference/host/lib/include/
Dutil_misc.h38 int vb_keyb_from_rsa(struct rsa_st *rsa_private_key,
Dhost_key.h19 RSA* rsa_private_key; /* Private key data */ member
/external/openscreen/util/
DBUILD.gn84 "crypto/rsa_private_key.cc",
85 "crypto/rsa_private_key.h",
/external/cronet/crypto/
DBUILD.gn40 "rsa_private_key.cc",
41 "rsa_private_key.h",
/external/vboot_reference/host/lib21/include/
Dhost_key2.h17 struct rsa_st *rsa_private_key; /* Private key data */ member
/external/vboot_reference/tests/
Dvb21_host_key_tests.c48 TEST_PTR_NEQ(key->rsa_private_key, NULL, " rsa_private_key"); in private_key_tests()
/external/python/cryptography/docs/development/
Dtest-vectors.rst75 * ``asymmetric/PEM_Serialization/rsa_private_key.pem`` - Contains an RSA 2048
80 bit public generated using OpenSSL from ``rsa_private_key.pem``.
/external/libchrome/
DBUILD.gn361 "crypto/rsa_private_key.cc",
/external/cronet/
DAndroid.bp12749 "crypto/rsa_private_key.cc",
12950 "crypto/rsa_private_key.cc",
/external/cronet/android/tools/gn2bp/
DAndroid.bp.swp12739 "crypto/rsa_private_key.cc",
12940 "crypto/rsa_private_key.cc",