Searched refs:nid (Results 1 – 6 of 6) sorted by relevance
/system/core/adb/tls/ |
D | adb_ca_list.cpp | 42 int X509_NAME_add_entry_by_NID_const(X509_NAME* name, int nid, int type, const unsigned char* bytes, in X509_NAME_add_entry_by_NID_const() argument 44 return X509_NAME_add_entry_by_NID(name, nid, type, const_cast<unsigned char*>(bytes), len, loc, in X509_NAME_add_entry_by_NID_const() 54 std::optional<std::string> GetX509NameTextByNid(X509_NAME* name, int nid) { in GetX509NameTextByNid() argument 56 int len = X509_NAME_get_text_by_NID(name, nid, nullptr, -1); in GetX509NameTextByNid() 63 CHECK(X509_NAME_get_text_by_NID(name, nid, buf.data(), buf.size())); in GetX509NameTextByNid()
|
/system/extras/libfec/ |
D | avb_utils.cpp | 137 int nid = -1; in parse_avb_image() local 139 nid = NID_sha1; in parse_avb_image() 141 nid = NID_sha256; in parse_avb_image() 149 nid); in parse_avb_image()
|
D | fec_verity.cpp | 142 const std::vector<uint8_t> &salt, int nid) { in initialize() argument 143 check(nid == NID_sha256 || nid == NID_sha1); in initialize() 148 this->nid_ = nid; in initialize() 150 digest_length_ = nid == NID_sha1 ? SHA_DIGEST_LENGTH : SHA256_DIGEST_LENGTH; in initialize()
|
D | fec_private.h | 91 const std::vector<uint8_t> &salt, int nid);
|
/system/core/adb/crypto/ |
D | x509_generator.cpp | 37 bool add_ext(X509* cert, int nid, const char* value) { in add_ext() argument 45 X509_EXTENSION* ex = X509V3_EXT_nconf_nid(nullptr, &context, nid, mutableValue.data()); in add_ext()
|
/system/core/adb/tls/tests/ |
D | tls_connection_test.cpp | 195 int nid; member 234 CHECK(X509_NAME_add_entry_by_NID(name.get(), attr.nid, MBSTRING_ASC, in GetCAIssuerList() 553 EXPECT_EQ(X509_NAME_get_text_by_NID(name, attr.nid, in TEST_F()
|