diff options
Diffstat (limited to 'firmware/lib20/api_kernel.c')
-rw-r--r-- | firmware/lib20/api_kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/lib20/api_kernel.c b/firmware/lib20/api_kernel.c index 0c8b598b..ee5c41a9 100644 --- a/firmware/lib20/api_kernel.c +++ b/firmware/lib20/api_kernel.c @@ -213,7 +213,7 @@ int vb2api_verify_kernel_data(struct vb2_context *ctx, if (!sd->workbuf_data_key_size) return VB2_ERROR_API_VERIFY_KDATA_KEY; - rv = vb2_unpack_key(&key, + rv = vb2_unpack_key_buffer(&key, ctx->workbuf + sd->workbuf_data_key_offset, sd->workbuf_data_key_size); if (rv) |