/external/boringssl/src/crypto/evp/ |
p_rsa_asn1.c | 82 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || 83 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || 84 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 86 !CBB_add_asn1(&algorithm, &null, CBS_ASN1_NULL) || 87 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || 139 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || 141 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || 142 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 144 !CBB_add_asn1(&algorithm, &null, CBS_ASN1_NULL) || 145 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) | [all...] |
p_ed25519_asn1.c | 81 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || 82 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || 83 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 85 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || 132 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || 134 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || 135 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 137 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || 138 !CBB_add_asn1(&private_key, &inner, CBS_ASN1_OCTETSTRING) ||
|
p_dsa_asn1.c | 110 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || 111 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || 112 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 116 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || 178 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || 180 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || 181 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 184 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) ||
|
p_ec_asn1.c | 75 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || 76 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || 77 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 80 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || 175 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || 177 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || 178 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 181 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) ||
|
/external/boringssl/src/ssl/ |
ssl_asn1.cc | 207 !CBB_add_asn1(&cbb, &session, CBS_ASN1_SEQUENCE) || 210 !CBB_add_asn1(&session, &child, CBS_ASN1_OCTETSTRING) || 212 !CBB_add_asn1(&session, &child, CBS_ASN1_OCTETSTRING) || 216 !CBB_add_asn1(&session, &child, CBS_ASN1_OCTETSTRING) || 218 !CBB_add_asn1(&session, &child, kTimeTag) || 220 !CBB_add_asn1(&session, &child, kTimeoutTag) || 230 if (!CBB_add_asn1(&session, &child, kPeerTag) || 240 if (!CBB_add_asn1(&session, &child, kSessionIDContextTag) || 241 !CBB_add_asn1(&child, &child2, CBS_ASN1_OCTETSTRING) || 248 if (!CBB_add_asn1(&session, &child, kVerifyResultTag) | [all...] |
/external/boringssl/src/crypto/pkcs7/ |
pkcs7.c | 148 if (!CBB_add_asn1(out, &outer_seq, CBS_ASN1_SEQUENCE) || 149 !CBB_add_asn1(&outer_seq, &oid, CBS_ASN1_OBJECT) || 151 !CBB_add_asn1(&outer_seq, &wrapped_seq, 154 !CBB_add_asn1(&wrapped_seq, &seq, CBS_ASN1_SEQUENCE) || 155 !CBB_add_asn1(&seq, &version_bytes, CBS_ASN1_INTEGER) || 157 !CBB_add_asn1(&seq, &digest_algos_set, CBS_ASN1_SET) || 158 !CBB_add_asn1(&seq, &content_info, CBS_ASN1_SEQUENCE) || 159 !CBB_add_asn1(&content_info, &oid, CBS_ASN1_OBJECT) ||
|
pkcs7_x509.c | 181 if (!CBB_add_asn1(out, &certificates, 211 if (!CBB_add_asn1(out, &crl_data,
|
/external/boringssl/src/crypto/pkcs8/ |
p5_pbev2.c | 131 return CBB_add_asn1(out, &child, CBS_ASN1_OBJECT) && 179 if (!CBB_add_asn1(out, &algorithm, CBS_ASN1_SEQUENCE) || 180 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 182 !CBB_add_asn1(&algorithm, ¶m, CBS_ASN1_SEQUENCE) || 183 !CBB_add_asn1(¶m, &kdf, CBS_ASN1_SEQUENCE) || 184 !CBB_add_asn1(&kdf, &kdf_oid, CBS_ASN1_OBJECT) || 186 !CBB_add_asn1(&kdf, &kdf_param, CBS_ASN1_SEQUENCE) || 187 !CBB_add_asn1(&kdf_param, &salt_cbb, CBS_ASN1_OCTETSTRING) || 194 !CBB_add_asn1(¶m, &cipher_cbb, CBS_ASN1_SEQUENCE) || 198 !CBB_add_asn1(&cipher_cbb, &iv_cbb, CBS_ASN1_OCTETSTRING) | [all...] |
pkcs8.c | 338 if (!CBB_add_asn1(out, &algorithm, CBS_ASN1_SEQUENCE) || 339 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || 341 !CBB_add_asn1(&algorithm, ¶m, CBS_ASN1_SEQUENCE) || 342 !CBB_add_asn1(¶m, &salt_cbb, CBS_ASN1_OCTETSTRING) || 479 if (!CBB_add_asn1(out, &epki, CBS_ASN1_SEQUENCE)) { 504 if (!CBB_add_asn1(&epki, &ciphertext, CBS_ASN1_OCTETSTRING) ||
|
/external/boringssl/src/crypto/bn_extra/ |
bn_asn1.c | 69 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_INTEGER) ||
|
/external/boringssl/src/crypto/dsa/ |
dsa_asn1.c | 104 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || 135 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || 167 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || 215 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) ||
|
/external/boringssl/src/crypto/ec_extra/ |
ec_asn1.c | 201 if (!CBB_add_asn1(cbb, &ec_private_key, CBS_ASN1_SEQUENCE) || 203 !CBB_add_asn1(&ec_private_key, &private_key, CBS_ASN1_OCTETSTRING) || 213 if (!CBB_add_asn1(&ec_private_key, &child, kParametersTag) || 224 if (!CBB_add_asn1(&ec_private_key, &child, kPublicKeyTag) || 225 !CBB_add_asn1(&child, &public_key, CBS_ASN1_BITSTRING) || 362 return CBB_add_asn1(cbb, &child, CBS_ASN1_OBJECT) &&
|
/external/boringssl/src/crypto/dh/ |
dh_asn1.c | 122 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) ||
|
/external/boringssl/src/crypto/bytestring/ |
ber.c | 152 if (!CBB_add_asn1(out, &out_contents_storage, out_tag)) {
|
bytestring_test.cc | 409 EXPECT_FALSE(CBB_add_asn1(&child, &contents, 1)); 426 ASSERT_TRUE(CBB_add_asn1(cbb.get(), &contents, 0x30)); 435 ASSERT_TRUE(CBB_add_asn1(cbb.get(), &contents, 0x30)); 445 ASSERT_TRUE(CBB_add_asn1(cbb.get(), &contents, 0x30)); 455 ASSERT_TRUE(CBB_add_asn1(cbb.get(), &contents, 0x30)); 456 ASSERT_TRUE(CBB_add_asn1(&contents, &inner_contents, 0x30));
|
cbb.c | 331 int CBB_add_asn1(CBB *cbb, CBB *out_contents, unsigned tag) { 446 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_INTEGER)) {
|
/external/boringssl/src/crypto/rsa_extra/ |
rsa_asn1.c | 148 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || 237 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) ||
|
/external/boringssl/src/crypto/ecdsa_extra/ |
ecdsa_asn1.c | 198 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) ||
|
/external/boringssl/src/include/openssl/ |
bytestring.h | 382 /* CBB_add_asn1 sets |*out_contents| to a |CBB| into which the contents of an 387 OPENSSL_EXPORT int CBB_add_asn1(CBB *cbb, CBB *out_contents, unsigned tag); 430 /* CBB_add_asn1_uint64 writes an ASN.1 INTEGER into |cbb| using |CBB_add_asn1|
|
/external/boringssl/src/crypto/obj/ |
obj.c | 323 !CBB_add_asn1(out, &oid, CBS_ASN1_OBJECT) ||
|
/external/conscrypt/common/src/jni/main/cpp/ |
NativeCrypto.cpp | [all...] |