Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dep.pl
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
$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';
Expand Down
3 changes: 0 additions & 3 deletions tommath.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ typedef uint64_t mp_word;
/* 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
Expand Down