Commit graph

29 commits

Author SHA1 Message Date
Gu://em_
d7139c6ce8 Refactored the missing X25519 functions to use keypairs, consume seed buffers once they have been used (fill with zeroes), fixed the remaining compilation issues with identity.zig 2026-07-29 18:47:40 +02:00
Gu://em_
69bad53a03 Refactored Ed25519 to use the stdlib's KeyPair type for better readability, separate generate() and new() identity functions, new update_hash() function for identity and compilation errors fixes 2026-07-29 18:15:54 +02:00
Gu://em_
3209ae87a1 Began Identity implementation and testing 2026-07-20 00:12:48 +02:00
Gu://em_
547a515952 Implemented X25519 generateKeys and fromEd25519 functions 2026-07-20 00:09:47 +02:00
Gu://em_
856f4f626b Changed ed25519 constants names to better align with the stlib implementation and made the generateKeys's function pubkey argument optional to spare a useless memcpy when possible 2026-07-20 00:09:23 +02:00
Gu://em_
4a267c135c Changed crypto primitives naming to be more consistent 2026-07-20 00:07:09 +02:00
Gu://em_
e594fab52f Fixed remaining compilation issues 2026-07-10 19:17:22 +02:00
Gu://em_
fc71c1a65b Fixed naming inconsietencies across crypto submodules 2026-07-09 23:49:37 +02:00
Gu://em_
891727d959 Refactored the crypto submodules to comply with the engine resolution method 2026-07-09 23:42:48 +02:00
Gu://em_
c292832280 Implemented the Ed25519 verify function and changed the sign and verify function signatures 2026-07-08 17:37:55 +02:00
Gu://em_
7d86c901e3 Updated the crypto module to work with the new Ed25519 changes 2026-07-08 17:18:56 +02:00
Gu://em_
4c7669785f Refactored the Ed25510 module and fixed the insecure (and not functionnal) seed generation 2026-07-08 17:12:40 +02:00
Gu://em_
150c5b2e38 Implemented Hkdf and Hmac and added a digest length property to all of them to get closer to the zig stdlib implementation 2026-07-08 01:00:39 +02:00
Gu://em_
1b98394fe4 Fixed typos inside the AES CBC256 crypto module 2026-07-08 00:59:01 +02:00
Gu://em_
ff60995aaa Added the random crypto module with its default implementation, implemented the Ed25519 keys generation function 2026-07-04 11:08:11 +02:00
Gu://em_
1216dc2282 Refactored (again) the packet module, added the identity and destination modules 2026-07-03 21:58:29 +02:00
Gu://em_
0eae5818a0 Made some advancements on the cryptographic primitives implementation 2026-07-03 21:56:17 +02:00
Gu://em_
cb72a9cdc9 Refactored packet.zig 2026-06-26 18:24:42 +02:00
Gu://em_
b67ae9ec59 Fixed a bug in the build file, fixed functions signature for aes and ed25519, made visibility changes in packet and made the enums needed for destination 2026-06-26 16:22:01 +02:00
Gu://em_
693d7cfe51 Crypto engine design enhancements and new library entry point 2026-06-15 15:23:41 +02:00
Gu://em_
cd83af4ef9 First drafts of the crypto engine 2026-06-13 23:20:25 +02:00
Gu://em_
da24a10867 Reworked the build system 2026-06-12 16:46:43 +02:00
Gu://em_
7c5f8c9f30 Fixed packet deserialization and tests and made improvements to code readability 2026-06-12 15:50:01 +02:00
Gu://em_
ee3cba3cab Fixed tests in the packet module 2026-06-09 23:21:40 +02:00
Gu://em_
43b3ca386d Added an option to compile as a dynamic library 2026-06-09 21:38:13 +02:00
Gu://em_
ad6eb69ec7 Fixed compilation issues 2026-06-09 21:27:02 +02:00
Gu://em_
dad6a6819c Initial library structure, build system and packet implementation 2026-06-09 19:29:01 +02:00
Gu://em_
f02cd37a40 Added README.md and LICENSE 2026-05-09 17:12:02 +02:00
Gu://em_
fc0b7ca49f feat: First commit 2026-05-09 11:40:52 +02:00