gbrochar
  • Joined on 2020-11-20
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-19 14:15:08 +00:00
ee899b8c8c clean: miller-rabin sep fn + set e=65537
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-19 12:01:58 +00:00
b4a0432d33 feat: check first primes before miller rabin
0bc6bf62a4 fix: unused return value
Compare 2 commits »
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-18 17:06:48 +00:00
badc3fd399 opti: remove many memcpy
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-18 16:15:17 +00:00
1d9e2936ac opti: rm malloc in mul and useless cmp in modulo
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-18 15:40:48 +00:00
365c98be7c clean: remove comments
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-18 15:39:02 +00:00
81f8fb3c1f opti: remove many mallocs
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-18 14:55:36 +00:00
d368c925fb opti: is_not_zero
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-18 14:38:09 +00:00
2f7d2922c7 fix: substraction
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-18 13:17:00 +00:00
c8e5e6bf67 opti: cache left_shifts in multiplication
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-18 01:42:20 +00:00
fa5c3d7f96 refacto: make more numbers same length
ed45a04df2 chore: PHONY rule
Compare 2 commits »
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-17 23:47:21 +00:00
585f9750df fix: put correct flag for opti.................
4c53350bd5 refacto: faster
Compare 2 commits »
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-17 19:50:47 +00:00
7d0c774cb7 refacto: speed x10
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-16 16:33:56 +00:00
4a3cbd75b5 fix: leaks
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-16 15:48:48 +00:00
52f65086c2 remove unused func and comments
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-16 14:57:20 +00:00
6806db1c6f feat: prime working rly slow and leaks
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-16 12:35:03 +00:00
a000c56ce5 clean: remove comments
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-16 12:32:26 +00:00
3883287e8d feat: square and multiply, a^e mod n
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-15 20:26:54 +00:00
5028b0dd9f rsa reborn mod working
6a077bca3f rsa branch backup
Compare 2 commits »
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-14 16:18:17 +00:00
038719bb26 fix: malloc size was too small
gbrochar pushed to rsa at gbrochar/ft_nm 2024-02-14 16:17:20 +00:00
adf7a34fa6 feat: rsa compiles