/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...] |
/prebuilts/misc/scripts/vboot_signer/ |
vboot_signer.sh | 38 privkey=$4 47 echo signing ${input} with ${privkey} to generate ${output} 54 ${futility} vbutil_kernel --pack ${output} --keyblock ${keyblock} --signprivate ${privkey} --version 1 --vmlinuz ${input} --config ${EMPTY} --arch arm --bootloader ${EMPTY} --flags 0x1
|
/external/boringssl/src/crypto/evp/ |
p_dsa_asn1.c | 181 ASN1_INTEGER *privkey = NULL; local 192 privkey = d2i_ASN1_INTEGER(NULL, &p, pklen); 193 if (privkey == NULL || privkey->type == V_ASN1_NEG_INTEGER) { 209 dsa->priv_key = ASN1_INTEGER_to_BN(privkey, NULL); 233 ASN1_INTEGER_free(privkey); 242 ASN1_INTEGER_free(privkey);
|
/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...] |
crypto_openssl.c | 1120 eay_get_x509sign(src, privkey) 1121 vchar_t *src, *privkey; 1124 u_char *bp = (unsigned char *) privkey->v; 1130 evp = d2i_PrivateKey(EVP_PKEY_RSA, NULL, (void *)&bp, privkey->l); [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_common.c | 643 int wps_nfc_gen_dh(struct wpabuf **pubkey, struct wpabuf **privkey) 661 wpabuf_free(*privkey); 662 *privkey = priv; 669 struct wpabuf **privkey, 686 if (wps_nfc_gen_dh(pubkey, privkey) < 0) {
|
wps.h | 883 int wps_nfc_gen_dh(struct wpabuf **pubkey, struct wpabuf **privkey); 885 struct wpabuf **privkey,
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 606 struct wpabuf *pubkey = NULL, *privkey = NULL; local 632 privkey = wpabuf_alloc(privlen); 633 if (privkey == NULL) 637 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); 639 *priv = privkey; 645 wpabuf_clear_free(privkey);
|
/external/libchrome/crypto/ |
rsa_private_key_unittest.cc | 366 std::vector<uint8_t> privkey; local 368 ASSERT_TRUE(key_pair->ExportPrivateKey(&privkey)); 376 ASSERT_EQ(privkey, privkey_copy);
|
/external/conscrypt/src/main/java/org/conscrypt/ |
NativeCrypto.java | 160 NativeRef.EC_POINT pubkeyRef, byte[] privkey); [all...] |
/external/conscrypt/src/main/native/ |
org_conscrypt_NativeCrypto.cpp | 3934 const BIGNUM *privkey = EC_KEY_get0_private_key(eckey.get()); local [all...] |