mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-23 17:55:01 +00:00
Another in a continued stream of refactoring. This change removes more of the vb1 rsa library code and associated tests, in favor of their vb2 equivalents. This change touches only host-side code and its tests, not firmware. BUG=chromium:611535 BRANCH=none TEST=make runtests; emerge-kevin coreboot depthcharge Change-Id: I1973bc2f03c60da62232e30bab0fa5fe791b6b34 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/400901
32 lines
603 B
C
32 lines
603 B
C
/* Copyright (c) 2010 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 tests for the presence of functions used by vboot_reference utilities.
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "host_common.h"
|
|
#include "file_keys.h"
|
|
#include "signature_digest.h"
|
|
|
|
int main(void)
|
|
{
|
|
/* host_misc.h */
|
|
ReadFile(0, 0);
|
|
WriteFile(0, 0, 0);
|
|
|
|
/* file_keys.h */
|
|
DigestFile(0, 0, 0, 0);
|
|
|
|
/* signature_digest.h */
|
|
PrependDigestInfo(0, 0);
|
|
SignatureDigest(0, 0, 0);
|
|
SignatureBuf(0, 0, 0, 0);
|
|
|
|
return 0;
|
|
}
|