HomeSort by relevance Sort by last modified time
    Searched defs:privkey (Results 1 - 16 of 16) sorted by null

  /external/boringssl/src/crypto/evp/
p_ed25519_asn1.c 45 static int set_privkey(EVP_PKEY *pkey, const uint8_t privkey[64]) {
52 OPENSSL_memcpy(key->key.priv, privkey, 64);
114 uint8_t pubkey[32], privkey[64]; local
115 ED25519_keypair_from_seed(pubkey, privkey, CBS_data(&inner));
116 return set_privkey(out, privkey);
  /external/honggfuzz/examples/openssl/
client.c 445 RSA* privkey = d2i_RSAPrivateKey(NULL, &bufp, sizeof(kRSAPrivateKeyDER)); local
    [all...]
server.c 483 RSA* privkey = d2i_RSAPrivateKey(NULL, &bufp, sizeof(kRSAPrivateKeyDER)); local
    [all...]
  /external/libchrome/crypto/
rsa_private_key_unittest.cc 363 std::vector<uint8_t> privkey; local
365 ASSERT_TRUE(key_pair->ExportPrivateKey(&privkey));
373 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/epid-sdk/tools/extractkeys/src/
main.c 45 PrivKey privkey; ///< Intel(R) EPID 2.0 Private Key member in struct:EpidKeyOutputFileKey
54 CompressedPrivKey privkey; ///< Intel(R) EPID 2.0 Compressed Private Key member in struct:EpidCompressedKeyOutputFileKey
67 void* privkey = 0; local
159 privkey = &(((EpidCompressedKeyOutputFileKey*)&temp[0])->privkey);
162 privkey_size = sizeof(PrivKey);
163 privkey = &(((EpidKeyOutputFileKey*)&temp[0])->privkey);
209 if (0 != WriteLoud(privkey, privkey_size, outkeyname))
    [all...]
  /external/epid-sdk/tools/revokekey/src/
main.c 47 PrivKey privkey; ///< Intel(R) EPID Private Key member in struct:PrivRlRequestTop
51 char const* cacert_file, PrivKey* priv_key) {
60 if (file_size == sizeof(PrivKey)) {
61 if (0 != ReadLoud(privkey_file, priv_key, sizeof(PrivKey))) {
122 int MakeRequest(PrivKey const* priv_key, char const* req_file, bool verbose) {
129 size_t entry_size = sizeof(EpidFileHeader) + sizeof(PrivKey);
151 log_msg(" [in] Private Key Len: %d", sizeof(PrivKey));
153 PrintBuffer(priv_key, sizeof(PrivKey));
194 priv_key, 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/curl/lib/
ssh.h 149 ssh_key privkey; member in struct:ssh_conn
  /external/libmtp/src/
mtpz.c 198 gcry_sexp_t privkey; member in struct:mtpz_rsa_struct
283 gcry_sexp_build(&rsa->privkey, NULL, "(private-key (rsa (n %m) (e %m) (d %m)))", mpi_modulus, mpi_pubexp, mpi_privkey);
295 gcry_sexp_release(rsa->privkey);
308 gcry_pk_decrypt(&sexp_plain, sexp_data, rsa->privkey);
    [all...]
  /external/wpa_supplicant_8/src/crypto/
crypto_openssl.c 520 int crypto_dh_init(u8 generator, const u8 *prime, size_t prime_len, u8 *privkey,
525 if (os_get_random(privkey, prime_len) < 0)
527 if (os_memcmp(privkey, prime, prime_len) > 0) {
529 privkey[0] = 0;
533 if (crypto_mod_exp(&generator, 1, privkey, prime_len, prime, prime_len,
548 const u8 *privkey, size_t privkey_len,
580 res = crypto_mod_exp(pubkey, pubkey_len, privkey, privkey_len,
753 struct wpabuf *pubkey = NULL, *privkey = NULL; local
784 privkey = wpabuf_alloc(privlen);
785 if (privkey == NULL
    [all...]
crypto_wolfssl.c 645 struct wpabuf *privkey = NULL; local
663 privkey = wpabuf_alloc(RFC3526_LEN);
665 if (!privkey || !pubkey)
673 if (wc_DhGenerateKeyPair(dh, &rng, wpabuf_mhead(privkey), &priv_sz,
677 wpabuf_put(privkey, priv_sz);
681 *priv = privkey;
684 privkey = NULL;
688 wpabuf_clear_free(privkey);
778 int crypto_dh_init(u8 generator, const u8 *prime, size_t prime_len, u8 *privkey,
802 if (wc_DhGenerateKeyPair(dh, &rng, privkey, &priv_sz, pubkey, &pub_sz
    [all...]
  /external/wpa_supplicant_8/src/common/
dpp.c 1159 const u8 *privkey, size_t privkey_len)
1169 eckey = d2i_ECPrivateKey(NULL, &privkey, privkey_len);
8382 u8 *privkey = NULL; local
8607 u8 *privkey = NULL; local
    [all...]
  /external/conscrypt/common/src/jni/main/cpp/conscrypt/
native_crypto.cc 2155 const BIGNUM* privkey = EC_KEY_get0_private_key(eckey.get()); local
    [all...]

Completed in 717 milliseconds