mp_min_u32 is not used anywhere anymore, so it can be removed
diff --git a/dep.pl b/dep.pl
index f631100..e06b968 100755
--- a/dep.pl
+++ b/dep.pl
@@ -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';
diff --git a/tommath.h b/tommath.h
index 71ecaf5..e5cee9b 100644
--- a/tommath.h
+++ b/tommath.h
@@ -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