Searched refs:sig_der (Results 1 – 1 of 1) sorted by relevance
/bootable/recovery/ |
D | verifier.cpp | 65 std::vector<uint8_t>* sig_der) { in read_pkcs7() argument 66 CHECK(sig_der != nullptr); in read_pkcs7() 67 sig_der->clear(); in read_pkcs7() 110 sig_der->resize(sig_der_length); in read_pkcs7() 111 std::copy(sig_der_ptr, sig_der_ptr + sig_der_length, sig_der->begin()); in read_pkcs7() 246 std::vector<uint8_t> sig_der; in verify_file() local 247 if (!read_pkcs7(signature, signature_size, &sig_der)) { in verify_file() 274 if (!RSA_verify(hash_nid, hash, key.hash_len, sig_der.data(), sig_der.size(), in verify_file() 283 if (!ECDSA_verify(0, hash, key.hash_len, sig_der.data(), sig_der.size(), key.ec.get())) { in verify_file()
|