-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from cppalliance/prototype_cavs_sha1
Fix #19 via prototype NIST CAVS sha1 vecs
- Loading branch information
Showing
9 changed files
with
1,471 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
There are two sets of SHA example files: | ||
|
||
1. The response (.rsp) files contain properly formatted CAVS response files. | ||
|
||
2. The intermediate value (.txt) files for the Monte Carlo tests contain | ||
values for the inner loop as shown in the pseudocode in Figure 1 on page 9 | ||
of the SHA Validation System. The inner loop variable 'i' ranges in value | ||
from 3 to 1002. The intermediate values for the first five iterations of | ||
the inner loop therefore correspond to 'i' values of 3 to 7. The message (M) | ||
and the message digest (MDi) for each of these i are printed out, indented | ||
by one tab space. The final message digest (MD), not indented, is the last | ||
value printed for each count. | ||
|
||
|
||
The SHA Validation System document can be found at: | ||
|
||
http://csrc.nist.gov/groups/STM/cavp/documents/shs/SHAVS.pdf. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,309 @@ | ||
# CAVS 11.1 | ||
# "SHA-1 Monte" information for "sha_values" | ||
# SHA tests are configured for BYTE oriented implementations | ||
# Generated on Wed May 11 17:26:02 2011 | ||
|
||
[L = 20] | ||
|
||
Seed = dd4df644eaf3d85bace2b21accaa22b28821f5cd | ||
|
||
COUNT = 0 | ||
MD = 11f5c38b4479d4ad55cb69fadf62de0b036d5163 | ||
|
||
COUNT = 1 | ||
MD = 5c26de848c21586bec36995809cb02d3677423d9 | ||
|
||
COUNT = 2 | ||
MD = 453b5fcf263d01c891d7897d4013990f7c1fb0ab | ||
|
||
COUNT = 3 | ||
MD = 36d0273ae363f992bbc313aa4ff602e95c207be3 | ||
|
||
COUNT = 4 | ||
MD = d1c65e9ac55727fbf30eaf5f00cc22b9bab81a2c | ||
|
||
COUNT = 5 | ||
MD = 2c477cd77e5749da7fc4e5ca7eed77166e8ceae6 | ||
|
||
COUNT = 6 | ||
MD = 60b11211137f46863501a32a435976eabd4532f3 | ||
|
||
COUNT = 7 | ||
MD = 0894f4f012a1e5344044e0ecfa6f078382064602 | ||
|
||
COUNT = 8 | ||
MD = 06b6222855cae9bed77e9e3050d164a98286ea5f | ||
|
||
COUNT = 9 | ||
MD = e2872694d3d23a68a24419c35bd9ac9006248a8f | ||
|
||
COUNT = 10 | ||
MD = ea43595eb1cff3a7e045c5868d0775b4409b14a3 | ||
|
||
COUNT = 11 | ||
MD = 05a9e94fdc792a61aa60bcd37592acee1f983280 | ||
|
||
COUNT = 12 | ||
MD = 7d11aa9413cd89a387a5c0f9aa5ce541be2aa6e8 | ||
|
||
COUNT = 13 | ||
MD = 37297d053aaa4a845cc9ce0c0165644ab8d0e00b | ||
|
||
COUNT = 14 | ||
MD = d9dcde396d69748c1fe357f8b662a27ce89082c8 | ||
|
||
COUNT = 15 | ||
MD = 737a484499b6858b14e656c328979e8aa56b0a43 | ||
|
||
COUNT = 16 | ||
MD = 4e9c8b3bce910432ac2ad17d51e6b9ec4f92c1ad | ||
|
||
COUNT = 17 | ||
MD = 62325b9a7cebcc6da3bfe781d84eb53a6eb7b019 | ||
|
||
COUNT = 18 | ||
MD = 4710670e071609d470f7d628d8ea978dfb9234ac | ||
|
||
COUNT = 19 | ||
MD = 23baee80eee052f3263ac26dd12ea6504a5bd234 | ||
|
||
COUNT = 20 | ||
MD = 9451efb9c9586a403747acfa3ec74d359bb9d7ff | ||
|
||
COUNT = 21 | ||
MD = 37e9d7c81b79f090c8e05848050936c64a1bd662 | ||
|
||
COUNT = 22 | ||
MD = a6489ff37141f7a86dd978f685fdd4789d1993dc | ||
|
||
COUNT = 23 | ||
MD = 39650d32501dfcee212d0de10af9db47e4e5af65 | ||
|
||
COUNT = 24 | ||
MD = cd4ea3474e046b281da5a4bf69fd873ef8d568d6 | ||
|
||
COUNT = 25 | ||
MD = 0d7b518c07c6da877eee35301a99c7563f1840df | ||
|
||
COUNT = 26 | ||
MD = 68a70ae466532f7f61af138889c0d3f9670f3590 | ||
|
||
COUNT = 27 | ||
MD = c0222aae5fd2b9eff143ac93c4493abe5c8806af | ||
|
||
COUNT = 28 | ||
MD = d2efc5aa0b29db15f3e5de82aaa0a8ce888ffb2f | ||
|
||
COUNT = 29 | ||
MD = eec4f55d02c627dcee36b5b5606603bdc9a94a26 | ||
|
||
COUNT = 30 | ||
MD = 0e706fb1a1fa26aab74efcef57ab6a49c07ca7bd | ||
|
||
COUNT = 31 | ||
MD = 2ea392ca8043686424f7e9500edfb9e9297943f7 | ||
|
||
COUNT = 32 | ||
MD = 74737ef257b32a4cb9428c866b65bee62ccbe653 | ||
|
||
COUNT = 33 | ||
MD = df3e86e49a0429fa81f553b04b9fc003510e9a51 | ||
|
||
COUNT = 34 | ||
MD = 79c3049944fbf8b80dadadc7f5174e5cfdf996de | ||
|
||
COUNT = 35 | ||
MD = f25e2eca4cfb6da8e8b7b62f581672fab80754fa | ||
|
||
COUNT = 36 | ||
MD = 76509239d9fd6c6f050c0d9b3777b5645e4d4c70 | ||
|
||
COUNT = 37 | ||
MD = cf4bb3e1f330c862e239d9b010bd842f302bd227 | ||
|
||
COUNT = 38 | ||
MD = 4eeac7ab2ac9e4c81ed1a93a300b2af75beddb08 | ||
|
||
COUNT = 39 | ||
MD = 46443ba72a64fff4b5252fbac9ef93c2949f8585 | ||
|
||
COUNT = 40 | ||
MD = 5e9c42482343a54aadb11ab00c2e00cbe25ec91a | ||
|
||
COUNT = 41 | ||
MD = 93acee1977128f2a4218678b32e2844f23eb526b | ||
|
||
COUNT = 42 | ||
MD = 226065d299b2d6c582d386897b93f2adf14de00b | ||
|
||
COUNT = 43 | ||
MD = 672fed0d90c21d4ec0111a7284bcf1bbd72af9bd | ||
|
||
COUNT = 44 | ||
MD = 90d642f12f28cb3dad7daad84cf0f94ded1137ae | ||
|
||
COUNT = 45 | ||
MD = 4a2815b58ffc858e5e7e9e6106765458d2af4ec3 | ||
|
||
COUNT = 46 | ||
MD = 29fa3679032421b78b7a08c54766c1592f6739c1 | ||
|
||
COUNT = 47 | ||
MD = 19f4e30393eb66c6e200744fa8999d224e6df173 | ||
|
||
COUNT = 48 | ||
MD = 30650026be77212088ab50438e04b4b8e3761977 | ||
|
||
COUNT = 49 | ||
MD = 993d0e135bcd598fa673c6f19251bcbde18b7b34 | ||
|
||
COUNT = 50 | ||
MD = c9eaf20b473219a70efe85940620426c6ff6f4a4 | ||
|
||
COUNT = 51 | ||
MD = 6325d0b83c308bd42854ce69446e85ba36348d7d | ||
|
||
COUNT = 52 | ||
MD = 2fb354f8a68030efb747f78812060a9c05e92164 | ||
|
||
COUNT = 53 | ||
MD = a7e33bd16f770c17e8818ad5a5fc4fee673eae56 | ||
|
||
COUNT = 54 | ||
MD = ff23e7105bc9f4dad0fb9c6519d1eae16439a5d6 | ||
|
||
COUNT = 55 | ||
MD = a31aca821e163213cd2ae84cf56c1134daa4a621 | ||
|
||
COUNT = 56 | ||
MD = 94ab9cfd4cf9bf2e4409dbcdc9ef2c8b611cc69d | ||
|
||
COUNT = 57 | ||
MD = c0194064ce48dde771b7871efa86a4a6e87eec76 | ||
|
||
COUNT = 58 | ||
MD = f1a9065e3e7f98753c6f833f5ffe74133f6b887f | ||
|
||
COUNT = 59 | ||
MD = b8b3cd6ca1d5b5610e43212f8df75211aaddcf96 | ||
|
||
COUNT = 60 | ||
MD = 33c3a8d739cc2f83be597aa11c43e2ad6f0d2436 | ||
|
||
COUNT = 61 | ||
MD = 4f5c67e5110f3663b7aa88759dbba6fa82f2d705 | ||
|
||
COUNT = 62 | ||
MD = b1ebc87c7b2b8fe73e7a882d3f4f0492946e0d7c | ||
|
||
COUNT = 63 | ||
MD = 01566616fe4a8c7cf22f21031ac6ea7fb7ce15db | ||
|
||
COUNT = 64 | ||
MD = 5650f3517a393792781d23b4c9d360bf8bd31d65 | ||
|
||
COUNT = 65 | ||
MD = a4fdbd24cb4a328b898b804b103caa98baedd3fa | ||
|
||
COUNT = 66 | ||
MD = 0cf01eecec4b85aa39f40aa9b4dce208d68eb17b | ||
|
||
COUNT = 67 | ||
MD = ae9ac147bab7c10609abe6e931a5ab087a41dc5a | ||
|
||
COUNT = 68 | ||
MD = c0328145ce63fb0aceeb414e791d2be92009b1ec | ||
|
||
COUNT = 69 | ||
MD = 60343e5fb7eee00d31ea507b820ddbb7ef405dc7 | ||
|
||
COUNT = 70 | ||
MD = e0b97cd9149ff9955b6a35b3a79ecb3bdbd2a5a5 | ||
|
||
COUNT = 71 | ||
MD = 4e4fdcd382ae0f3f4fbda5fd934eee0d6ad37df5 | ||
|
||
COUNT = 72 | ||
MD = 9d97dd237d193482cf3ab862a38843762e69077f | ||
|
||
COUNT = 73 | ||
MD = 2bc927d17ff2f8a844f6f36a944a64d73d431192 | ||
|
||
COUNT = 74 | ||
MD = b91200306b769aab18e5e411b5bd5e7bce1cc80e | ||
|
||
COUNT = 75 | ||
MD = c47493a666085e1b7a75618761a80c402f46546d | ||
|
||
COUNT = 76 | ||
MD = 31355869b80ff84fac239db694ada07d3be26b15 | ||
|
||
COUNT = 77 | ||
MD = 1a2022f6330bf96f025cb7d8f0201a7d70b3b58e | ||
|
||
COUNT = 78 | ||
MD = 0f60d7c5ad49efce939c3a27da9973f7f1747848 | ||
|
||
COUNT = 79 | ||
MD = ceada087801616fc6c08cfa469658f3dc5239ca7 | ||
|
||
COUNT = 80 | ||
MD = 4ad0cf9181122b06df714397bd5366aa90bfc9fa | ||
|
||
COUNT = 81 | ||
MD = ac6404e6b9d5c0fa17fa77fd39850f22b76ecd83 | ||
|
||
COUNT = 82 | ||
MD = f0658218adffb9ee9328577854b6387393957a3a | ||
|
||
COUNT = 83 | ||
MD = 6fe9992747897389957b9a91467a4ec983829ab6 | ||
|
||
COUNT = 84 | ||
MD = 74320b3ddde6dbfbdad3ad29a7695f5a275b2105 | ||
|
||
COUNT = 85 | ||
MD = 2009ea5d6452f51d12477740e374e0e313134779 | ||
|
||
COUNT = 86 | ||
MD = 7dbf33d7125709f101fea4ec03436ab95a900c28 | ||
|
||
COUNT = 87 | ||
MD = 0c05b78e324cb265bd6adc7452249eaa85bccb3f | ||
|
||
COUNT = 88 | ||
MD = 10c1b9b2de8a9050fb6f4b10a99f7e1e47159f25 | ||
|
||
COUNT = 89 | ||
MD = 20072c1f691142d9b83a090dd01f446b4e325a1c | ||
|
||
COUNT = 90 | ||
MD = ffcb6a1525f20803cfc79deb40addfd3e7b2f05c | ||
|
||
COUNT = 91 | ||
MD = bdcbb4ed636e244bb0fe6af4bc53998936df4ebc | ||
|
||
COUNT = 92 | ||
MD = f58ccbc65a2ffa5b35274dd0ceb4ea70eb73c26a | ||
|
||
COUNT = 93 | ||
MD = fbe95ac75e4b9cccd1a5debf757fa1a502d07944 | ||
|
||
COUNT = 94 | ||
MD = a8babac55950dba4993601d35adff874a2b9bb2a | ||
|
||
COUNT = 95 | ||
MD = 594db79de71c7651e9eef2f08bb7be3d26b6ee99 | ||
|
||
COUNT = 96 | ||
MD = 63377d45d0e2d0c987bebe8086c76a5e8b63a14b | ||
|
||
COUNT = 97 | ||
MD = cd1e7a192130866aa87fd1c8b43e9b7a0eab7615 | ||
|
||
COUNT = 98 | ||
MD = b3c69ad5dbdd34b7b45b2a89dad72f4cf1d8fd73 | ||
|
||
COUNT = 99 | ||
MD = 01b7be5b70ef64843a03fdbb3b247a6278d2cbe1 | ||
|
Oops, something went wrong.