/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/ |
D | p_rsa_asn1.c | 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() 74 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in rsa_pub_encode() 76 !CBB_add_asn1(&algorithm, &null, CBS_ASN1_NULL) || in rsa_pub_encode() 77 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in rsa_pub_encode() 118 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in rsa_priv_encode() 120 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in rsa_priv_encode() 121 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in rsa_priv_encode() 123 !CBB_add_asn1(&algorithm, &null, CBS_ASN1_NULL) || in rsa_priv_encode() 124 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in rsa_priv_encode()
|
D | p_ed25519_asn1.c | 133 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in ed25519_pub_encode() 134 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in ed25519_pub_encode() 135 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in ed25519_pub_encode() 137 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in ed25519_pub_encode() 179 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in ed25519_priv_encode() 181 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in ed25519_priv_encode() 182 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in ed25519_priv_encode() 184 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in ed25519_priv_encode() 185 !CBB_add_asn1(&private_key, &inner, CBS_ASN1_OCTETSTRING) || in ed25519_priv_encode()
|
D | p_x25519_asn1.c | 130 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in x25519_pub_encode() 131 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in x25519_pub_encode() 132 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in x25519_pub_encode() 134 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in x25519_pub_encode() 176 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in x25519_priv_encode() 178 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in x25519_priv_encode() 179 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in x25519_priv_encode() 181 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in x25519_priv_encode() 182 !CBB_add_asn1(&private_key, &inner, CBS_ASN1_OCTETSTRING) || in x25519_priv_encode()
|
D | p_ec_asn1.c | 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() 77 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in eckey_pub_encode() 80 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in eckey_pub_encode() 175 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in eckey_priv_encode() 177 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in eckey_priv_encode() 178 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in eckey_priv_encode() 181 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in eckey_priv_encode()
|
D | p_dsa_asn1.c | 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() 112 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in dsa_pub_encode() 116 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in dsa_pub_encode() 178 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in dsa_priv_encode() 180 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in dsa_priv_encode() 181 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in dsa_priv_encode() 184 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in dsa_priv_encode()
|
/external/boringssl/src/crypto/evp/ |
D | p_rsa_asn1.c | 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() 74 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in rsa_pub_encode() 76 !CBB_add_asn1(&algorithm, &null, CBS_ASN1_NULL) || in rsa_pub_encode() 77 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in rsa_pub_encode() 118 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in rsa_priv_encode() 120 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in rsa_priv_encode() 121 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in rsa_priv_encode() 123 !CBB_add_asn1(&algorithm, &null, CBS_ASN1_NULL) || in rsa_priv_encode() 124 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in rsa_priv_encode()
|
D | p_ed25519_asn1.c | 133 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in ed25519_pub_encode() 134 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in ed25519_pub_encode() 135 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in ed25519_pub_encode() 137 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in ed25519_pub_encode() 179 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in ed25519_priv_encode() 181 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in ed25519_priv_encode() 182 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in ed25519_priv_encode() 184 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in ed25519_priv_encode() 185 !CBB_add_asn1(&private_key, &inner, CBS_ASN1_OCTETSTRING) || in ed25519_priv_encode()
|
D | p_x25519_asn1.c | 130 if (!CBB_add_asn1(out, &spki, CBS_ASN1_SEQUENCE) || in x25519_pub_encode() 131 !CBB_add_asn1(&spki, &algorithm, CBS_ASN1_SEQUENCE) || in x25519_pub_encode() 132 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in x25519_pub_encode() 134 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in x25519_pub_encode() 176 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in x25519_priv_encode() 178 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in x25519_priv_encode() 179 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in x25519_priv_encode() 181 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in x25519_priv_encode() 182 !CBB_add_asn1(&private_key, &inner, CBS_ASN1_OCTETSTRING) || in x25519_priv_encode()
|
D | p_ec_asn1.c | 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() 77 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in eckey_pub_encode() 80 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in eckey_pub_encode() 175 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in eckey_priv_encode() 177 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in eckey_priv_encode() 178 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in eckey_priv_encode() 181 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in eckey_priv_encode()
|
D | p_dsa_asn1.c | 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() 112 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in dsa_pub_encode() 116 !CBB_add_asn1(&spki, &key_bitstring, CBS_ASN1_BITSTRING) || in dsa_pub_encode() 182 if (!CBB_add_asn1(out, &pkcs8, CBS_ASN1_SEQUENCE) || in dsa_priv_encode() 184 !CBB_add_asn1(&pkcs8, &algorithm, CBS_ASN1_SEQUENCE) || in dsa_priv_encode() 185 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in dsa_priv_encode() 188 !CBB_add_asn1(&pkcs8, &private_key, CBS_ASN1_OCTETSTRING) || in dsa_priv_encode()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs7/ |
D | pkcs7.c | 140 if (!CBB_add_asn1(out, &outer_seq, CBS_ASN1_SEQUENCE) || in pkcs7_bundle() 141 !CBB_add_asn1(&outer_seq, &oid, CBS_ASN1_OBJECT) || in pkcs7_bundle() 143 !CBB_add_asn1(&outer_seq, &wrapped_seq, in pkcs7_bundle() 146 !CBB_add_asn1(&wrapped_seq, &seq, CBS_ASN1_SEQUENCE) || in pkcs7_bundle() 147 !CBB_add_asn1(&seq, &version_bytes, CBS_ASN1_INTEGER) || in pkcs7_bundle() 149 !CBB_add_asn1(&seq, &digest_algos_set, CBS_ASN1_SET) || in pkcs7_bundle() 150 !CBB_add_asn1(&seq, &content_info, CBS_ASN1_SEQUENCE) || in pkcs7_bundle() 151 !CBB_add_asn1(&content_info, &oid, CBS_ASN1_OBJECT) || in pkcs7_bundle() 154 !CBB_add_asn1(&seq, &signer_infos, CBS_ASN1_SET)) { in pkcs7_bundle()
|
/external/boringssl/src/crypto/pkcs7/ |
D | pkcs7.c | 140 if (!CBB_add_asn1(out, &outer_seq, CBS_ASN1_SEQUENCE) || in pkcs7_bundle() 141 !CBB_add_asn1(&outer_seq, &oid, CBS_ASN1_OBJECT) || in pkcs7_bundle() 143 !CBB_add_asn1(&outer_seq, &wrapped_seq, in pkcs7_bundle() 146 !CBB_add_asn1(&wrapped_seq, &seq, CBS_ASN1_SEQUENCE) || in pkcs7_bundle() 147 !CBB_add_asn1(&seq, &version_bytes, CBS_ASN1_INTEGER) || in pkcs7_bundle() 149 !CBB_add_asn1(&seq, &digest_algos_set, CBS_ASN1_SET) || in pkcs7_bundle() 150 !CBB_add_asn1(&seq, &content_info, CBS_ASN1_SEQUENCE) || in pkcs7_bundle() 151 !CBB_add_asn1(&content_info, &oid, CBS_ASN1_OBJECT) || in pkcs7_bundle() 154 !CBB_add_asn1(&seq, &signer_infos, CBS_ASN1_SET)) { in pkcs7_bundle()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/ |
D | pkcs8_x509.c | 977 if (!CBB_add_asn1(bag, &attrs, CBS_ASN1_SET)) { in add_bag_attributes() 982 if (!CBB_add_asn1(&attrs, &attr, CBS_ASN1_SEQUENCE) || in add_bag_attributes() 983 !CBB_add_asn1(&attr, &oid, CBS_ASN1_OBJECT) || in add_bag_attributes() 985 !CBB_add_asn1(&attr, &values, CBS_ASN1_SET) || in add_bag_attributes() 986 !CBB_add_asn1(&values, &value, CBS_ASN1_BMPSTRING)) { in add_bag_attributes() 1003 if (!CBB_add_asn1(&attrs, &attr, CBS_ASN1_SEQUENCE) || in add_bag_attributes() 1004 !CBB_add_asn1(&attr, &oid, CBS_ASN1_OBJECT) || in add_bag_attributes() 1006 !CBB_add_asn1(&attr, &values, CBS_ASN1_SET) || in add_bag_attributes() 1007 !CBB_add_asn1(&values, &value, CBS_ASN1_OCTETSTRING) || in add_bag_attributes() 1020 !CBB_add_asn1(cbb, &bag, CBS_ASN1_SEQUENCE) || in add_cert_bag() [all …]
|
D | p5_pbev2.c | 135 return CBB_add_asn1(out, &child, CBS_ASN1_OBJECT) && in add_cipher_oid() 183 if (!CBB_add_asn1(out, &algorithm, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 184 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in PKCS5_pbe2_encrypt_init() 186 !CBB_add_asn1(&algorithm, ¶m, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 187 !CBB_add_asn1(¶m, &kdf, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 188 !CBB_add_asn1(&kdf, &kdf_oid, CBS_ASN1_OBJECT) || in PKCS5_pbe2_encrypt_init() 190 !CBB_add_asn1(&kdf, &kdf_param, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 191 !CBB_add_asn1(&kdf_param, &salt_cbb, CBS_ASN1_OCTETSTRING) || in PKCS5_pbe2_encrypt_init() 198 !CBB_add_asn1(¶m, &cipher_cbb, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 202 !CBB_add_asn1(&cipher_cbb, &iv_cbb, CBS_ASN1_OCTETSTRING) || in PKCS5_pbe2_encrypt_init()
|
D | pkcs8.c | 345 if (!CBB_add_asn1(out, &algorithm, CBS_ASN1_SEQUENCE) || in pkcs12_pbe_encrypt_init() 346 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in pkcs12_pbe_encrypt_init() 348 !CBB_add_asn1(&algorithm, ¶m, CBS_ASN1_SEQUENCE) || in pkcs12_pbe_encrypt_init() 349 !CBB_add_asn1(¶m, &salt_cbb, CBS_ASN1_OCTETSTRING) || in pkcs12_pbe_encrypt_init() 485 if (!CBB_add_asn1(out, &epki, CBS_ASN1_SEQUENCE)) { in PKCS8_marshal_encrypted_private_key() 514 if (!CBB_add_asn1(&epki, &ciphertext, CBS_ASN1_OCTETSTRING) || in PKCS8_marshal_encrypted_private_key()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | ssl_asn1.cc | 205 if (!CBB_add_asn1(cbb, &session, CBS_ASN1_SEQUENCE) || in SSL_SESSION_to_bytes_full() 208 !CBB_add_asn1(&session, &child, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_to_bytes_full() 215 !CBB_add_asn1(&session, &child, kTimeTag) || in SSL_SESSION_to_bytes_full() 217 !CBB_add_asn1(&session, &child, kTimeoutTag) || in SSL_SESSION_to_bytes_full() 227 if (!CBB_add_asn1(&session, &child, kPeerTag) || in SSL_SESSION_to_bytes_full() 237 if (!CBB_add_asn1(&session, &child, kSessionIDContextTag) || in SSL_SESSION_to_bytes_full() 244 if (!CBB_add_asn1(&session, &child, kVerifyResultTag) || in SSL_SESSION_to_bytes_full() 252 if (!CBB_add_asn1(&session, &child, kPSKIdentityTag) || in SSL_SESSION_to_bytes_full() 262 if (!CBB_add_asn1(&session, &child, kTicketLifetimeHintTag) || in SSL_SESSION_to_bytes_full() 270 if (!CBB_add_asn1(&session, &child, kTicketTag) || in SSL_SESSION_to_bytes_full() [all …]
|
/external/boringssl/src/ssl/ |
D | ssl_asn1.cc | 213 if (!CBB_add_asn1(cbb, &session, CBS_ASN1_SEQUENCE) || in SSL_SESSION_to_bytes_full() 216 !CBB_add_asn1(&session, &child, CBS_ASN1_OCTETSTRING) || in SSL_SESSION_to_bytes_full() 222 !CBB_add_asn1(&session, &child, kTimeTag) || in SSL_SESSION_to_bytes_full() 224 !CBB_add_asn1(&session, &child, kTimeoutTag) || in SSL_SESSION_to_bytes_full() 234 if (!CBB_add_asn1(&session, &child, kPeerTag) || in SSL_SESSION_to_bytes_full() 244 if (!CBB_add_asn1(&session, &child, kSessionIDContextTag) || in SSL_SESSION_to_bytes_full() 251 if (!CBB_add_asn1(&session, &child, kVerifyResultTag) || in SSL_SESSION_to_bytes_full() 259 if (!CBB_add_asn1(&session, &child, kPSKIdentityTag) || in SSL_SESSION_to_bytes_full() 269 if (!CBB_add_asn1(&session, &child, kTicketLifetimeHintTag) || in SSL_SESSION_to_bytes_full() 277 if (!CBB_add_asn1(&session, &child, kTicketTag) || in SSL_SESSION_to_bytes_full() [all …]
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs8_x509.c | 1008 if (!CBB_add_asn1(bag, &attrs, CBS_ASN1_SET)) { in add_bag_attributes() 1013 if (!CBB_add_asn1(&attrs, &attr, CBS_ASN1_SEQUENCE) || in add_bag_attributes() 1014 !CBB_add_asn1(&attr, &oid, CBS_ASN1_OBJECT) || in add_bag_attributes() 1016 !CBB_add_asn1(&attr, &values, CBS_ASN1_SET) || in add_bag_attributes() 1017 !CBB_add_asn1(&values, &value, CBS_ASN1_BMPSTRING)) { in add_bag_attributes() 1034 if (!CBB_add_asn1(&attrs, &attr, CBS_ASN1_SEQUENCE) || in add_bag_attributes() 1035 !CBB_add_asn1(&attr, &oid, CBS_ASN1_OBJECT) || in add_bag_attributes() 1037 !CBB_add_asn1(&attr, &values, CBS_ASN1_SET) || in add_bag_attributes() 1038 !CBB_add_asn1(&values, &value, CBS_ASN1_OCTETSTRING) || in add_bag_attributes() 1051 !CBB_add_asn1(cbb, &bag, CBS_ASN1_SEQUENCE) || in add_cert_bag() [all …]
|
D | p5_pbev2.c | 135 return CBB_add_asn1(out, &child, CBS_ASN1_OBJECT) && in add_cipher_oid() 183 if (!CBB_add_asn1(out, &algorithm, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 184 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT) || in PKCS5_pbe2_encrypt_init() 186 !CBB_add_asn1(&algorithm, ¶m, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 187 !CBB_add_asn1(¶m, &kdf, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 188 !CBB_add_asn1(&kdf, &kdf_oid, CBS_ASN1_OBJECT) || in PKCS5_pbe2_encrypt_init() 190 !CBB_add_asn1(&kdf, &kdf_param, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 191 !CBB_add_asn1(&kdf_param, &salt_cbb, CBS_ASN1_OCTETSTRING) || in PKCS5_pbe2_encrypt_init() 198 !CBB_add_asn1(¶m, &cipher_cbb, CBS_ASN1_SEQUENCE) || in PKCS5_pbe2_encrypt_init() 202 !CBB_add_asn1(&cipher_cbb, &iv_cbb, CBS_ASN1_OCTETSTRING) || in PKCS5_pbe2_encrypt_init()
|
/external/fsverity-utils/lib/ |
D | sign_digest.c | 164 if (!CBB_add_asn1(&out, &outer_seq, CBS_ASN1_SEQUENCE) || in sign_pkcs7() 166 !CBB_add_asn1(&outer_seq, &wrapped_seq, CBS_ASN1_CONTEXT_SPECIFIC | in sign_pkcs7() 169 !CBB_add_asn1(&wrapped_seq, &seq, CBS_ASN1_SEQUENCE) || in sign_pkcs7() 171 !CBB_add_asn1(&seq, &digest_algos_set, CBS_ASN1_SET) || in sign_pkcs7() 172 !CBB_add_asn1(&digest_algos_set, &digest_algo, CBS_ASN1_SEQUENCE) || in sign_pkcs7() 174 !CBB_add_asn1(&digest_algo, &null, CBS_ASN1_NULL) || in sign_pkcs7() 175 !CBB_add_asn1(&seq, &content_info, CBS_ASN1_SEQUENCE) || in sign_pkcs7() 177 !CBB_add_asn1(&seq, &signer_infos, CBS_ASN1_SET) || in sign_pkcs7() 178 !CBB_add_asn1(&signer_infos, &signer_info, CBS_ASN1_SEQUENCE) || in sign_pkcs7() 180 !CBB_add_asn1(&signer_info, &issuer_and_serial, in sign_pkcs7() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/digest_extra/ |
D | digest_extra.c | 196 if (!CBB_add_asn1(cbb, &algorithm, CBS_ASN1_SEQUENCE) || in EVP_marshal_digest_algorithm() 197 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT)) { in EVP_marshal_digest_algorithm() 220 if (!CBB_add_asn1(&algorithm, &null, CBS_ASN1_NULL) || in EVP_marshal_digest_algorithm()
|
/external/boringssl/src/crypto/digest_extra/ |
D | digest_extra.c | 198 if (!CBB_add_asn1(cbb, &algorithm, CBS_ASN1_SEQUENCE) || in EVP_marshal_digest_algorithm() 199 !CBB_add_asn1(&algorithm, &oid, CBS_ASN1_OBJECT)) { in EVP_marshal_digest_algorithm() 222 if (!CBB_add_asn1(&algorithm, &null, CBS_ASN1_NULL) || in EVP_marshal_digest_algorithm()
|
/external/boringssl/src/crypto/ec_extra/ |
D | ec_asn1.c | 200 if (!CBB_add_asn1(cbb, &ec_private_key, CBS_ASN1_SEQUENCE) || in EC_KEY_marshal_private_key() 202 !CBB_add_asn1(&ec_private_key, &private_key, CBS_ASN1_OCTETSTRING) || in EC_KEY_marshal_private_key() 212 if (!CBB_add_asn1(&ec_private_key, &child, kParametersTag) || in EC_KEY_marshal_private_key() 223 if (!CBB_add_asn1(&ec_private_key, &child, kPublicKeyTag) || in EC_KEY_marshal_private_key() 224 !CBB_add_asn1(&child, &public_key, CBS_ASN1_BITSTRING) || in EC_KEY_marshal_private_key() 358 return CBB_add_asn1(cbb, &child, CBS_ASN1_OBJECT) && in EC_KEY_marshal_curve_name()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/dsa/ |
D | dsa_asn1.c | 104 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in DSA_SIG_marshal() 135 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in DSA_marshal_public_key() 167 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in DSA_marshal_parameters() 215 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in DSA_marshal_private_key()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa_asn1.c | 140 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in DSA_SIG_marshal() 177 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in DSA_marshal_public_key() 215 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in DSA_marshal_parameters() 266 if (!CBB_add_asn1(cbb, &child, CBS_ASN1_SEQUENCE) || in DSA_marshal_private_key()
|