fracrypt.c:32:1: warning: no previous prototype for
‘ffe_cnv_uint_from_buffer’ [-Wmissing-prototypes]
ffe_cnv_uint_from_buffer(
^
fracrypt.c:50:1: warning: no previous prototype for
‘ffe_cnv_double_to_string_to_double’ [-Wmissing-prototypes]
ffe_cnv_double_to_string_to_double(
^
fracrypt.c:72:1: warning: no previous prototype for
‘ffe_util_cantor_packing’ [-Wmissing-prototypes]
ffe_util_cantor_packing(
^
fracrypt.c: In function ‘ffe_util_cantor_packing’:
fracrypt.c:76:37: warning: conversion to ‘double’ from ‘size_t’ may
alter its value [-Wconversion]
size_t ret = (size_t)(0.5 * (n0 + n1) * (n0 + n1 + 1) + n1);
^
fracrypt.c:76:54: warning: conversion to ‘double’ from ‘size_t’ may
alter its value [-Wconversion]
size_t ret = (size_t)(0.5 * (n0 + n1) * (n0 + n1 + 1) + n1);
^
fracrypt.c:76:5: warning: conversion to ‘double’ from ‘size_t’ may alter
its value [-Wconversion]
size_t ret = (size_t)(0.5 * (n0 + n1) * (n0 + n1 + 1) + n1);
^
fracrypt.c: At top level:
fracrypt.c:83:1: warning: no previous prototype for ‘ffe_util_random’
[-Wmissing-prototypes]
ffe_util_random(void)
^
fracrypt.c:90:1: warning: no previous prototype for
‘ffe_util_random_sign’ [-Wmissing-prototypes]
ffe_util_random_sign(double n)
^
fracrypt.c:106:1: warning: no previous prototype for ‘ffe_complex_add’
[-Wmissing-prototypes]
ffe_complex_add(
^
fracrypt.c:115:1: warning: no previous prototype for ‘ffe_complex_mul’
[-Wmissing-prototypes]
ffe_complex_mul(
^
fracrypt.c:150:1: warning: no previous prototype for
‘ffe_secret_key_output_status’ [-Wmissing-prototypes]
ffe_secret_key_output_status(
^
fracrypt.c:181:1: warning: no previous prototype for
‘ffe_secret_key_parse_from_file’ [-Wmissing-prototypes]
ffe_secret_key_parse_from_file(
^
fracrypt.c:212:1: warning: no previous prototype for
‘ffe_secret_key_store_to_file’ [-Wmissing-prototypes]
ffe_secret_key_store_to_file(
^
fracrypt.c:252:1: warning: no previous prototype for
‘ffe_salt_output_status’ [-Wmissing-prototypes]
ffe_salt_output_status(
^
fracrypt.c:274:1: warning: no previous prototype for
‘ffe_salt_parse_from_file’ [-Wmissing-prototypes]
ffe_salt_parse_from_file(
^
fracrypt.c:321:1: warning: no previous prototype for
‘ffe_salt_generate_from_file’ [-Wmissing-prototypes]
ffe_salt_generate_from_file(
^
fracrypt.c: In function ‘ffe_salt_generate_from_file’:
fracrypt.c:355:17: warning: conversion to ‘double’ from ‘size_t’ may
alter its value [-Wconversion]
fmod(pow(pack, RN() * 0.3 + 0.3), 0.3 + RN() * 0.6),
^
fracrypt.c:356:17: warning: conversion to ‘double’ from ‘size_t’ may
alter its value [-Wconversion]
fmod(pow(pack, RN() * 0.3 + 0.3), 0.3 + RN() * 0.6),
^
fracrypt.c:357:17: warning: conversion to ‘double’ from ‘size_t’ may
alter its value [-Wconversion]
fmod(pow(pack, RN() * 0.3 + 0.3), 0.3 + RN() * 0.6),
^
fracrypt.c:358:17: warning: conversion to ‘double’ from ‘size_t’ may
alter its value [-Wconversion]
fmod(pow(pack, RN() * 0.3 + 0.3), 0.3 + RN() * 0.6)
^
fracrypt.c: At top level:
fracrypt.c:379:1: warning: no previous prototype for
‘ffe_salt_store_to_file’ [-Wmissing-prototypes]
ffe_salt_store_to_file(
^
fracrypt.c:429:1: warning: no previous prototype for ‘ffe_create’
[-Wmissing-prototypes]
ffe_create(
^
fracrypt.c:445:1: warning: no previous prototype for ‘ffe_destroy’
[-Wmissing-prototypes]
ffe_destroy(
^
fracrypt.c:452:1: warning: no previous prototype for
‘ffe_cipher_iterate_point’ [-Wmissing-prototypes]
ffe_cipher_iterate_point(
^
fracrypt.c: In function ‘ffe_cipher_iterate_point’:
fracrypt.c:479:32: warning: conversion to ‘unsigned int’ from ‘size_t’
may alter its value [-Wconversion]
mutator->iters = i + 1;
^
fracrypt.c: At top level:
fracrypt.c:495:1: warning: no previous prototype for
‘ffe_cipher_buffer_inplace’ [-Wmissing-prototypes]
ffe_cipher_buffer_inplace(
^
fracrypt.c: In function ‘ffe_cipher_buffer_inplace’:
fracrypt.c:513:30: warning: conversion to ‘unsigned int’ from ‘size_t’
may alter its value [-Wconversion]
unsigned int vpx = n % cipher->dims;
^
fracrypt.c:514:30: warning: conversion to ‘unsigned int’ from ‘size_t’
may alter its value [-Wconversion]
unsigned int vpy = n / cipher->dims;
^
fracrypt.c:539:39: warning: cast from function call of type ‘double’ to
non-matching type ‘long unsigned int’ [-Wbad-function-cast]
unsigned int cmutator_uint = ((size_t)fabs(cmutator_real)) %
FFE_BYTESZ;
^
fracrypt.c:551:36: warning: conversion to ‘int’ from ‘unsigned int’ may
change the sign of the result [-Wsign-conversion]
cmutated_byte = buf[i] - cmutator_uint;
^
fracrypt.c:555:45: warning: conversion to ‘unsigned int’ from ‘int’ may
change the sign of the result [-Wsign-conversion]
cmutated_byte = abs((buf[i] + FFE_BYTESZ) -
cmutator_uint);
^
fracrypt.c:555:59: warning: conversion to ‘int’ from ‘unsigned int’ may
change the sign of the result [-Wsign-conversion]
cmutated_byte = abs((buf[i] + FFE_BYTESZ) -
cmutator_uint);
^
fracrypt.c:559:9: warning: conversion to ‘unsigned char’ from ‘int’ may
alter its value [-Wconversion]
buf[i] = cmutated_byte;
^
fracrypt.c:563:13: warning: conversion to ‘double’ from ‘size_t’ may
alter its value [-Wconversion]
unsigned int per = (unsigned int)ceil((n /
(double)cipher->in_file_size) * 100.0);
^
fracrypt.c:563:32: warning: cast from function call of type ‘double’ to
non-matching type ‘unsigned int’ [-Wbad-function-cast]
unsigned int per = (unsigned int)ceil((n /
(double)cipher->in_file_size) * 100.0);
^
fracrypt.c:569:5: warning: conversion to ‘double’ from ‘size_t’ may
alter its value [-Wconversion]
unsigned int per = (unsigned int)ceil((n /
(double)cipher->in_file_size) * 100.0);
^
fracrypt.c:569:24: warning: cast from function call of type ‘double’ to
non-matching type ‘unsigned int’ [-Wbad-function-cast]
unsigned int per = (unsigned int)ceil((n /
(double)cipher->in_file_size) * 100.0);
^
fracrypt.c:496:23: warning: unused parameter ‘self’ [-Wunused-parameter]
struct ffe* const self,
^
fracrypt.c: At top level:
fracrypt.c:577:1: warning: no previous prototype for ‘ffe_sys_calc_salt’
[-Wmissing-prototypes]
ffe_sys_calc_salt(
^
fracrypt.c: In function ‘ffe_sys_calc_salt’:
fracrypt.c:581:5: warning: conversion to ‘double’ from ‘size_t’ may
alter its value [-Wconversion]
cipher->dims = (size_t)(sqrt(in_file_size) + 1);
^
fracrypt.c:581:20: warning: conversion to ‘unsigned int’ from ‘long
unsigned int’ may alter its value [-Wconversion]
cipher->dims = (size_t)(sqrt(in_file_size) + 1);
^
fracrypt.c: At top level:
fracrypt.c:603:1: warning: no previous prototype for ‘ffe_encrypt’
[-Wmissing-prototypes]
ffe_encrypt(
^
fracrypt.c:664:1: warning: no previous prototype for ‘ffe_decrypt’
[-Wmissing-prototypes]
ffe_decrypt(
^
fracrypt.c:742:1: warning: no previous prototype for
‘ffe_cmdline_app_create’ [-Wmissing-prototypes]
ffe_cmdline_app_create(
^
fracrypt.c:828:1: warning: no previous prototype for
‘ffe_cmdline_sys_create_default_skey’ [-Wmissing-prototypes]
ffe_cmdline_sys_create_default_skey(
^
fracrypt.c:859:1: warning: no previous prototype for
‘ffe_cmdline_sys_encrypt’ [-Wmissing-prototypes]
ffe_cmdline_sys_encrypt(
^
fracrypt.c:884:1: warning: no previous prototype for
‘ffe_cmdline_sys_decrypt’ [-Wmissing-prototypes]
ffe_cmdline_sys_decrypt(
^
fracrypt.c:909:1: warning: no previous prototype for
‘ffe_cmdline_display_help’ [-Wmissing-prototypes]
ffe_cmdline_display_help(
^
fracrypt.c:931:1: warning: no previous prototype for
‘ffe_cmdline_app_run’ [-Wmissing-prototypes]
ffe_cmdline_app_run(
^
fracrypt.c:955:1: warning: no previous prototype for
‘ffe_cmdline_app_destroy’ [-Wmissing-prototypes]
ffe_cmdline_app_destroy(
^