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

Unified Diff: src/platform/vboot_reference/crypto/genpadding.sh

Issue 1593002: Revert "VBoot Reference: Refactor Part 2 - Crypto Libraries" (Closed)
Patch Set: Created 10 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/platform/vboot_reference/crypto/padding.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/crypto/genpadding.sh
diff --git a/src/platform/vboot_reference/crypto/genpadding.sh b/src/platform/vboot_reference/crypto/genpadding.sh
index e429ddc2bbbb677a91d60eff9197d83639c5af58..6086c8de17b63b0cd7cc02684e3c9748fa7704ff 100755
--- a/src/platform/vboot_reference/crypto/genpadding.sh
+++ b/src/platform/vboot_reference/crypto/genpadding.sh
@@ -172,18 +172,6 @@ done
echo "};"
echo
-# Generate signature algorithm to messge digest algorithm map.
-echo "const int hash_type_map[] = {"
-for rsaalgo in ${RSAAlgos[@]}
-do
- for hashalgo in ${HashAlgos[@]}
- do
- echo ${hashalgo}_DIGEST_ALGORITHM,
- done
-done
-echo "};"
-echo
-
# Generate algorithm to message digest's output size map.
echo "const int hash_size_map[NUMALGORITHMS] = {"
for rsaalgo in ${RSAAlgos[@]}
« no previous file with comments | « no previous file | src/platform/vboot_reference/crypto/padding.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698