Skip to content

Commit

Permalink
Remove unused LIMBS_copy.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Jun 19, 2020
1 parent 1fbdb16 commit d085def
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions crypto/limbs/limbs.c
Expand Up @@ -89,10 +89,6 @@ Limb LIMBS_less_than_limb(const Limb a[], Limb b, size_t num_limbs) {
return constant_time_select_w(lo, hi, lo);
}

void LIMBS_copy(Limb r[], const Limb a[], size_t num_limbs) {
limbs_copy(r, a, num_limbs);
}

/* if (r >= m) { r -= m; } */
void LIMBS_reduce_once(Limb r[], const Limb m[], size_t num_limbs) {
debug_assert_nonsecret(num_limbs >= 1);
Expand Down
1 change: 0 additions & 1 deletion crypto/limbs/limbs.h
Expand Up @@ -27,7 +27,6 @@ typedef crypto_word Limb;

Limb LIMBS_are_zero(const Limb a[], size_t num_limbs);
Limb LIMBS_are_even(const Limb a[], size_t num_limbs);
void LIMBS_copy(Limb r[], const Limb a[], size_t num_limbs);
Limb LIMBS_equal(const Limb a[], const Limb b[], size_t num_limbs);
Limb LIMBS_equal_limb(const Limb a[], Limb b, size_t num_limbs);
void LIMBS_reduce_once(Limb r[], const Limb m[], size_t num_limbs);
Expand Down

0 comments on commit d085def

Please sign in to comment.