Comments (3)
I'm slowly working on this in a private repo.
- Define the schemas, load/unmarshal
- Cover all the algorithms that are possible
- chacha20poly1305
- HKDF
- HMAC
- KMAC
- PBKDF2
- Ed25519
- X25519
- SipHash
Unfortunately BLAKE2, MD5, Keccak, and TupleHash don't have wycheproof artifacts, but I'm largely interested in this for ECC, AES, RSA.
from odin.
This covers everything currently in core/crypto that has corresponding wycheproof test cases:
Notes:
- Cases that I know will panic are skipped (I could test the panic case by forking on Unix systems as a future improvement).
- The large iteration PBKDF2-HMACSHA1 test is skipped as it takes an unreasonable amount of time (~106s default/no optimization, ~8s with optimization), and I kept forgetting to add
-o:speed
when building.
from odin.
The corpus of test vectors is rather large, and I wrote this as a stand-alone executable rather than using core:testing
(which can be changed), so this could be ran from a CI workflow so that people aren't forced to checkout the test vector repo.
The compiler also intermittently segfaulted when building the binary, but short of "it happened, but when I re-ran the build" I don't have futher information.
from odin.
Related Issues (20)
- `linux.ptrace(linux.PTRACE_CONT, ...)` returns `EIO` every time HOT 3
- `wgpu` vendor library fails on windows due to linking error HOT 1
- `core:os` package `read_entire_file_xxx` procedures don't work on `/proc` filesystem even if on a Linux system HOT 3
- os2.process_start uses the global allocator instead of `context.allocator` which can lead to a panic/failed assert HOT 4
- Globally defined simd.f32x16 causes compiler crash
- Inconsistent array mathematics for enumerated arrays
- Cannot use hash library within a library function HOT 2
- Unable to seemingly perform arithmetic operations on polymorphic variables
- LLVM code gen failed duo to #soa dynamic array element getting cleared with {}
- Comma between params isnt needed for two param proc HOT 1
- panic: quaternion64 + quaternion64
- Unresolved external symbol when linking with a dll (created with odin)
- Matrix gives llvm error when accessed with non-64-bit int HOT 2
- Segfault when calling out to C from a parapoly context HOT 1
- core:image can't load png HOT 5
- Getting 'Segmentation fault', 'Bus error' and 'Illegal instruction'
- Allow swizzle field names in array initialization
- Procedure returning generic enumerated array doesn't compile
- Odin fails to compile on MacOS Sequoia (15.0) using Intel chip
- LLVM panic at compilation when parapoly type is incorrect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odin.