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
Alexander Medvednikov
fb192d949b
all: replace []byte with []u8
2022-04-15 15:35:35 +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
Bastian Buck
fa645516c3
crypto: implement Output Feedback (OFB) Mode for AES and DES ( #13583 )
2022-02-24 14:38:21 +02:00
Bastian Buck
0d07a64230
crypto: implement Counter (CTR) Mode for AES and DES ( #13582 )
2022-02-24 12:06:33 +02:00
Bastian Buck
5c0b7b0d05
crypto: implement Cipher Feedback (CFB) Mode for AES and DES ( #13566 )
2022-02-23 11:55:16 +03:00
688862
83e9585d06
crypto: crypto.aes CBC mode moves to crypto.cipher ( #13084 )
2022-01-08 17:08:46 +02:00
688862
2b42ea9883
crypto: add a crypto.des module ( #13065 )
2022-01-07 13:51:37 +02:00
Alexander Medvednikov
59ed4be49a
all: update copyright year
2022-01-04 12:21:12 +03: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
Delyan Angelov
dab66593fc
vlib: run vfmt over vlib files, so that v doc -m vlib/
can run without warnings
2020-10-21 12:54:10 +03:00
yuyi
5ae8853648
all: change f mut Foo
to mut f Foo
2020-06-04 10:35:40 +02: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
511a3d3901
vlib.crypto+other: fix mut args
2019-08-07 13:37:07 +02:00
Alexander Medvednikov
34e0b164eb
make function arguments immutable by default
2019-08-07 08:59:00 +02:00
joe-conigliaro
61f3982ee8
crypto.aes module
2019-07-25 17:49:57 +02:00