Skip to content

Commit

Permalink
add: KAT tests
Browse files Browse the repository at this point in the history
  • Loading branch information
olivmath committed Jan 3, 2024
1 parent 4121190 commit ffe8dfd
Show file tree
Hide file tree
Showing 9 changed files with 1,357 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false
},
]
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "keccaky"
version = "0.2.1"
version = "0.2.2"
description = "Secure and easy-to-use keccak"
authors = ["Lucas Oliveira <[email protected]>"]
repository = "https://github.com/olivmath/keccaky.git"
Expand Down
3 changes: 3 additions & 0 deletions tests/keccaky/ExtremelyLongMsgKAT_256.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Msg = abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmno
MD = 5F313C39963DCF792B5470D4ADE9F3A356A3E4021748690A958372E2B06F82A4
Repeat = 16777216
194 changes: 194 additions & 0 deletions tests/keccaky/LongMsgKAT_256.txt

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions tests/keccaky/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Keccak 256 Know-Answer-Tests (KAT)

Files downloaded on 2 January 2024 from https://keccak.team/obsolete/KeccakKAT-3.zip
Loading

0 comments on commit ffe8dfd

Please sign in to comment.