History log of /external/vboot_reference/tests/rsa_verify_benchmark.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0c3ba249abb1dc60f5ebabccf84ff13206440b83 29-Mar-2013 Bill Richardson <wfrichar@chromium.org> Massive refactoring of external header files.

This reduces the number of exported header files to the minimum needed by
the existing userspace utilities and firmware implementations.

BUG=chromium:221544
BRANCH=none
TEST=manual, trybots
CQ-DEPEND=CL:47019,CL:47022,CL:47023

sudo FEATURES=test emerge vboot_reference
FEATURES=test emerge-$BOARD \
vboot_reference \
chromeos-cryptohome \
chromeos-installer \
chromeos-u-boot \
peach-u-boot \
depthcharge

Change-Id: I2946cc2dbaf5459a6c5eca92ca57d546498e6d85
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/47021
Reviewed-by: Randall Spangler <rspangler@chromium.org>
/external/vboot_reference/tests/rsa_verify_benchmark.c
32a6526d25d4bf9a1c137fc3d275d1c68935d184 27-Jun-2011 Randall Spangler <rspangler@chromium.org> Verified boot wrapper - add stub implementations for host

This is part 2 of the wrapper API refactor. It adds stub
implementations for the host, and changes the host-side utilities to
use them. Firmware implementation is unchanged in this CL (other than
a few updates to macros).

BUG=chromium_os:16997
TEST=make && make runtests

Change-Id: I63989bd11de1f2239ddae256beaccd31bfb5acef
Reviewed-on: http://gerrit.chromium.org/gerrit/3256
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Tested-by: Randall Spangler <rspangler@chromium.org>
/external/vboot_reference/tests/rsa_verify_benchmark.c
abf055045802cb06c57ff2d7b187736bdcb3b138 01-Jul-2010 Bill Richardson <wfrichar@chromium.org> Switch to using .vbprivk for signing everything now.

This makes it much simpler to keep track of what we're doing.

vbutil_key can now wrap both .keyb and .pem keys. It figures out which is
which by trying both and just using the one that works.

vbutil_keyblock and vbutil_kernel now use .vbprivk files for signing.

replace debug() with VBDEBUG(()) in host-side sources, too.

rename PrivateKeyRead to PrivateKeyReadPem

Add real PrivateKeyRead and PrivateKeyWrite for .vbprivk files.

Review URL: http://codereview.chromium.org/2871033
/external/vboot_reference/tests/rsa_verify_benchmark.c
f3dd1a6784780b36736d2ddbd3b79b4f804906ea 06-Apr-2010 Gaurav Shah <gauravsh@chromium.org> VBoot Reference: Output debug information using debug() instead of fprintf().

This should make it easier to switch off debug messages if needed.

TESTS=builds fine, autotest builds fine (using both arm/x86-generic)

Review URL: http://codereview.chromium.org/1607006
/external/vboot_reference/tests/rsa_verify_benchmark.c
5411c7a9f03f91bf2c1cd1cf852db9d4585a05c9 31-Mar-2010 Gaurav Shah <gauravsh@chromium.org> combined patch for:

http://codereview.chromium.org/1574005
http://codereview.chromium.org/1604001

Review URL: http://codereview.chromium.org/1585007
/external/vboot_reference/tests/rsa_verify_benchmark.c
21c3f7fef79e1c6830c883b484d96c059012b18f 31-Mar-2010 David Garcia <dhg@google.com> Revert "VBoot Reference: Refactor Part 2 - Crypto Libraries"

This reverts commit e018a80a37aaa45681f45f5852f04d20aedd8b2d.

Review URL: http://codereview.chromium.org/1593002
/external/vboot_reference/tests/rsa_verify_benchmark.c
d46c3470183d13db7c797f32eee0209e995b9cfc 31-Mar-2010 Gaurav Shah <gauravsh@chromium.org> VBoot Reference: Refactor Part 2 - Crypto Libraries

Removing multiple top level includes - now padding.h, rsa.h and sha.h are used internally and cryptolib.h must be used instead for all modules that wish to use crypto functions.

