Searched refs:rsa_private_key (Results 1 – 11 of 11) sorted by relevance
/external/vboot_reference/host/lib/ |
D | host_key.c | 54 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()
|
D | util_misc.c | 32 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()
|
D | host_signature.c | 146 key->rsa_private_key, /* Key to use */ in CalculateSignature()
|
/external/vboot_reference/host/lib21/ |
D | host_key.c | 77 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()
|
D | host_signature.c | 170 key->rsa_private_key, in vb2_sign_data()
|
/external/vboot_reference/futility/ |
D | cmd_create.c | 118 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()
|
D | vb1_helper.c | 763 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/ |
D | util_misc.h | 38 int vb_keyb_from_rsa(struct rsa_st *rsa_private_key,
|
D | host_key.h | 19 RSA* rsa_private_key; /* Private key data */ member
|
/external/vboot_reference/host/lib21/include/ |
D | host_key2.h | 17 struct rsa_st *rsa_private_key; /* Private key data */ member
|
/external/vboot_reference/tests/ |
D | vb21_host_key_tests.c | 48 TEST_PTR_NEQ(key->rsa_private_key, NULL, " rsa_private_key"); in private_key_tests()
|