blob: a9732debe56adb4394730e3cb1d8d59f65818be1 [file] [log] [blame]
/* 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.
/* Reads a pre-processed key of a [len] bytes from [input_file] and
* returns it in a RSAPublicKey structure.
* Caller owns the returned key and must free it.
RSAPublicKey* read_RSAkey(char *input_file, int len);
/* Return a signature of [len] bytes read from [input_file].
* Caller owns the returned signature and must free it.
uint8_t* read_signature(char *input_file, int len);