I am trying to separate refactors involving code movement from one file to another, and the movement of files themselves into separate CLs so that it's clear what changed.

Review URL: http://codereview.chromium.org/1574005
/external/vboot_reference/tests/rsa_verify_benchmark.c
259de40640507d6b750db99db49d176ff5adac62 13-Mar-2010 Gaurav Shah <gauravsh@chromium.org> VBoot Reference: Fix many memory leaks.

Fix memory leaks found using Valgrind, adds sanity checking to RSAPublicKey parsing code to prevent crazy behavior.

Review URL: http://codereview.chromium.org/858008
/external/vboot_reference/tests/rsa_verify_benchmark.c
456678b0c45d9fa6ad45d5dc6769051a731207f3 11-Mar-2010 Gaurav Shah <gauravsh@google.com> Vboot Reference: Make length types explicitly sized.

Review URL: http://codereview.chromium.org/744002
/external/vboot_reference/tests/rsa_verify_benchmark.c
f5564fa98c7e37b6644b92993894ebbe56306f4c 03-Mar-2010 Gaurav Shah <gauravsh@google.com> Vboot Reference: Refactor Code.

This CL does the following:
1) It adds a SignatureBuf function which uses the OpenSSL library to generate RSA signature. This is more robust than the previous way of invoking the command line "openssl" utility and capturing its output. No more unnecessary temporary files for signature operations.
2) It adds functions that allow direct manipulation of binary verified Firmware and Kernel Image blobs in memory.
3) It changes the structure field members for FirmwareImage to make it consistent with KernelImage. Now it's clearer which key is used when.
4) Minor bug fixes and slightly improved API for dealing verified boot firmware and kernel images.
5) Renames the RSA_verify function to prevent conflicts with OpenSSL since it's linked into the firmware utility binary.

Review URL: http://codereview.chromium.org/661353
/external/vboot_reference/tests/rsa_verify_benchmark.c
c7daf38f7017a63eb71edbd17be06dc6e740744a 02-Mar-2010 Gaurav Shah <gauravsh@google.com> Fix a typo in the RSA benchmark.

Also fix error handling in RSAPublicKeyFromBuf().

BUG=1210
TEST=none

Review URL: http://codereview.chromium.org/660310
/external/vboot_reference/tests/rsa_verify_benchmark.c
cae5fa613a947288262a63a2b89d1ffbb633f673 01-Mar-2010 Gaurav Shah <gauravsh@google.com> Refactor siglen_map[] to store key size in bytes instead of 32-bit words.

Review URL: http://codereview.chromium.org/660261
/external/vboot_reference/tests/rsa_verify_benchmark.c
8b95c703730da8a73219c50a6ddb668ea8fc414c 28-Feb-2010 Gaurav Shah <gauravsh@google.com> Make crypto benchmark output compatible with autotest.

Review URL: http://codereview.chromium.org/660228
/external/vboot_reference/tests/rsa_verify_benchmark.c
23a2f3a6c5c706fe4a0ca7c1b6f4bb26eb5ef436 27-Feb-2010 Gaurav Shah <gauravsh@google.com> Vboot reference: A basic user-land verified boot firmware signing and verification utility.

This is a first cut at what I envision as a utility we can use to manage our firmware/kernel signing needs. Currently, it implements firmware signing (given a binary image, create a verified boot header) and verification (given a verified boot image, verify it using the given public root key).

This CL also fixes the ReadFirmwareImage function from firmware_image to make it more consistent and fixes some bugs.

Review URL: http://codereview.chromium.org/652216
/external/vboot_reference/tests/rsa_verify_benchmark.c
52898d3c268e1cdb695b1c9a25fb4190d84a24f8 18-Feb-2010 Gaurav Shah <gauravsh@google.com> Vboot Reference: Add a RSA verify benchmark.

In addtion, add test cases and a script to generate them for benchmarking. Also fixes a path problem with the run_rsa_tests.sh script.

Review URL: http://codereview.chromium.org/626011
/external/vboot_reference/tests/rsa_verify_benchmark.c