Home
last modified time | relevance | path

Searched refs:oid_len (Results 1 – 25 of 31) sorted by relevance

12

/external/rust/crates/quiche/deps/boringssl/src/crypto/digest_extra/
Ddigest_extra.c121 uint8_t oid_len; member
142 if (CBS_len(cbs) == kMDOIDs[i].oid_len && in cbs_to_md()
143 OPENSSL_memcmp(CBS_data(cbs), kMDOIDs[i].oid, kMDOIDs[i].oid_len) == in cbs_to_md()
206 if (!CBB_add_bytes(&oid, kMDOIDs[i].oid, kMDOIDs[i].oid_len)) { in EVP_marshal_digest_algorithm()
/external/boringssl/src/crypto/digest_extra/
Ddigest_extra.c123 uint8_t oid_len; member
144 if (CBS_len(cbs) == kMDOIDs[i].oid_len && in cbs_to_md()
145 OPENSSL_memcmp(CBS_data(cbs), kMDOIDs[i].oid, kMDOIDs[i].oid_len) == in cbs_to_md()
208 if (!CBB_add_bytes(&oid, kMDOIDs[i].oid, kMDOIDs[i].oid_len)) { in EVP_marshal_digest_algorithm()
/external/arm-trusted-firmware/drivers/auth/mbedtls/
Dmbedtls_x509_parser.c74 int oid_len; in get_ext() local
114 oid_len = mbedtls_oid_get_numeric_string(oid_str, in get_ext()
117 if (oid_len == MBEDTLS_ERR_OID_BUF_TOO_SMALL) { in get_ext()
120 if ((oid_len == strlen(oid_str)) && !strcmp(oid, oid_str)) { in get_ext()
/external/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c90 uint8_t oid_len; member
123 if (CBS_mem_equal(cbs, kCipherOIDs[i].oid, kCipherOIDs[i].oid_len)) { in cbs_to_cipher()
137 kCipherOIDs[i].oid_len) && in add_cipher_oid()
Dinternal.h103 uint8_t oid_len; member
Dpkcs8.c347 !CBB_add_bytes(&oid, suite->oid, suite->oid_len) || in pkcs12_pbe_encrypt_init()
376 if (CBS_mem_equal(&obj, kBuiltinPBE[i].oid, kBuiltinPBE[i].oid_len)) { in pkcs8_pbe_decrypt()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c90 uint8_t oid_len; member
123 if (CBS_mem_equal(cbs, kCipherOIDs[i].oid, kCipherOIDs[i].oid_len)) { in cbs_to_cipher()
137 kCipherOIDs[i].oid_len) && in add_cipher_oid()
Dinternal.h96 uint8_t oid_len; member
Dpkcs8.c347 !CBB_add_bytes(&oid, suite->oid, suite->oid_len) || in pkcs12_pbe_encrypt_init()
376 if (CBS_mem_equal(&obj, kBuiltinPBE[i].oid, kBuiltinPBE[i].oid_len)) { in pkcs8_pbe_decrypt()
/external/boringssl/src/crypto/evp/
Dp_rsa_asn1.c75 !CBB_add_bytes(&oid, rsa_asn1_meth.oid, rsa_asn1_meth.oid_len) || in rsa_pub_encode()
122 !CBB_add_bytes(&oid, rsa_asn1_meth.oid, rsa_asn1_meth.oid_len) || in rsa_priv_encode()
Dp_ed25519_asn1.c136 !CBB_add_bytes(&oid, ed25519_asn1_meth.oid, ed25519_asn1_meth.oid_len) || in ed25519_pub_encode()
183 !CBB_add_bytes(&oid, ed25519_asn1_meth.oid, ed25519_asn1_meth.oid_len) || in ed25519_priv_encode()
Dp_ec_asn1.c78 !CBB_add_bytes(&oid, ec_asn1_meth.oid, ec_asn1_meth.oid_len) || in eckey_pub_encode()
179 !CBB_add_bytes(&oid, ec_asn1_meth.oid, ec_asn1_meth.oid_len) || in eckey_priv_encode()
Dp_x25519_asn1.c133 !CBB_add_bytes(&oid, x25519_asn1_meth.oid, x25519_asn1_meth.oid_len) || in x25519_pub_encode()
180 !CBB_add_bytes(&oid, x25519_asn1_meth.oid, x25519_asn1_meth.oid_len) || in x25519_priv_encode()
Dp_dsa_asn1.c113 !CBB_add_bytes(&oid, dsa_asn1_meth.oid, dsa_asn1_meth.oid_len) || in dsa_pub_encode()
186 !CBB_add_bytes(&oid, dsa_asn1_meth.oid, dsa_asn1_meth.oid_len) || in dsa_priv_encode()
Devp_asn1.c88 if (CBS_len(&oid) == method->oid_len && in parse_key_type()
89 OPENSSL_memcmp(CBS_data(&oid), method->oid, method->oid_len) == 0) { in parse_key_type()
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Dp_rsa_asn1.c75 !CBB_add_bytes(&oid, rsa_asn1_meth.oid, rsa_asn1_meth.oid_len) || in rsa_pub_encode()
122 !CBB_add_bytes(&oid, rsa_asn1_meth.oid, rsa_asn1_meth.oid_len) || in rsa_priv_encode()
Dp_ed25519_asn1.c136 !CBB_add_bytes(&oid, ed25519_asn1_meth.oid, ed25519_asn1_meth.oid_len) || in ed25519_pub_encode()
183 !CBB_add_bytes(&oid, ed25519_asn1_meth.oid, ed25519_asn1_meth.oid_len) || in ed25519_priv_encode()
Dp_x25519_asn1.c133 !CBB_add_bytes(&oid, x25519_asn1_meth.oid, x25519_asn1_meth.oid_len) || in x25519_pub_encode()
180 !CBB_add_bytes(&oid, x25519_asn1_meth.oid, x25519_asn1_meth.oid_len) || in x25519_priv_encode()
Dp_ec_asn1.c78 !CBB_add_bytes(&oid, ec_asn1_meth.oid, ec_asn1_meth.oid_len) || in eckey_pub_encode()
179 !CBB_add_bytes(&oid, ec_asn1_meth.oid, ec_asn1_meth.oid_len) || in eckey_priv_encode()
Dp_dsa_asn1.c113 !CBB_add_bytes(&oid, dsa_asn1_meth.oid, dsa_asn1_meth.oid_len) || in dsa_pub_encode()
182 !CBB_add_bytes(&oid, dsa_asn1_meth.oid, dsa_asn1_meth.oid_len) || in dsa_priv_encode()
Devp_asn1.c87 if (CBS_len(&oid) == method->oid_len && in parse_key_type()
88 OPENSSL_memcmp(CBS_data(&oid), method->oid, method->oid_len) == 0) { in parse_key_type()
/external/tcpdump/
Dprint-lldp.c1361 uint8_t mgmt_addr_len, intf_num_subtype, oid_len; in lldp_mgmt_addr_tlv_print() local
1405 oid_len = *tptr; in lldp_mgmt_addr_tlv_print()
1407 if (tlen < 1U + oid_len) { in lldp_mgmt_addr_tlv_print()
1410 if (oid_len) { in lldp_mgmt_addr_tlv_print()
1411 ND_PRINT((ndo, "\n\t OID length %u", oid_len)); in lldp_mgmt_addr_tlv_print()
1412 safeputs(ndo, tptr + 1, oid_len); in lldp_mgmt_addr_tlv_print()
Dprint-snmp.c300 size_t oid_len; /* length of OID */ member
754 if (i < a->oid_len) in asn1_print()
756 if (!ND_TTEST2(*p, a->oid_len)) in asn1_print()
758 if (memcmp(a->oid, p, a->oid_len) == 0) { in asn1_print()
760 i -= a->oid_len; in asn1_print()
761 p += a->oid_len; in asn1_print()
/external/boringssl/src/crypto/ec_extra/
Dec_asn1.c335 if (CBS_len(&named_curve) == curve->oid_len && in EC_KEY_parse_curve_name()
336 OPENSSL_memcmp(CBS_data(&named_curve), curve->oid, curve->oid_len) == in EC_KEY_parse_curve_name()
359 CBB_add_bytes(&child, curve->oid, curve->oid_len) && in EC_KEY_marshal_curve_name()
/external/rust/crates/quiche/deps/boringssl/src/crypto/ec_extra/
Dec_asn1.c350 if (CBS_len(&named_curve) == curve->oid_len && in EC_KEY_parse_curve_name()
351 OPENSSL_memcmp(CBS_data(&named_curve), curve->oid, curve->oid_len) == in EC_KEY_parse_curve_name()
374 CBB_add_bytes(&child, curve->oid, curve->oid_len) && in EC_KEY_marshal_curve_name()

12