Home
last modified time | relevance | path

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

/external/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/pkcs8/
Dp5_pbev2.c86 uint8_t oid_len; member
119 if (CBS_mem_equal(cbs, kCipherOIDs[i].oid, kCipherOIDs[i].oid_len)) { in cbs_to_cipher()
133 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.c80 !CBB_add_bytes(&oid, ed25519_asn1_meth.oid, ed25519_asn1_meth.oid_len) || in ed25519_pub_encode()
132 !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_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.c86 if (CBS_len(&oid) == method->oid_len && in parse_key_type()
87 OPENSSL_memcmp(CBS_data(&oid), method->oid, method->oid_len) == 0) { in parse_key_type()
Dinternal.h72 uint8_t oid_len; member
/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.c338 if (CBS_len(&named_curve) == curve->oid_len && in EC_KEY_parse_curve_name()
339 OPENSSL_memcmp(CBS_data(&named_curve), curve->oid, curve->oid_len) == in EC_KEY_parse_curve_name()
362 CBB_add_bytes(&child, curve->oid, curve->oid_len) && in EC_KEY_marshal_curve_name()
/external/boringssl/src/crypto/fipsmodule/ec/
Dec.c223 out->curves[0].oid_len = sizeof(kOIDP521); in DEFINE_METHOD_FUNCTION()
233 out->curves[1].oid_len = sizeof(kOIDP384); in DEFINE_METHOD_FUNCTION()
244 out->curves[2].oid_len = sizeof(kOIDP256); in DEFINE_METHOD_FUNCTION()
260 out->curves[3].oid_len = sizeof(kOIDP224); in DEFINE_METHOD_FUNCTION()
Dinternal.h474 uint8_t oid_len; member