add ltc_mp_digit to sizes and tests

This commit is contained in:
Steffen Jaeckel 2017-10-03 18:43:32 +02:00
parent caed025f8a
commit e438dbc3bf
2 changed files with 2 additions and 0 deletions

View File

@ -273,6 +273,7 @@ static const crypt_size _crypt_sizes[] = {
_SZ_STRINGIFY_T(crc32_state), _SZ_STRINGIFY_T(crc32_state),
#endif #endif
_SZ_STRINGIFY_T(ltc_mp_digit),
_SZ_STRINGIFY_T(ltc_math_descriptor) _SZ_STRINGIFY_T(ltc_math_descriptor)
}; };

View File

@ -331,6 +331,7 @@ int main(int argc, char **argv)
printf("NO math provider selected, all tests requiring MPI were disabled and will 'nop'\n"); printf("NO math provider selected, all tests requiring MPI were disabled and will 'nop'\n");
#endif #endif
printf("sizeof(ltc_mp_digit) = %d\n", (int)sizeof(ltc_mp_digit));
#ifdef LTC_PTHREAD #ifdef LTC_PTHREAD
tinfo = XCALLOC(sizeof(test_functions)/sizeof(test_functions[0]), sizeof(thread_info)); tinfo = XCALLOC(sizeof(test_functions)/sizeof(test_functions[0]), sizeof(thread_info));