rsa-asm #4

Open
gbrochar wants to merge 37 commits from rsa-asm into master
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 038719bb26 - Show all commits

View File

@ -4,7 +4,7 @@ int *random_bits(int n) {
int fd = open("/dev/urandom", O_RDONLY); int fd = open("/dev/urandom", O_RDONLY);
ft_log(INFO, "fd"); ft_log(INFO, "fd");
ft_log(INFO, ft_itoa(fd)); ft_log(INFO, ft_itoa(fd));
int *random_bits = (int *)malloc(n >> 4); int *random_bits = (int *)malloc(n >> 3);
if (!random_bits) { if (!random_bits) {
ft_log(ERROR, "allocation failed on random_bits"); ft_log(ERROR, "allocation failed on random_bits");
exit(1); exit(1);