diff options
Diffstat (limited to 'firmware/2lib/2packed_key.c')
-rw-r--r-- | firmware/2lib/2packed_key.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/firmware/2lib/2packed_key.c b/firmware/2lib/2packed_key.c deleted file mode 100644 index 00262866..00000000 --- a/firmware/2lib/2packed_key.c +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2019 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - * - * Packed key related functions. - */ - -#include "2common.h" - -const uint8_t *vb2_packed_key_data(const struct vb2_packed_key *key) -{ - return (const uint8_t *)key + key->key_offset; -} - -int vb2_verify_packed_key_inside(const void *parent, - uint32_t parent_size, - const struct vb2_packed_key *key) -{ - return vb2_verify_member_inside(parent, parent_size, - key, sizeof(*key), - key->key_offset, key->key_size); -} |