Searched refs:pubkey (Results 1 - 25 of 66) sorted by relevance

123

/external/conscrypt/src/main/java/org/conscrypt/
H A DChainStrengthAnalyzer.java40 Object pubkey = cert.getPublicKey();
41 if (pubkey instanceof RSAPublicKey) {
42 int modulusLength = ((RSAPublicKey) pubkey).getModulus().bitLength();
/external/chromium_org/v8/tools/testrunner/server/
H A Dstatus_handler.py57 for pubkey in pubkey_list:
58 if server.IsTrusted(pubkey): continue
59 result = _StatusQuery(peer, [constants.GET_SIGNED_PUBKEY, pubkey])
71 def TryTransitiveTrust(peer, pubkey, server):
72 if _StatusQuery(peer, [constants.DO_YOU_TRUST, pubkey]):
73 result = _StatusQuery(peer, [constants.GET_SIGNED_PUBKEY, pubkey])
H A Dmain.py141 if self.IsTrusted(p.pubkey):
147 status_handler.TryTransitiveTrust(p2, p.pubkey, self)
189 if peer.pubkey == fingerprint:
218 pubkey = data[1]
227 if not signatures.VerifySignature(filename, pubkey, signature,
/external/chromium_org/third_party/boringssl/src/crypto/x509/
H A Dx_spki.c66 ASN1_SIMPLE(NETSCAPE_SPKAC, pubkey, X509_PUBKEY),
H A Dx509rset.c78 return(X509_PUBKEY_set(&x->req_info->pubkey,pkey));
H A Dx_req.c96 ASN1_SIMPLE(X509_REQ_INFO, pubkey, X509_PUBKEY),
H A Dx509spki.c64 return(X509_PUBKEY_set(&(x->spkac->pubkey),pkey));
71 return(X509_PUBKEY_get(x->spkac->pubkey));
/external/openssl/crypto/asn1/
H A Dx_spki.c69 ASN1_SIMPLE(NETSCAPE_SPKAC, pubkey, X509_PUBKEY),
H A Dt_spki.c80 i=OBJ_obj2nid(spki->spkac->pubkey->algor->algorithm);
83 pkey = X509_PUBKEY_get(spki->spkac->pubkey);
H A Dx_req.c97 ASN1_SIMPLE(X509_REQ_INFO, pubkey, X509_PUBKEY),
/external/chromium_org/v8/tools/testrunner/objects/
H A Dworkpacket.py34 base_revision=None, patch=None, pubkey=None):
41 self.pubkey_fingerprint = pubkey
69 "pubkey": self.pubkey_fingerprint,
83 pubkey_fingerprint = packed["pubkey"]
90 pubkey=pubkey_fingerprint)
H A Dpeer.py30 def __init__(self, address, jobs, rel_perf, pubkey):
34 self.pubkey = pubkey # string: pubkey's fingerprint
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_attr_build.c23 struct wpabuf *pubkey; local
39 pubkey = wpabuf_dup(wps->wps->dh_pubkey);
62 pubkey = wpabuf_dup(wps->wps->ap_nfc_dh_pubkey);
63 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, pubkey);
68 wps->dh_ctx = dh5_init(&wps->dh_privkey, &pubkey);
69 pubkey = wpabuf_zeropad(pubkey, 192);
71 if (wps->dh_ctx == NULL || wps->dh_privkey == NULL || pubkey == NULL) {
74 wpabuf_free(pubkey);
78 wpa_hexdump_buf(MSG_DEBUG, "WPS: DH own Public Key", pubkey);
386 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...]
H A Dwps_common.c64 struct wpabuf *pubkey, *dh_shared; local
75 pubkey = wps->registrar ? wps->dh_pubkey_e : wps->dh_pubkey_r;
76 if (pubkey == NULL) {
82 wpa_hexdump_buf(MSG_DEBUG, "WPS: DH peer Public Key", pubkey);
83 dh_shared = dh5_derive_shared(wps->dh_ctx, pubkey, wps->dh_privkey);
412 const struct wpabuf *pubkey,
421 if (wps_build_oob_dev_pw(data, dev_pw_id, pubkey,
618 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, argument
623 if (pubkey == NULL || dev_pw == NULL)
626 ret = wps_build_nfc_pw_token(id, pubkey, dev_p
411 wps_build_nfc_pw_token(u16 dev_pw_id, const struct wpabuf *pubkey, const struct wpabuf *dev_pw) argument
640 wps_nfc_gen_dh(struct wpabuf **pubkey, struct wpabuf **privkey) argument
665 wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, struct wpabuf **privkey, struct wpabuf **dev_pw) argument
[all...]
/external/wpa_supplicant_8/src/wps/
H A Dwps_attr_build.c23 struct wpabuf *pubkey; local
39 pubkey = wpabuf_dup(wps->wps->dh_pubkey);
62 pubkey = wpabuf_dup(wps->wps->ap_nfc_dh_pubkey);
63 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, pubkey);
68 wps->dh_ctx = dh5_init(&wps->dh_privkey, &pubkey);
69 pubkey = wpabuf_zeropad(pubkey, 192);
71 if (wps->dh_ctx == NULL || wps->dh_privkey == NULL || pubkey == NULL) {
74 wpabuf_free(pubkey);
78 wpa_hexdump_buf(MSG_DEBUG, "WPS: DH own Public Key", pubkey);
386 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...]
H A Dwps_common.c64 struct wpabuf *pubkey, *dh_shared; local
75 pubkey = wps->registrar ? wps->dh_pubkey_e : wps->dh_pubkey_r;
76 if (pubkey == NULL) {
82 wpa_hexdump_buf(MSG_DEBUG, "WPS: DH peer Public Key", pubkey);
83 dh_shared = dh5_derive_shared(wps->dh_ctx, pubkey, wps->dh_privkey);
412 const struct wpabuf *pubkey,
421 if (wps_build_oob_dev_pw(data, dev_pw_id, pubkey,
618 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, argument
623 if (pubkey == NULL || dev_pw == NULL)
626 ret = wps_build_nfc_pw_token(id, pubkey, dev_p
411 wps_build_nfc_pw_token(u16 dev_pw_id, const struct wpabuf *pubkey, const struct wpabuf *dev_pw) argument
640 wps_nfc_gen_dh(struct wpabuf **pubkey, struct wpabuf **privkey) argument
665 wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, struct wpabuf **privkey, struct wpabuf **dev_pw) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_attr_build.c23 struct wpabuf *pubkey; local
39 pubkey = wpabuf_dup(wps->wps->dh_pubkey);
62 pubkey = wpabuf_dup(wps->wps->ap_nfc_dh_pubkey);
63 wps->dh_ctx = dh5_init_fixed(wps->dh_privkey, pubkey);
68 wps->dh_ctx = dh5_init(&wps->dh_privkey, &pubkey);
69 pubkey = wpabuf_zeropad(pubkey, 192);
71 if (wps->dh_ctx == NULL || wps->dh_privkey == NULL || pubkey == NULL) {
74 wpabuf_free(pubkey);
78 wpa_hexdump_buf(MSG_DEBUG, "WPS: DH own Public Key", pubkey);
386 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...]
H A Dwps_common.c64 struct wpabuf *pubkey, *dh_shared; local
75 pubkey = wps->registrar ? wps->dh_pubkey_e : wps->dh_pubkey_r;
76 if (pubkey == NULL) {
82 wpa_hexdump_buf(MSG_DEBUG, "WPS: DH peer Public Key", pubkey);
83 dh_shared = dh5_derive_shared(wps->dh_ctx, pubkey, wps->dh_privkey);
412 const struct wpabuf *pubkey,
421 if (wps_build_oob_dev_pw(data, dev_pw_id, pubkey,
618 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, argument
623 if (pubkey == NULL || dev_pw == NULL)
626 ret = wps_build_nfc_pw_token(id, pubkey, dev_p
411 wps_build_nfc_pw_token(u16 dev_pw_id, const struct wpabuf *pubkey, const struct wpabuf *dev_pw) argument
640 wps_nfc_gen_dh(struct wpabuf **pubkey, struct wpabuf **privkey) argument
665 wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, struct wpabuf **privkey, struct wpabuf **dev_pw) argument
[all...]
/external/chromium_org/net/cert/
H A Djwk_serializer_openssl.cc97 crypto::ScopedEVP_PKEY pubkey(d2i_PUBKEY(NULL, &ptr, spki_der.size()));
98 if (!pubkey || ptr != data + spki_der.size())
101 if (pubkey->type == EVP_PKEY_EC) {
102 return ConvertEcKeyToJwk(pubkey.get(), public_key_jwk, err_tracer);
/external/openssl/crypto/x509/
H A Dx509rset.c81 return(X509_PUBKEY_set(&x->req_info->pubkey,pkey));
H A Dx509spki.c66 return(X509_PUBKEY_set(&(x->spkac->pubkey),pkey));
73 return(X509_PUBKEY_get(x->spkac->pubkey));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/netscape/
H A DNetscapeCertRequest.java53 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/webrtc/base/
H A Dnssidentity.h30 NSSKeyPair(SECKEYPrivateKey* privkey, SECKEYPublicKey* pubkey) : argument
31 privkey_(privkey), pubkey_(pubkey) {}
39 SECKEYPublicKey * pubkey() const { return pubkey_; } function in class:rtc::NSSKeyPair
H A Dnssidentity.cc52 SECKEYPublicKey *pubkey = NULL; local
59 &rsaparams, &pubkey, PR_FALSE /*permanent*/,
66 return new NSSKeyPair(privkey, pubkey);
75 SECKEYPublicKey *pubkey = SECKEY_CopyPublicKey(pubkey_);
76 if (!pubkey) {
81 return new NSSKeyPair(privkey, pubkey);
366 spki = SECKEY_CreateSubjectPublicKeyInfo(keypair->pubkey());
477 SECKEYPublicKey *pubkey = SECKEY_ConvertToPublicKey(privkey); local
485 scoped_ptr<NSSKeyPair> keypair(new NSSKeyPair(privkey, pubkey));
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/
H A Dv3_skey.c126 pk = ctx->subject_req->req_info->pubkey->public_key;

Completed in 328 milliseconds

123