/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
H A D | x_pubkey.c | 77 X509_PUBKEY *pubkey = (X509_PUBKEY *)*pval; local 78 EVP_PKEY_free(pubkey->pkey);
|
/external/openssl/crypto/asn1/ |
H A D | x_pubkey.c | 77 X509_PUBKEY *pubkey = (X509_PUBKEY *)*pval; local 78 EVP_PKEY_free(pubkey->pkey);
|
/external/chromium_org/crypto/ |
H A D | rsa_private_key_nss_unittest.cc | 41 std::vector<uint8> pubkey; local 43 ASSERT_TRUE(key_pair->ExportPublicKey(&pubkey)); 51 ASSERT_EQ(pubkey, pubkey_copy);
|
/external/dropbear/libtomcrypt/src/pk/ecc/ |
H A D | ecc_decrypt_key.c | 42 ecc_key pubkey; local 94 if ((err = ecc_import(decode[1].data, decode[1].size, &pubkey)) != CRYPT_OK) { 100 if ((err = ecc_shared_secret(key, &pubkey, ecc_shared, &x)) != CRYPT_OK) { 101 ecc_free(&pubkey); 104 ecc_free(&pubkey);
|
H A D | ecc_sign_hash.c | 41 ecc_key pubkey; local 74 if ((err = ecc_make_key_ex(prng, wprng, &pubkey, key->dp)) != CRYPT_OK) { 79 if ((err = mp_mod(pubkey.pubkey.x, p, r)) != CRYPT_OK) { goto error; } 82 ecc_free(&pubkey); 85 if ((err = mp_invmod(pubkey.k, p, pubkey.k)) != CRYPT_OK) { goto error; } /* k = 1/k */ 89 if ((err = mp_mulmod(s, pubkey.k, p, s)) != CRYPT_OK) { goto error; } /* s = (e + xr)/k */ 90 ecc_free(&pubkey); 104 ecc_free(&pubkey); [all...] |
H A D | ecc_encrypt_key.c | 44 ecc_key pubkey; local 67 if ((err = ecc_make_key_ex(prng, wprng, &pubkey, key->dp)) != CRYPT_OK) { 84 ecc_free(&pubkey); 89 if ((err = ecc_export(pub_expt, &pubkeysize, PK_PUBLIC, &pubkey)) != CRYPT_OK) { 90 ecc_free(&pubkey); 96 if ((err = ecc_shared_secret(&pubkey, key, ecc_shared, &x)) != CRYPT_OK) { 97 ecc_free(&pubkey); 100 ecc_free(&pubkey);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | nssidentity.h | 47 NSSKeyPair(SECKEYPrivateKey* privkey, SECKEYPublicKey* pubkey) : argument 48 privkey_(privkey), pubkey_(pubkey) {} 56 SECKEYPublicKey * pubkey() const { return pubkey_; } function in class:talk_base::NSSKeyPair
|
H A D | nssidentity.cc | 63 SECKEYPublicKey *pubkey = NULL; local 70 &rsaparams, &pubkey, PR_FALSE /*permanent*/, 77 return new NSSKeyPair(privkey, pubkey); 86 SECKEYPublicKey *pubkey = SECKEY_CopyPublicKey(pubkey_); 87 if (!pubkey) { 92 return new NSSKeyPair(privkey, pubkey); 333 spki = SECKEY_CreateSubjectPublicKeyInfo(keypair->pubkey()); 438 SECKEYPublicKey *pubkey = SECKEY_ConvertToPublicKey(privkey); local 446 scoped_ptr<NSSKeyPair> keypair(new NSSKeyPair(privkey, pubkey));
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
H A D | spkac.c | 87 int verify=0,noout=0,pubkey=0; local 156 else if (strcmp(*argv,"-pubkey") == 0) 157 pubkey=1; 177 BIO_printf(bio_err," -pubkey output public key\n"); 295 if(pubkey) PEM_write_bio_PUBKEY(out, pkey);
|
/external/openssl/apps/ |
H A D | spkac.c | 87 int verify=0,noout=0,pubkey=0; local 156 else if (strcmp(*argv,"-pubkey") == 0) 157 pubkey=1; 177 BIO_printf(bio_err," -pubkey output public key\n"); 295 if(pubkey) PEM_write_bio_PUBKEY(out, pkey);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/netscape/ |
H A D | NetscapeCertRequest.java | 53 PublicKey pubkey ; field in class:NetscapeCertRequest 120 pubkey = KeyFactory.getInstance(keyAlg.getObjectId().getId(), "BC") 139 pubkey = pub_key; 143 //content_der.add(new SubjectPublicKeyInfo(sigAlg, new RSAPublicKeyStructure(pubkey.getModulus(), pubkey.getPublicExponent()).getDERObject())); 188 return pubkey; 193 pubkey = value; 210 sig.initVerify(pubkey); 266 baos.write(pubkey.getEncoded());
|
/external/chromium_org/third_party/openssl/openssl/crypto/ec/ |
H A D | ec_pmeth.c | 174 const EC_POINT *pubkey = NULL; local 189 pubkey = EC_KEY_get0_public_key(ctx->peerkey->pkey.ec); 197 ret = ECDH_compute_key(key, outlen, pubkey, ctx->pkey->pkey.ec, 0);
|
H A D | ec_ameth.c | 190 static int eckey_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) argument 198 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey))
|
/external/openssl/crypto/ec/ |
H A D | ec_pmeth.c | 174 const EC_POINT *pubkey = NULL; local 189 pubkey = EC_KEY_get0_public_key(ctx->peerkey->pkey.ec); 197 ret = ECDH_compute_key(key, outlen, pubkey, ctx->pkey->pkey.ec, 0);
|
H A D | ec_ameth.c | 190 static int eckey_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) argument 198 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey))
|
/external/chromium_org/third_party/openssl/openssl/crypto/dh/ |
H A D | dh_ameth.c | 71 static int dh_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) argument 83 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) 181 * is explcitly included and the pubkey must be recalculated.
|
/external/openssl/crypto/dh/ |
H A D | dh_ameth.c | 71 static int dh_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) argument 83 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) 181 * is explcitly included and the pubkey must be recalculated.
|
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps_attr_build.c | 23 struct wpabuf *pubkey; local 39 pubkey = wpabuf_dup(wps->wps->dh_pubkey); 55 pubkey = wpabuf_dup(wps->wps->ap_nfc_dh_pubkey); 56 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, pubkey); 61 wps->dh_ctx = dh5_init(&wps->dh_privkey, &pubkey); 62 pubkey = wpabuf_zeropad(pubkey, 192); 64 if (wps->dh_ctx == NULL || wps->dh_privkey == NULL || pubkey == NULL) { 67 wpabuf_free(pubkey); 71 wpa_hexdump_buf(MSG_DEBUG, "WPS: DH own Public Key", pubkey); 367 wps_build_oob_dev_pw(struct wpabuf *msg, u16 dev_pw_id, const struct wpabuf *pubkey, const u8 *dev_pw, size_t dev_pw_len) argument [all...] |
/external/wpa_supplicant_8/src/wps/ |
H A D | wps_attr_build.c | 23 struct wpabuf *pubkey; local 39 pubkey = wpabuf_dup(wps->wps->dh_pubkey); 55 pubkey = wpabuf_dup(wps->wps->ap_nfc_dh_pubkey); 56 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, pubkey); 61 wps->dh_ctx = dh5_init(&wps->dh_privkey, &pubkey); 62 pubkey = wpabuf_zeropad(pubkey, 192); 64 if (wps->dh_ctx == NULL || wps->dh_privkey == NULL || pubkey == NULL) { 67 wpabuf_free(pubkey); 71 wpa_hexdump_buf(MSG_DEBUG, "WPS: DH own Public Key", pubkey); 367 wps_build_oob_dev_pw(struct wpabuf *msg, u16 dev_pw_id, const struct wpabuf *pubkey, const u8 *dev_pw, size_t dev_pw_len) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | wps_attr_build.c | 23 struct wpabuf *pubkey; local 39 pubkey = wpabuf_dup(wps->wps->dh_pubkey); 55 pubkey = wpabuf_dup(wps->wps->ap_nfc_dh_pubkey); 56 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, pubkey); 61 wps->dh_ctx = dh5_init(&wps->dh_privkey, &pubkey); 62 pubkey = wpabuf_zeropad(pubkey, 192); 64 if (wps->dh_ctx == NULL || wps->dh_privkey == NULL || pubkey == NULL) { 67 wpabuf_free(pubkey); 71 wpa_hexdump_buf(MSG_DEBUG, "WPS: DH own Public Key", pubkey); 367 wps_build_oob_dev_pw(struct wpabuf *msg, u16 dev_pw_id, const struct wpabuf *pubkey, const u8 *dev_pw, size_t dev_pw_len) argument [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/ |
H A D | dsa_ameth.c | 69 static int dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) argument 81 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) 187 * AlgorithmIdentifier the pubkey must be recalculated.
|
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
H A D | rsa_ameth.c | 85 static int rsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) argument 90 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, NULL, pubkey))
|
/external/openssl/crypto/dsa/ |
H A D | dsa_ameth.c | 69 static int dsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) argument 81 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey)) 187 * AlgorithmIdentifier the pubkey must be recalculated.
|
/external/openssl/crypto/rsa/ |
H A D | rsa_ameth.c | 85 static int rsa_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey) argument 90 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, NULL, pubkey))
|
/external/dropbear/libtomcrypt/src/headers/ |
H A D | tomcrypt_pk.h | 203 ecc_point pubkey; member in struct:__anon17717
|