Home
last modified time | relevance | path

Searched refs:nid (Results 1 – 7 of 7) sorted by relevance

/system/security/keystore2/src/crypto/
Dcertificate_utils.cpp526 int nid = 0; in makeAndSetAlgo() local
531 nid = NID_ecdsa_with_SHA1; in makeAndSetAlgo()
534 nid = NID_ecdsa_with_SHA224; in makeAndSetAlgo()
537 nid = NID_ecdsa_with_SHA256; in makeAndSetAlgo()
540 nid = NID_ecdsa_with_SHA384; in makeAndSetAlgo()
543 nid = NID_ecdsa_with_SHA512; in makeAndSetAlgo()
555 nid = NID_sha1WithRSAEncryption; in makeAndSetAlgo()
558 nid = NID_sha224WithRSAEncryption; in makeAndSetAlgo()
561 nid = NID_sha256WithRSAEncryption; in makeAndSetAlgo()
564 nid = NID_sha384WithRSAEncryption; in makeAndSetAlgo()
[all …]
/system/extras/libfec/
Davb_utils.cpp137 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()
Dfec_verity.cpp142 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()
Dfec_private.h91 const std::vector<uint8_t> &salt, int nid);
/system/security/keystore2/src/database/
Dutils.rs148 (@gen_consts {} {$($n:ident $nid:tt,)*} {$($count:tt)*}) => {
153 const $n: i64 = $nid;
/system/security/ondevice-signing/
DCertUtils.cpp40 static bool add_ext(X509* cert, int nid, const char* value) { in add_ext() argument
48 X509_EXTENSION* ex = X509V3_EXT_nconf_nid(nullptr, &context, nid, mutableValue.data()); in add_ext()
/system/security/keystore2/src/crypto/tests/
Dcertificate_utils_test.cpp112 static const char* curveNidToString(int nid) { in curveNidToString() argument
113 switch (nid) { in curveNidToString()