mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-27 03:33:50 +00:00
vboot_reference originally used 2-space indentation, rather than kernel-style tabs. This makes it painful to maintain given that newer source files are kernel-style. Re-indent the files that need it, and reflow comments. No functionality changes. BUG=none BRANCH=none TEST=make runtests Change-Id: I7dabed41f69434b1988a52600c0cb1eac8c8d7e6 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/396488 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
34 lines
652 B
C
34 lines
652 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 */
|
|
BufferFromFile(0, 0);
|
|
RSAPublicKeyFromFile(0);
|
|
DigestFile(0, 0, 0, 0);
|
|
|
|
/* signature_digest.h */
|
|
PrependDigestInfo(0, 0);
|
|
SignatureDigest(0, 0, 0);
|
|
SignatureBuf(0, 0, 0, 0);
|
|
|
|
return 0;
|
|
}
|