Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/lib/cryptolib/
Drsa_utility.c89 RSAPublicKey* verification_key = NULL; in RSAVerifyBinary_f() local
102 verification_key = RSAPublicKeyFromBuf(key_blob, key_size); in RSAVerifyBinary_f()
104 verification_key = (RSAPublicKey*) key; /* Supress const warning. */ in RSAVerifyBinary_f()
109 if (!verification_key) in RSAVerifyBinary_f()
113 success = RSAVerify(verification_key, sig, (uint32_t)sig_size, in RSAVerifyBinary_f()
118 RSAPublicKeyFree(verification_key); /* Only free if we allocated it. */ in RSAVerifyBinary_f()
129 RSAPublicKey* verification_key = NULL; in RSAVerifyBinaryWithDigest_f() local
141 verification_key = RSAPublicKeyFromBuf(key_blob, key_size); in RSAVerifyBinaryWithDigest_f()
143 verification_key = (RSAPublicKey*) key; /* Supress const warning. */ in RSAVerifyBinaryWithDigest_f()
148 if (!verification_key) in RSAVerifyBinaryWithDigest_f()
[all …]