19 Commits

Author SHA1 Message Date
637ee2b842
fixed invalid unusedKeySize
I put wrong variable as parameter
2022-05-30 18:04:24 +02:00
abbe519ab4
added unusedKeySize to outputFlags
this returns positive number, which represents how many chars from key are unused
2022-05-30 18:01:21 +02:00
4e0a0c7a27 created function checkText
this checks if text has some content
2022-05-29 16:49:18 +02:00
ac82127bcc fixed decryption returningText bugs
I forgot that newly allocated text has some content....
2022-05-29 16:44:14 +02:00
e94c273bd9 probably fixed deallocateOutput segfault
I thought the key returned as outputFlags (decrypter) was pointer to completely new address, but it often tried to deallocate unallocated key
2022-05-26 19:35:22 +02:00
073cdd2468 moved checking for valid key to misc
I'm trying to make code variable as much as possible
2022-05-26 18:40:46 +02:00
0fed6e7f0c Reverted null character "fixes"
This reverts commit 62c21eb37f9bdc9570c53674daf2715373cb80f5.
2022-05-26 18:40:46 +02:00
b84b8aa7cc added/fixed null characters 2022-05-26 18:40:46 +02:00
314846a45e whoops, I missed one
foq
2022-05-24 19:01:31 +02:00
6282bc6aec removed only char sizeof
'cause char length is 1 lulw
2022-05-24 18:56:32 +02:00
ef4f9f5084 reverted the sizeof removing
I have no idea
2022-05-24 18:45:44 +02:00
70a2040bab removed unused sizeof
fixing my recent mistakes
2022-05-24 18:03:08 +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
67380f51cf fixed invalid allocations
I forgot to add sizeof(int)
2022-05-13 17:30:17 +02:00
e60c05a59f added missing textKeyChain deallocation 2022-05-11 17:41:45 +02:00
0389ca0226 removed deallocation broking outputFlags 2022-05-08 19:48:50 +02:00
efab8647a8 added missing flags implementation 2022-05-08 19:41:20 +02:00
a11415b949 implemented inputFlags & outputFlags 2022-05-06 17:43:00 +02:00
eefffcecdc created folder for WHY2 lib in src/ 2022-05-04 18:18:07 +02:00