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 |
|
Kim Shrier
|
e0422de8bd
|
crypto.pbkdf2: fix pbkdf2 key generation and add more tests (#22202)
|
2024-09-12 11:48:03 +03:00 |
|
Delyan Angelov
|
6e13b02328
|
crypto.sha1, crypto.sha256, crypto.sha3, crypto.sha512: improve performance for non prod builds, by tagging the block_generic functions with @[direct_array_access]
|
2024-09-11 14:50:39 +03:00 |
|
Kim Shrier
|
86fe9456a5
|
crypto.sha1, crypto.sha256, crypto.sha512: add Secure Hash Algorithm Validation System tests (#22187)
|
2024-09-10 13:07:34 +03:00 |
|
yuyi
|
008aaad999
|
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185)
|
2024-09-10 11:25:56 +03:00 |
|
Roman
|
eb314c93a2
|
crypto: add a crypto.pbkdf2 module (#22047)
|
2024-08-15 20:01:06 +03:00 |
|
yuyi
|
c51d30bf53
|
fmt: fix alignment of struct init fields (#22025)
|
2024-08-11 09:11:24 +03:00 |
|
yuyi
|
19f080ffb8
|
all: change single blank comment to blank line (#22016)
|
2024-08-09 14:55:58 +03:00 |
|
Coachonko
|
1a8eff8d2b
|
hash: make public the hash.Hash interface, add tests to current implementers (#21984)
|
2024-08-03 19:52:39 +03:00 |
|
Coachonko
|
a4b8768146
|
crypto.cipher: make Stream.xor_key_stream implementers require a mutable receiver (#21974)
|
2024-08-01 16:04:09 +03:00 |
|
Delyan Angelov
|
387a01fcb5
|
crypto.blowfish: apply @[direct_array_access] to very commonly used functions (#21771)
|
2024-06-30 20:48:05 +03:00 |
|
Kim Shrier
|
7d182a469e
|
crypto.sha3: remove unnecessary return at the end of the write function (#21669)
|
2024-06-12 10:29:13 +03:00 |
|
Kim Shrier
|
dfdd752106
|
crypto: add a crypto.sha3 hash and extended output functions (#21664)
|
2024-06-11 15:39:16 +03:00 |
|
Delyan Angelov
|
dbc6b50cda
|
vlib: make ./v -Wimpure-v -W test vlib/ pass on Linux (#21554)
|
2024-05-23 16:21:01 +03:00 |
|
Agam Sama
|
cdb6f46eb4
|
crypto.ed25519: fix proted -> ported typo in README.md (#21274)
|
2024-04-13 08:53:23 +03:00 |
|
Turiiya
|
f77bb32044
|
all: fix typos (#21089)
|
2024-03-25 12:18:27 +02:00 |
|
Kim Shrier
|
09f3ac1413
|
crypto.blake3: fix typo on Digest comment (#20991)
|
2024-03-11 07:03:33 +02:00 |
|
blackshirt
|
1d80cb9157
|
sha256,sha512: fix behavioral bug in .checksum (#20884)
|
2024-02-22 10:30:45 +02:00 |
|
Turiiya
|
d485cceee8
|
doc: update trim_doc_node_description, make module readmes more uniform (#20792)
|
2024-02-12 12:38:47 +02:00 |
|
kbkpbot
|
88e413ca5b
|
crypto.aes: optimise performance (#20674)
|
2024-01-27 21:38:34 +02:00 |
|