Browse Source

add ltc_mp_digit to sizes and tests

Steffen Jaeckel 8 years ago
parent
commit
e438dbc3bf
2 changed files with 2 additions and 0 deletions
  1. 1 0
      src/misc/crypt/crypt_sizes.c
  2. 1 0
      tests/test.c

+ 1 - 0
src/misc/crypt/crypt_sizes.c

@@ -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)
 
 
 };
 };

+ 1 - 0
tests/test.c

@@ -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));