Home
last modified time | relevance | path

Searched refs:cert_len (Results 1 – 5 of 5) sorted by relevance

/system/security/keystore2/test_utils/
Dffi_test_utils.hpp6 bool validateCertChain(rust::Vec<rust::u8> cert_buf, uint32_t cert_len, bool strict_issuer_check);
Dffi_test_utils.rs31 fn validateCertChain(cert_buf: Vec<u8>, cert_len: u32, strict_issuer_check: bool) -> bool; in validateCertChain()
Dffi_test_utils.cpp269 bool validateCertChain(rust::Vec<rust::u8> cert_buf, uint32_t cert_len, bool strict_issuer_check) { in validateCertChain() argument
271 if (cert_len <= 0) { in validateCertChain()
/system/security/keystore2/src/crypto/
Dcrypto.hpp89 int extractSubjectFromCertificate(const uint8_t* cert_buf, size_t cert_len,
Dcrypto.cpp284 int extractSubjectFromCertificate(const uint8_t* cert_buf, size_t cert_len, uint8_t* subject_buf, in extractSubjectFromCertificate() argument
292 bssl::UniquePtr<X509> cert(d2i_X509(nullptr /* Allocate X509 struct */, &p, cert_len)); in extractSubjectFromCertificate()