Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Side by Side Diff: src/platform/vboot_reference/scripts/sign_data.sh

Issue 1581005: VBoot Reference: Refactoring Part 3 (Closed)
Patch Set: . Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 if [ $# -ne 3 ] 7 if [ $# -ne 3 ]
8 then 8 then
9 echo "Usage: `basename $0` <algorithm> <key file> <input file>" 9 echo "Usage: `basename $0` <algorithm> <key file> <input file>"
10 exit -1 10 exit -1
11 fi 11 fi
12 12
13 ./signature_digest $1 $3 | openssl rsautl -sign -pkcs -inkey $2 13 ./signature_digest $1 $3 | openssl rsautl -sign -pkcs -inkey $2
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/scripts/genpadding.sh ('k') | src/platform/vboot_reference/tests/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698