Home
last modified time | relevance | path

Searched refs:rsa_private_key (Results 1 – 14 of 14) 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/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/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/libchrome/crypto/
Dcrypto.gypi84 'rsa_private_key.cc',
85 'rsa_private_key.h',
DBUILD.gn69 "rsa_private_key.cc",
70 "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/libchrome/
DSConstruct263 rsa_private_key.cc