/external/libchrome/crypto/ |
rsa_private_key_unittest.cc | 367 std::vector<uint8_t> privkey; local 369 ASSERT_TRUE(key_pair->ExportPrivateKey(&privkey)); 377 ASSERT_EQ(privkey, privkey_copy);
|
/external/vboot_reference/futility/ |
cmd_vbutil_key.c | 74 VbPrivateKey *privkey; local 91 privkey = PrivateKeyReadPem(infile, algorithm); 92 if (privkey) { 93 if (0 != PrivateKeyWrite(outfile, privkey)) { 97 free(privkey); 109 VbPrivateKey *privkey; local 138 privkey = PrivateKeyRead(infile); 139 if (privkey) { 142 privkey->algorithm, 143 (privkey->algorithm [all...] |
cmd_create.c | 79 VbPrivateKey *privkey = 0; local 114 privkey = (VbPrivateKey *)malloc(sizeof(VbPrivateKey)); 115 if (!privkey) 118 privkey->rsa_private_key = rsa_key; 119 privkey->algorithm = vb1_algorithm; 123 if (0 != PrivateKeyWrite(outfile, privkey)) { 152 free(privkey); 161 struct vb2_private_key *privkey = 0; local 193 privkey = calloc(1, sizeof(*privkey)); [all...] |
/external/ipsec-tools/src/racoon/ |
privsep.c | 340 vchar_t *privkey; local 356 if ((privkey = eay_get_pkcs1privkey(bufs[0])) == NULL){ 361 reply->bufs.buflen[0] = privkey->l; 362 reply->hdr.ac_len = sizeof(*reply) + privkey->l; 371 memcpy(reply + 1, privkey->v, privkey->l); 372 vfree(privkey); 706 vchar_t *privkey; local 736 if ((privkey = vmalloc(len - sizeof(*msg))) == NULL) 739 memcpy(privkey->v, msg + 1, privkey->l) [all...] |
oakley.c | 1872 vchar_t *privkey = NULL; local [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 631 struct wpabuf *pubkey = NULL, *privkey = NULL; local 658 privkey = wpabuf_alloc(privlen); 659 if (privkey == NULL) 663 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); 665 *priv = privkey; 671 wpabuf_clear_free(privkey); 676 struct wpabuf *pubkey = NULL, *privkey = NULL; 706 privkey = wpabuf_alloc(privlen); 707 if (!privkey) 711 BN_bn2bin(priv_key, wpabuf_put(privkey, privlen)) [all...] |
/external/conscrypt/common/src/jni/main/cpp/ |
NativeCrypto.cpp | 2005 const BIGNUM *privkey = EC_KEY_get0_private_key(eckey.get()); local [all...] |