Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
3375dcf
Bump `sha3` to latest git commit
itzmeanjan Nov 13, 2025
5404d17
Add support for using TurboSHAKE256 XOF (the default choice from now …
itzmeanjan Nov 13, 2025
4b1fba9
Get rid of bit security level parameter in RandomSHAKE CSPRNG - much …
itzmeanjan Nov 15, 2025
9c3326f
Use fancy C++ features to get data type of variable (reference type)
itzmeanjan Nov 15, 2025
2bada29
Update tests to conform to new RandomSHAKE API without any bit-securi…
itzmeanjan Nov 15, 2025
993b312
Fix issue in same seed vs. diff seed test in case of deterministic CS…
itzmeanjan Nov 15, 2025
1848f99
Increase column limit in clang-format style spec. file
itzmeanjan Nov 15, 2025
b3279fa
Update benchmark functions to correctly benchmark various parameteriz…
itzmeanjan Nov 15, 2025
2330942
Add new test for ensuring that two CSPRNGs with same seed but diff un…
itzmeanjan Nov 15, 2025
2d0762f
Move test constant definition to its own header file
itzmeanjan Nov 15, 2025
37e78a1
Add test to detect if ratcheting kicks in
itzmeanjan Nov 15, 2025
62b703e
Update existing examples to work with new API
itzmeanjan Nov 15, 2025
9b4c793
Add new example program showing how to override default XOF
itzmeanjan Nov 15, 2025
a83cfb7
Add example showing usage of RandomSHAKE CSPRNG with `uniform_real_di…
itzmeanjan Nov 15, 2025
15f8eb1
Add comment in github actions ci script
itzmeanjan Nov 15, 2025
6ae9173
Update project documentation and benchmark results
itzmeanjan Nov 17, 2025
650f2a2
Change test suite name to `RandomSHAKE`
itzmeanjan Nov 17, 2025
b04e5d3
Add test execution console output in README
itzmeanjan Nov 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
BreakStringLiterals: true
ColumnLimit: 120
ColumnLimit: 160
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerIndentWidth: 2
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/test_ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Collects inspiration from https://github.com/itzmeanjan/sha3/blob/fb21648e136d7a64ce5c065fa829d4e3254414f4/.github/workflows/test_ci.yml
name: Test RandomShake Cryptographically Secure PRNG
name: Test RandomShake CSPRNG

on:
push:
Expand All @@ -12,7 +12,10 @@ jobs:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [
ubuntu-latest, # x86_64
macos-latest, # aarch64
]
compiler: [g++, clang++]
build_type: [debug, release]
test_type: [standard, asan, ubsan]
Expand Down
126 changes: 72 additions & 54 deletions README.md

Large diffs are not rendered by default.

Loading