Skip to content
Merged
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
5 changes: 0 additions & 5 deletions bn_mp_prime_is_prime.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ mp_err mp_prime_is_prime(const mp_int *a, int t, mp_bool *result)
/* default to no */
*result = MP_NO;

/* valid value of t? */
if (t > MP_PRIME_SIZE) {
return MP_VAL;
}

/* Some shortcuts */
/* N > 3 */
if (a->used == 1) {
Expand Down