mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-16 21:07:26 +00:00
Revert "Verified boot wrapper - replace utility functions"
This reverts commit 0184886c8cb35e8e01d610622df448a7cb063e06 (This works with uboot-next, but not uboot, which doesn't implement its half of the new wrapper API. So rolling back to leave uboot working. Change-Id: I1f9e3c63e5bbdb20b9195cd68787bef89f24afee Reviewed-on: http://gerrit.chromium.org/gerrit/3588 Reviewed-by: Randall Spangler <rspangler@chromium.org> Tested-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
/* 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.
|
||||
*/
|
||||
@@ -107,7 +107,7 @@ typedef struct DigestContext {
|
||||
|
||||
/* Initialize a digest context for use with signature algorithm [algorithm]. */
|
||||
void DigestInit(DigestContext* ctx, int sig_algorithm);
|
||||
void DigestUpdate(DigestContext* ctx, const uint8_t* data, uint32_t len);
|
||||
void DigestUpdate(DigestContext* ctx, const uint8_t* data, uint64_t len);
|
||||
|
||||
/* Caller owns the returned digest and must free it. */
|
||||
uint8_t* DigestFinal(DigestContext* ctx);
|
||||
|
||||
Reference in New Issue
Block a user