summaryrefslogtreecommitdiff
path: root/src/vendorcode/eltan/security/include/cb_sha.h
diff options
context:
space:
mode:
authorWim Vervoorn <wvervoorn@eltan.com>2020-01-27 15:47:44 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-02-05 09:31:42 +0000
commit821004776ffbf2a7d0bc321bdf094cff13dfcc09 (patch)
treecf6eae2211d599533a35147a713a446b6d4b8bd8 /src/vendorcode/eltan/security/include/cb_sha.h
parent7a4983d1d2731cf3ea82016b6b8009668c1fc3f2 (diff)
downloadcoreboot-821004776ffbf2a7d0bc321bdf094cff13dfcc09.tar.xz
vendorcode/eltan/security: Switch to vb2 vboot library
The eltan verified_boot is using the vboot 2.1 data structures and code, as well as the fwlib21 build target, they are all deprecated. Refer to CB:37654 for more information. The verified_boot code is updated to use the vb2 structures and code and make sure only public functions are used. BUG=N/A TEST=build Change-Id: I1e1a7bce6110fe35221a4d7a47c1eb7c7074c318 Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38590 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Diffstat (limited to 'src/vendorcode/eltan/security/include/cb_sha.h')
-rw-r--r--src/vendorcode/eltan/security/include/cb_sha.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/vendorcode/eltan/security/include/cb_sha.h b/src/vendorcode/eltan/security/include/cb_sha.h
deleted file mode 100644
index 9a231d8a1e..0000000000
--- a/src/vendorcode/eltan/security/include/cb_sha.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2018-2019, Eltan B.V.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- */
-
-#ifndef __SECURITY_CB_SHA_H__
-#define __SECURITY_CB_SHA_H__
-
-#include <2rsa.h>
-#include <vb21_common.h>
-#include <vb2_api.h>
-
-vb2_error_t cb_sha_little_endian(enum vb2_hash_algorithm hash_alg, const uint8_t *data,
- uint32_t len, uint8_t *digest);
-
-#endif