mp_min_u32 is not used anywhere anymore, so it can be removed

This commit is contained in:
nijtmans 2019-03-28 16:13:37 +01:00
parent 05399033b8
commit ef07da5b8c
2 changed files with 1 additions and 9 deletions

2
dep.pl
View File

@ -117,7 +117,7 @@ EOS
$line = $';
# now $& is the match, we want to skip over LTM keywords like
# mp_int, mp_word, mp_digit
if (!($& eq 'mp_digit') && !($& eq 'mp_word') && !($& eq 'mp_int') && !($& eq 'mp_min_u32')) {
if (!($& eq 'mp_digit') && !($& eq 'mp_word') && !($& eq 'mp_int')) {
my $a = $&;
$a =~ tr/[a-z]/[A-Z]/;
$a = 'BN_' . $a . '_C';

View File

@ -93,14 +93,6 @@ typedef uint64_t mp_word;
# endif
#endif
/* otherwise the bits per digit is calculated automatically from the size of a mp_digit */
#ifndef DIGIT_BIT
# define DIGIT_BIT (((CHAR_BIT * MP_SIZEOF_MP_DIGIT) - 1)) /* bits per digit */
typedef uint_least32_t mp_min_u32;
#else
typedef mp_digit mp_min_u32;
#endif
#define MP_DIGIT_BIT DIGIT_BIT
#define MP_MASK ((((mp_digit)1)<<((mp_digit)DIGIT_BIT))-((mp_digit)1))
#define MP_DIGIT_MAX MP_MASK