Home
last modified time | relevance | path

Searched refs:algor (Results 1 – 2 of 2) sorted by relevance

/system/security/ondevice-signing/
DCertUtils.cpp139 bssl::UniquePtr<X509_ALGOR> algor(X509_ALGOR_new()); in createSelfSignedCertificate() local
140 if (!algor || in createSelfSignedCertificate()
141 !X509_ALGOR_set0(algor.get(), OBJ_nid2obj(NID_sha256WithRSAEncryption), V_ASN1_NULL, in createSelfSignedCertificate()
143 !X509_set1_signature_algo(x509.get(), algor.get())) { in createSelfSignedCertificate()
/system/keymaster/km_openssl/
Dcertificate_utils.cpp49 X509_ALGOR_Ptr algor(X509_ALGOR_new()); in fake_sign_cert() local
50 if (!algor.get()) { in fake_sign_cert()
53 X509_ALGOR_set0(algor.get(), OBJ_nid2obj(NID_sha256WithRSAEncryption), V_ASN1_NULL, nullptr); in fake_sign_cert()
57 if (!X509_set1_signature_algo(cert, algor.get()) || in fake_sign_cert()