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

Side by Side Diff: src/platform/vboot_reference/scripts/genpadding.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 # Script to generate padding.c containing PKCS 1.5 padding byte arrays for 7 # Script to generate padding.c containing PKCS 1.5 padding byte arrays for
8 # various combinations of RSA key lengths and message digest algorithms. 8 # various combinations of RSA key lengths and message digest algorithms.
9 9
10 Pad_Preamble="0x00,0x01" 10 Pad_Preamble="0x00,0x01"
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 do 227 do
228 for hashalgo in ${HashAlgos[@]} 228 for hashalgo in ${HashAlgos[@]}
229 do 229 do
230 echo \"${rsaalgo} ${hashalgo}\", 230 echo \"${rsaalgo} ${hashalgo}\",
231 done 231 done
232 done 232 done
233 echo "};" 233 echo "};"
234 echo 234 echo
235 235
236 #echo "#endif /* VBOOT_REFERENCE_PADDING_H_ */" 236 #echo "#endif /* VBOOT_REFERENCE_PADDING_H_ */"
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/misclibs/signature_digest.c ('k') | src/platform/vboot_reference/scripts/sign_data.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698