Emma
6b92f8fada
all: remove ancient deprecations ( #23479 )
2025-01-16 16:36:12 +02:00
Kim Shrier
5cf4b5ed4f
crypto.sha512: move sha512 long message tests to separate repo ( #22208 )
2024-09-13 07:19:55 +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
Coachonko
1a8eff8d2b
hash: make public the hash.Hash interface, add tests to current implementers ( #21984 )
2024-08-03 19:52:39 +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
blackshirt
1d80cb9157
sha256,sha512: fix behavioral bug in .checksum ( #20884 )
2024-02-22 10:30:45 +02:00
Anton
763f94388b
all: update copyright year ( #20334 )
2024-01-01 23:29:54 +02:00
Delyan Angelov
30d6f7b294
crypto: fix notices/errors for v -N test vlib/crypto
2023-12-25 20:00:35 +02:00
Alexander Medvednikov
f09826e928
all: unwrap const() blocks
2023-11-25 10:02:51 +03:00
Joe C
757929392e
all: update attributes to use new syntax
2023-11-15 16:16:01 +11:00
shove
880ce7a33f
crypto: eliminate deprecating notifications from internal calls to checksum() ( #19707 )
2023-10-30 14:54:52 +02:00
shove
395b55f0cf
crypto.md5: fix calculating the same hash values, when .sum() is called several times ( #19703 )
2023-10-30 09:30:34 +02:00
shove
ac40981bcc
crypto.sha: fix calculating the same hash values when .sum() is called several times for sha1/256/512 ( fix #19696 ) ( #19697 )
2023-10-30 03:25:54 +02:00
Turiiya
9051ac8921
all: fix typos ( #19634 )
2023-10-23 21:21:15 +03:00
Delyan Angelov
f4c2ecfaa9
crypto.sha512: make the new384/0, new512_256/0, new512_224/0 functions public
2023-08-01 06:55:41 +03:00
Alexander Medvednikov
6756d28595
all: 2023 copyright
2023-03-28 22:55:57 +02:00
MatejMagat305
6bf6a40e0c
crypto: add .free() and .reset() methods to reduce memory leaks with -autofree ( #16992 )
...
* Fix unsafe pointer
I was compile vab with '-prod' and it was needed to fix and it is of course warning
* Add files via upload
* reduce memory leak s sha512
* add method .free() and .reset() for some
2023-01-16 17:30:40 +02:00
Delyan Angelov
b52b8429d4
vfmt: implement support for // vfmt off and // vfmt on, with it, v fmt -w .
now works. ( #16335 )
2022-11-05 09:08:01 +03:00
yuyi
51f4d99399
all: change optional to result in most of the libraries ( #16123 )
2022-10-20 22:14:33 +03:00
Alexander Medvednikov
fb192d949b
all: replace []byte with []u8
2022-04-15 15:35:35 +03:00
Delyan Angelov
c3ee4fb2a2
crypto: make public all Digest.checksum() methods
2022-04-15 09:02:42 +03:00
Nick Treleaven
7231a3f135
vlib: add mut
for the first parameter of builtin.copy, arrays.copy and crypto ( #13702 )
2022-03-09 20:26:00 +02:00
blackshirt
57e850e932
crypto.sha512, crypto.sha256 : Make public the write()
and sum()
methods ( #13461 )
2022-02-14 00:10:50 +02:00
Alexander Medvednikov
59ed4be49a
all: update copyright year
2022-01-04 12:21:12 +03:00
Delyan Angelov
8a380f4699
tools: make v test-cleancode
test everything by default ( #10050 )
2021-05-08 13:32:29 +03:00
spaceface
b712af56fd
all: bring back panic(err.msg)
-> panic(err)
( #9022 )
2021-03-01 00:18:14 +01:00
spaceface
d63b7bc35a
all: update repo to use the new error handling syntax ( #8950 )
2021-02-28 23:20:21 +03:00
zakuro
bc0507590e
crypto: make digest implement io.Writer ( #8975 )
2021-02-26 08:24:47 +02:00
Larpon
bce6a35e8f
crypto: add missing documentation to all pub functions ( #8251 )
2021-01-23 13:33:49 +01:00
Lukas Neubert
ac2c3847af
all: update copyright to 2019-2021 ( #8029 )
2021-01-18 13:20:06 +01:00
Alexander Medvednikov
50a6976b5e
all: minor array fixes
2020-12-20 16:08:56 +01:00
Emily Hudson
c84bafbdae
vlib,cgen: cleanup array inits using `.repeat() instead of new init syntax
2020-06-27 21:46:04 +02:00
yuyi
5ae8853648
all: change f mut Foo
to mut f Foo
2020-06-04 10:35:40 +02:00
yuyi
7f4cf08516
parser: check (mut f Foo)
syntax
2020-05-17 13:51:18 +02:00
yuyi
9f4d498ff1
all: updateimport ()
and []array
2020-04-26 13:49:31 +02:00
SleepyRoy
67ba56c65c
expression: set integer literals as int by default
2020-03-23 20:05:37 +01:00
Alexander Medvednikov
324a48bc64
sha512: make it work with the new parser
2020-03-10 15:47:21 +01:00
spaceface777
ef8c1203b4
cleanup: replace C for loops with range
2020-02-24 17:55:16 +01:00
joe-conigliaro
7f709c3285
update copyright years
2020-02-03 05:00:36 +01:00
joe-conigliaro
2897bac549
crypto: remove extraneous casts & rename rand_lin to rand_linux
2020-01-23 22:49:13 +01:00
toman222
0a93d3b714
sha512: remove unnecessary cast warnings
2020-01-23 21:07:16 +01:00
Alexander Medvednikov
a251db068f
run vfmt on math and sha; add vfmt check to test-compiler
2019-12-22 02:50:20 +03:00
Alexander Medvednikov
c8d111924d
check unused and unmodified vars in all modules, not just main
2019-12-06 18:43:56 +03:00
Alexander Medvednikov
7d924679a6
[]: update all examples and tests
2019-11-14 10:00:22 +03:00
Alexander Medvednikov
96b530cf85
update []
2019-11-14 09:53:05 +03:00
joe-conigliaro
df5faf35e5
compiler: optionals default value
2019-11-04 02:38:49 +03:00
Alexander Medvednikov
2bd2501dc0
fix new enums in tests
2019-10-30 16:38:47 +03:00
Alexander Medvednikov
5946f67328
final switch => match
2019-10-27 12:38:50 +03:00