summaryrefslogtreecommitdiff
path: root/firmware/2lib/2api.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/2lib/2api.c')
-rw-r--r--firmware/2lib/2api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/2lib/2api.c b/firmware/2lib/2api.c
index 95dc6c2d..28de8348 100644
--- a/firmware/2lib/2api.c
+++ b/firmware/2lib/2api.c
@@ -355,7 +355,7 @@ vb2_error_t vb2api_check_hash_get_digest(struct vb2_context *ctx,
vb2_member_of(sd, sd->data_key_offset),
sd->data_key_size));
- key.allow_hwcrypto = vb2_hwcrypto_rsa_allowed(ctx);
+ key.allow_hwcrypto = vb2_hwcrypto_allowed(ctx);
/*
* Check digest vs. signature. Note that this destroys the signature.