diff options
-rw-r--r-- | firmware/2lib/include/2sha.h | 4 | ||||
-rw-r--r-- | firmware/include/vb2_sha.h | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/firmware/2lib/include/2sha.h b/firmware/2lib/include/2sha.h index 38b8a816..f41d8e15 100644 --- a/firmware/2lib/include/2sha.h +++ b/firmware/2lib/include/2sha.h @@ -3,8 +3,8 @@ * found in the LICENSE file. * * These APIs may be called by external firmware as well as vboot. External - * firmware must NOT include this header file directly; instead, define - * NEED_VB2_SHA_LIBRARY and include vb2api.h. This is permissible because the + * firmware must NOT include this header file directly; instead, import + * the external-facing vb2_sha.h. This is permissible because the * SHA library routines below don't interact with the rest of vboot. */ diff --git a/firmware/include/vb2_sha.h b/firmware/include/vb2_sha.h new file mode 100644 index 00000000..fe8b2aaf --- /dev/null +++ b/firmware/include/vb2_sha.h @@ -0,0 +1,13 @@ +/* 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. + * + * This header may be imported to expose vboot SHA implemenation. + */ + +#ifndef VBOOT_REFERENCE_VB2_SHA_H_ +#define VBOOT_REFERENCE_VB2_SHA_H_ + +#include "../2lib/include/2sha.h" + +#endif /* VBOOT_REFERENCE_VB2_SHA_H_ */ |