160 Commits

Author SHA1 Message Date
8fe73fafe9
implemented getrandom instead of rand
also made why2_generate_key's variables snake_case
2024-02-22 22:05:12 +01:00
0525c43b6f
reverted "removed pointless strlen from for loops"
This reverts commit 49b53ec5b1ffd1931e51c7d7c17a64a99e2bd54e.
2024-02-20 14:45:35 +01:00
49b53ec5b1
removed pointless strlen from for loops 2024-02-20 13:45:47 +01:00
2408e0cef5
removed non-so-stupid gotos from core-misc
in the name of Satan, please do not cause any problems
2024-02-19 12:27:16 +01:00
bd3eb8ed4a
removed duplicate tkch version
so yeah v1 and v2 were the same
2024-01-24 21:07:45 +01:00
42f406f6b6
implemented tkch_version in why2_input_flags 2024-01-24 15:11:22 +01:00
bd92cd312d
tkch gen fix 2024-01-24 15:10:47 +01:00
d540c1ea88
removed tkch_version from tkch_gen parameters, using flags instead 2024-01-24 15:08:37 +01:00
12e4b7afe5
implemented tkch_versions in tkch_gen 2024-01-24 15:01:31 +01:00
7e33714f53
added WHY2_TEXT_KEY_CHAIN_VERSIONS enum as gen_tkch parameter 2024-01-24 14:54:30 +01:00
54da223e23
moved the historic tkch functions into enum versions 2024-01-24 14:47:48 +01:00
6e51e51a38
removed "old" prefix from gen_tkch_number functions 2024-01-24 14:38:12 +01:00
5a0766871d
created fourth old_gen_tkch function
this is the latest one which is being used to this day
2024-01-24 14:37:17 +01:00
5a88fbf045
created third old_gen_tkch function 2024-01-24 14:27:58 +01:00
abe720214c
created second old_gen_tkch function
this is gonna be a long day lol
2024-01-24 14:27:18 +01:00
a5298a8cbc
created first old_gen_tkch function
first version of tkch ever. I used this to send her my feelings. I couldn't do it normally cause I am loser, yk, so I used this fucking encryption. We're only friends now. But at least we talk to eachother. When she started ghosting me, I nearly hang myself. Thanks, Alex. Thanks that you are for me. I would have unalived myself if you haven't reposponded that time. Thanks so much. I still do love you.
2024-01-24 14:04:19 +01:00
bb0c07ef64
changed callback functions for tkch type to int 2024-01-24 13:55:42 +01:00
c9e1567ae9
added missing license to memory related files 2024-01-23 18:29:33 +01:00
a0aabc547a
updated performance in why2_deallocate
now if you attempt to deallocate NULL, get_node doesn't go trough the whole list
2023-08-27 12:18:51 +02:00
c57cc6f068
removed unused include from flags 2023-08-26 18:07:04 +02:00
58ed9ed8d5
implemented llists in memory-identifiers && memory fix
lol haven't done anything in a while lmao
2023-08-26 17:07:47 +02:00
92e6632fbc
removed completed TODOs 2023-05-02 19:11:08 +02:00
74e0453c5b
moved core-misc's replaceWord to global (as why2_replace) 2023-04-20 08:59:23 +02:00
abb1805338
linking new head in why2_list_remove 2023-04-19 10:49:00 +02:00
6857f5a67a
removed deallocation todo 2023-04-18 21:07:23 +02:00
c85f0d9669
added node value allocation by passed size 2023-04-14 15:30:50 +02:00
cec94db537
implemented why2_list_t in why2_list_find 2023-04-13 16:42:39 +02:00
57a03f348c
implemented why2_list_t in why2_list_remove_back 2023-04-13 16:42:02 +02:00
e7c9215fc9
implemented why2_list_t in why2_list_remove 2023-04-13 16:41:08 +02:00
97345b52c3
implemented why2_list_t in why2_list_push 2023-04-13 16:41:00 +02:00
b4cccf6d45
added list into every llist-related identificator 2023-04-13 16:06:40 +02:00
ad3716d5c1
reverted why2_llist implementation in core-flags
reverts bdc3fd59d2331faac3d241fc69d0561584bd059e
2023-04-13 16:01:47 +02:00
2961beb599
added check_version segfault todo 2023-04-12 19:39:06 +02:00
bdc3fd59d2
implemented why2_llist in core-flags 2023-04-12 17:10:51 +02:00
acee29c374
declared why2_remove_back function
removes last element

so this is 1000th commit! Woah... i gone nuts

idk...

860917976483233792
2023-04-12 17:02:34 +02:00
3eaba0e0c4
moved llist_head into 1st parameter 2023-04-12 16:52:43 +02:00
10632e0070
created llist files
it contains basic llist function, stolen from memory.c
2023-04-12 16:50:00 +02:00
2c8d81ed64
commented out json_file reading error return
valgrind had some beef with it
2023-04-12 10:33:35 +02:00
3b85c5fc5a
added NULL check to all remove_node functions 2023-02-21 12:39:54 +01:00
de739b2121
simplified returningText generation in encrypter
fixed the weird strcat there
2023-02-15 19:43:08 +01:00
2ea515ba38
fixed why2_die undefined reference 2023-02-09 19:15:27 +01:00
51f547d9df
added back removed include to misc 2023-02-09 19:00:27 +01:00
dcc4198e58
moved die function to core-misc 2023-02-09 18:49:04 +01:00
e0f0ad73b5
implemented why2_generate_key type change 2023-02-08 19:32:22 +01:00
6e3599ca74
changed why2_generate_key type to char* 2023-02-08 19:31:46 +01:00
d304b811da
renamed memory_identifier in why2_generate_key 2023-02-08 19:26:54 +01:00
34a387f032
fixed why2_clean_memory memory leak
I was trying to use deallocated node, so yeah
2023-02-08 10:32:03 +01:00
a2492aa124
merge remote into development 2023-02-08 09:49:29 +01:00
ff1b95748c
removed uunsed includes 2023-02-08 09:41:14 +01:00
bdd947fc64
defined why2_opendir
fuck if this is gonna be painful as the last memory functions, I'm gonna hang myself
2023-02-06 16:58:14 +01:00