Home
last modified time | relevance | path

Searched refs:spki (Results 1 – 15 of 15) sorted by relevance

/external/boringssl/src/crypto/x509/
Dx_pubkey.c93 uint8_t *spki = NULL; variable
102 !CBB_finish(&cbb, &spki, &spki_len) ||
109 const uint8_t *p = spki;
111 if (pk == NULL || p != spki + spki_len) {
116 OPENSSL_free(spki);
123 OPENSSL_free(spki);
136 uint8_t *spki = NULL; in X509_PUBKEY_get() local
150 int spki_len = i2d_X509_PUBKEY(key, &spki); in X509_PUBKEY_get()
155 CBS_init(&cbs, spki, (size_t)spki_len); in X509_PUBKEY_get()
173 OPENSSL_free(spki); in X509_PUBKEY_get()
[all …]
Dx509spki.c85 NETSCAPE_SPKI *spki; in NETSCAPE_SPKI_b64_decode() local
103 spki = d2i_NETSCAPE_SPKI(NULL, &p, spki_len); in NETSCAPE_SPKI_b64_decode()
105 return spki; in NETSCAPE_SPKI_b64_decode()
110 char *NETSCAPE_SPKI_b64_encode(NETSCAPE_SPKI *spki) in NETSCAPE_SPKI_b64_encode() argument
116 der_len = i2d_NETSCAPE_SPKI(spki, NULL); in NETSCAPE_SPKI_b64_encode()
133 i2d_NETSCAPE_SPKI(spki, &p); in NETSCAPE_SPKI_b64_encode()
/external/libchrome/crypto/
Dnss_key_util.cc24 inline void operator()(CERTSubjectPublicKeyInfo* spki) { in operator ()()
25 SECKEY_DestroySubjectPublicKeyInfo(spki); in operator ()()
41 ScopedPublicKeyInfo spki(SECKEY_DecodeDERSubjectPublicKeyInfo(&key_der)); in MakeIDFromSPKI() local
42 if (!spki) in MakeIDFromSPKI()
45 ScopedSECKEYPublicKey result(SECKEY_ExtractPublicKey(spki.get())); in MakeIDFromSPKI()
/external/boringssl/src/crypto/evp/
Dp_rsa_asn1.c71 CBB spki, algorithm, oid, null, key_bitstring; in rsa_pub_encode() local
72 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in rsa_pub_encode()
73 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in rsa_pub_encode()
77 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in rsa_pub_encode()
Dp_ed25519_asn1.c76 CBB spki, algorithm, oid, key_bitstring; in ed25519_pub_encode() local
77 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in ed25519_pub_encode()
78 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in ed25519_pub_encode()
81 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in ed25519_pub_encode()
Devp_asn1.c98 CBS spki, algorithm, key; in EVP_parse_public_key() local
101 if (!CBS_get_asn1(cbs, &spki, CBS_ASN1_SEQUENCE) || in EVP_parse_public_key()
102 !CBS_get_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in EVP_parse_public_key()
104 !CBS_get_asn1(&spki, &key, CBS_ASN1_BITSTRING) || in EVP_parse_public_key()
105 CBS_len(&spki) != 0 || in EVP_parse_public_key()
Dp_ec_asn1.c74 CBB spki, algorithm, oid, key_bitstring; in eckey_pub_encode() local
75 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in eckey_pub_encode()
76 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in eckey_pub_encode()
80 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in eckey_pub_encode()
Dp_dsa_asn1.c109 CBB spki, algorithm, oid, key_bitstring; in dsa_pub_encode() local
110 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in dsa_pub_encode()
111 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in dsa_pub_encode()
116 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in dsa_pub_encode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DAuthorityKeyIdentifier.java109 SubjectPublicKeyInfo spki) in AuthorityKeyIdentifier() argument
116 byte[] bytes = spki.getPublicKeyData().getBytes(); in AuthorityKeyIdentifier()
128 SubjectPublicKeyInfo spki, in AuthorityKeyIdentifier() argument
137 byte[] bytes = spki.getPublicKeyData().getBytes(); in AuthorityKeyIdentifier()
/external/scapy/test/
Dx509.uts102 spki = tbs.subjectPublicKeyInfo
103 spki.signatureAlgorithm.algorithm == ASN1_OID("rsaEncryption")
106 assert(type(spki.subjectPublicKey) is RSAPublicKey)
107 spki.subjectPublicKey.modulus == ASN1_INTEGER(19231328316532061413420367242571475005688288081144416…
/external/boringssl/src/
DFUZZING.md41 | `spki` | 1024 |
/external/scapy/scapy/layers/tls/
Dcert.py208 spki = X509_SubjectPublicKeyInfo(obj.der)
209 pubkey = spki.subjectPublicKey
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java235 private static byte[] getDigest(SubjectPublicKeyInfo spki) in getDigest() argument
242 byte[] bytes = spki.getPublicKeyData().getBytes(); in getDigest()
/external/ImageMagick/PerlMagick/t/
Dinput_gray_msb_08bit.mat8 …�{lenht�v�f`gaWRORXc``fjiieeeimegli_WI5(����~�����������������������������spki�|��uykia\XXXZ^^ckkk…
/external/boringssl/src/include/openssl/
Dx509.h575 OPENSSL_EXPORT int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki);