35 Commits

Author SHA1 Message Date
a0ebfd19e2
made why2-test failure much better for debugging & made it more variable
I hope I am deallocating all new things :D
2022-07-23 15:38:36 +02:00
bcb33ad354
created exitCode check for why2-test
if exitCode isn't 0, test now fails
2022-07-15 19:55:20 +02:00
307642272e
implemented setFlags function 2022-07-10 18:17:42 +02:00
212f0205c5
renamed noUpdate flag to update & swapped its value everywhere
it was kinda annoying when you were trying to disable it with positive value :DD
2022-07-10 17:51:31 +02:00
7cb46db306
added some quotes to why2-test success message
I think it's good for checking if there aren't any 'trailing spaces'
2022-06-25 18:09:42 +02:00
3585563139
added encryptionSeparator setter to why2-test 2022-06-18 18:34:27 +02:00
4aa80c199c
fixed (I hope) every allocation size
"Just use Valgrind", they said.... I should listen to them
2022-06-13 18:13:27 +02:00
ad15dce494
added exit code to final why2-test message 2022-06-12 17:08:37 +02:00
02d48ef32c
blocking update in why2-test 2022-06-12 16:43:22 +02:00
5511210d89
added missing flags to inputFlags constructors 2022-06-08 19:25:54 +02:00
54f819a741
added tabs into why2-test success message 2022-05-31 18:52:05 +02:00
da19d8fd10
made why2-test success message more organized
just divided it into more lines
2022-05-31 18:49:28 +02:00
213c9ea37f
added elapsedTime to why2-test success message
but in miliseconds (instead of microseconds)
2022-05-30 19:13:43 +02:00
69867cc0ba
added unusedKeySize to why2-test success message 2022-05-30 18:06:35 +02:00
483194b52c added missing deallocation to why2-test
I forgot to deallocate encrypted text before decryption
2022-05-29 17:00:43 +02:00
0437279b41 doubled buffer size for why2-test
next commit will change TEST_TEXT, so this is necessary
2022-05-26 19:42:33 +02:00
c3c8ddb82e changed KEY_LENGTH to 100 in why2-test
the previous similar commit had only 75 chars, cuz the NULL character wasn't implemented xd

5093d2395f
2022-05-26 18:40:37 +02:00
4534ec7521 changed KEY_LENGTH to 75 in why2-test 2022-05-25 17:47:46 +02:00
1303d3d220 added missing comments to why2-test 2022-05-25 17:45:07 +02:00
a8c3c5f28a added missing new line to why2-test 2022-05-25 17:39:57 +02:00
375aeccc1c added more output to test failure 2022-05-24 19:10:26 +02:00
e4a2986c12 made test failure memory safe 2022-05-24 18:09:35 +02:00
74931327c0 changed test's buffer size to 64
this shouldn't be problem (I think)
2022-05-24 18:07:46 +02:00
7f90c74124 trying to add correct memory allocation
it's possible I'll revert this lol
2022-05-23 18:02:59 +02:00
471c676af2 added manual allocation for buffer
just trying to fix da fukin github actionz
2022-05-13 17:31:40 +02:00
1ff00c5ccf removed the fucking github thing
FUUUCK
2022-05-12 18:50:58 +02:00
70dd6783ad trying to fix github actions problems 2022-05-12 18:45:32 +02:00
3c536f22a8 created github flag
cuz github actions is crashing due to low RAM
2022-05-12 18:41:39 +02:00
c936ac4b6c implemented why2.h in main files 2022-05-12 17:12:33 +02:00
7015a58762 added missing buffer deallocation 2022-05-11 17:39:08 +02:00
43ea16b596 removed TEST_KEY & added more info for successful test 2022-05-08 20:02:47 +02:00
442c7f3175 implemented deallocateOutput 2022-05-08 19:56:16 +02:00
a11415b949 implemented inputFlags & outputFlags 2022-05-06 17:43:00 +02:00
f9bd01c394 moved *all* flags into flags.h 2022-05-05 18:26:10 +02:00
eefffcecdc created folder for WHY2 lib in src/ 2022-05-04 18:18:07 +02:00