Laurent Cheylus
|
9957327c37
|
crypto: fix ambiguous expressions in DES implementation (#24814)
|
2025-06-30 21:51:02 +03:00 |
|
Laurent Cheylus
|
e6a1983325
|
crypto.ecdsa: add support for OpenSSL on OpenBSD (#24772)
|
2025-06-22 12:35:30 +03:00 |
|
Laurent Cheylus
|
40ce22d26a
|
crypto: remove unused os import for SHA512 tests (#24768)
|
2025-06-21 06:28:22 +03:00 |
|
omahs
|
1957162c2a
|
all: fix typos (#24470)
|
2025-05-13 22:05:22 +03:00 |
|
Delyan Angelov
|
59909cde89
|
ci: use windows-2025 for the gcc-windows job (since it has gcc 14.2.0) (#24304)
|
2025-04-24 13:03:25 +03:00 |
|
Roman
|
52b5c3204e
|
crypto: add a crypto.ripemd160 module (#24119)
|
2025-04-05 19:05:38 +03:00 |
|
Einar Hjortdal
|
5c8fd1562e
|
crypto.rc4: change the return type of new_cipher to be !&Cipher (#24113)
|
2025-04-03 16:26:11 +03:00 |
|
Delyan Angelov
|
12afd051bb
|
ci: fix build conditions that had sanitize-memory-clang? instead of sanitize-memory-clang
|
2025-04-01 09:40:09 +03:00 |
|
Mike
|
f7f89b3c3c
|
crypto.sha3: be big-endian friendly (#24045)
|
2025-03-25 23:33:59 +02:00 |
|
blackshirt
|
1e5c812540
|
crypto.ecdsa: improve internal sign_digest routine (#23960)
|
2025-03-17 16:40:52 +02:00 |
|
Delyan Angelov
|
a80bc23314
|
tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test , v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918)
|
2025-03-13 19:51:51 +02:00 |
|
blackshirt
|
2fd3b7e881
|
crypto.ecdsa: improve the performance of the .public_key method of PrivateKey (#23920)
|
2025-03-13 10:21:36 +02:00 |
|
Mike
|
a5affa5d99
|
crypto.aes: fix notices about order of operations (fix #23898) (#23902)
|
2025-03-11 14:22:48 +02:00 |
|
blackshirt
|
de54be058e
|
crypto.ecdsa: improves internal function of calc_digest_with_evpkey (#23901)
|
2025-03-11 11:27:14 +02:00 |
|
blackshirt
|
4cc6f2547f
|
crypto.ecda: improvement the performance of PrivateKey.new by avoiding match+assignments (#23899)
|
2025-03-11 04:04:19 +02:00 |
|
blackshirt
|
6623ac21c7
|
crypto.ecdsa: update and cleanup the documentation (#23897)
|
2025-03-10 10:37:00 +02:00 |
|
blackshirt
|
309aebfaf1
|
crypto.ecdsa: clean out old deprecated keypair opaque from the module, make -cstrict pass for all the tests, and with both gcc and clang (#23887)
|
2025-03-09 09:59:10 +02:00 |
|
blackshirt
|
ec0b70e130
|
crypto.ecdsa: complete the migration to the newer OpenSSL APIs (follow up to #23876) (#23877)
|
2025-03-08 14:59:01 +02:00 |
|
blackshirt
|
bc3fc1218b
|
crypto.ecdsa: migrate new_key_from_seed to use high opaque, simplify the logic (#23876)
|
2025-03-07 17:31:58 +02:00 |
|
Noa Santo
|
3aed78e76a
|
crypto: add missing doc comments for public methods (#23864)
|
2025-03-05 14:36:15 +02:00 |
|
blackshirt
|
66e1d14bb4
|
crypto.ecdsa: migrate core routines for signing (and verifying), it now requires using OpenSSL 3 (#23705)
|
2025-02-17 18:49:32 +02:00 |
|
blackshirt
|
f3493e126a
|
crypto.ecdsa: migrate generate_key and simplify it (part 3) (#23662)
|
2025-02-09 16:23:11 +02:00 |
|
blackshirt
|
d30598bbca
|
crypto.ecdsa: migrate ecdsa.PrivateKey.new() to use a high level API (#23640)
|
2025-02-04 11:13:56 +02:00 |
|
blackshirt
|
e4d1011bb1
|
crypto.ecdsa: fix handling of sign() with custom_hash (#23619)
|
2025-01-31 08:37:57 +02:00 |
|
blackshirt
|
fc1cae5909
|
crypto.ecdsa: fix bug in .with_no_hash handling (#23612)
|
2025-01-30 12:29:00 +02:00 |
|
Delyan Angelov
|
aa4c06c5a8
|
crypto: cleanup the internal constant declarations
|
2025-01-27 12:08:42 +02:00 |
|
blackshirt
|
1eaa7c81fa
|
crypto.ecdsa: split out the C wrapper to a new .c.v file (#23595)
|
2025-01-27 08:03:19 +02:00 |
|
Kim Shrier
|
839d526780
|
blake2s, blake2b: fix typo in new_digest description (#23531)
|
2025-01-20 06:13:18 +02:00 |
|
blackshirt
|
c2b7dbf9b4
|
crypto.ecdsa: improve safety checking, unify signing (and verifying) api to accept options (#23463)
|
2025-01-18 20:07:19 +02:00 |
|
Emma
|
6b92f8fada
|
all: remove ancient deprecations (#23479)
|
2025-01-16 16:36:12 +02:00 |
|
Felipe Pena
|
9d1b855129
|
crypto.ecdsa: fix memleaks, reported by the CI sanitizer jobs (#23450)
|
2025-01-13 05:01:33 +02:00 |
|
blackshirt
|
68c2da2560
|
crypto.ecdsa: expand ecdsa module, to support other curves like secp384r1, secp521r1, secp256k1 (#23407)
|
2025-01-12 12:19:05 +02:00 |
|
Keito Tobichi
|
f8c9edde55
|
crypto: add JWT Payload Decoding sample (#23275)
|
2024-12-26 16:41:36 +02:00 |
|
kbkpbot
|
c968c9ec60
|
crypt.bcrypt: limit max password length to 72 bytes (#23229)
|
2024-12-21 13:11:06 +02:00 |
|
Felipe Pena
|
b0772193f8
|
vlib: enable more satnitized memleak detection runs without false positives on the CI (#23200)
|
2024-12-20 16:09:16 +02:00 |
|
SyoBoN
|
b471887df2
|
crypto.sha3: add support for Keccak-256 and Keccak-512 (#23058)
|
2024-12-05 01:14:15 +02:00 |
|
yuyi
|
17f3c8f813
|
checker: check fn call argument mismatch (fix #23016) (#23061)
|
2024-12-04 11:52:07 +02:00 |
|
Swastik Baranwal
|
3954e05455
|
checker: disallow struct init with mutable_field: const_array (fix #22862) (#22863)
|
2024-11-15 11:57:27 +02:00 |
|
Alexander Medvednikov
|
f7cc9d5daa
|
crypto: ecdsa module (on top of openssl)
|
2024-09-26 22:30:07 +03:00 |
|
Einar Hjortdal
|
5e624a5b23
|
crypto.rand: add support for convenient generation of a random big integer in the interval [0, n) (#22266)
|
2024-09-21 15:58:10 +03:00 |
|
yuyi
|
acf6b344f7
|
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232)
|
2024-09-17 09:47:38 +03:00 |
|
Kim Shrier
|
83a015b940
|
crypto.scrypt: add missing comment of source for test vector (#22222)
|
2024-09-15 15:20:30 +03:00 |
|
Delyan Angelov
|
755a4bc081
|
crypto.rand: fix compilation on macos with -cc tcc -no-retry-compilation -gc none
|
2024-09-15 14:53:52 +03:00 |
|
Felipe Pena
|
4eb087a347
|
checker: add missing check for ref passing to non-ref (#22194)
|
2024-09-14 23:13:25 +03:00 |
|
Kim Shrier
|
423f804b07
|
crypto.scrypt: add a new scrypt module to vlib/crypto (#22216)
|
2024-09-14 09:54:04 +03:00 |
|
Delyan Angelov
|
56013a443a
|
crypto.pbkdf2: move extensive test cases to https://github.com/vlang/slower_tests, but keep test case 7 , where the key_size is > block_size for sha224 and sha256
|
2024-09-13 10:50:55 +03:00 |
|
Delyan Angelov
|
b49e79680b
|
crypto, x.crypto: trim long inputs, move more extensive cases to https://github.com/vlang/slower_tests
|
2024-09-13 10:28:11 +03:00 |
|
Delyan Angelov
|
747f3b3c4c
|
crypto.bcrypt: reduce runtime cost for running bcrypt_test.v, by reducing the iteration count
|
2024-09-13 09:45:21 +03:00 |
|
Delyan Angelov
|
0b76a0ca19
|
crypto.ed25519: simplify ed25519_test.v, move more extensive tests to https://github.com/vlang/slower_tests
|
2024-09-13 09:23:00 +03:00 |
|
Kim Shrier
|
5cf4b5ed4f
|
crypto.sha512: move sha512 long message tests to separate repo (#22208)
|
2024-09-13 07:19:55 +03:00 |
|