Home
last modified time | relevance | path

Searched refs:verification_key (Results 1 – 2 of 2) 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 …]
/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djwt_verifier.cc636 EVP_PKEY* verification_key = nullptr; in on_keys_retrieved() local
644 verification_key = in on_keys_retrieved()
646 if (verification_key == nullptr) { in on_keys_retrieved()
653 if (!verify_jwt_signature(verification_key, ctx->header->alg, ctx->signature, in on_keys_retrieved()
668 EVP_PKEY_free(verification_key); in on_keys_retrieved()