Skip to content

Commit

Permalink
add missing prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
mkannwischer committed Jun 11, 2024
1 parent 4a7671d commit d601e16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crypto_kem/kyber512/m4fspeed/poly.c
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,8 @@ void poly_sub(poly *r, const poly *a, const poly *b) {
pointwise_sub(r->coeffs,a->coeffs,b->coeffs);
}

void cmov_int16(int16_t *r, int16_t v, uint16_t b);

/*************************************************
* Name: poly_frommsg
*
Expand Down
2 changes: 2 additions & 0 deletions crypto_kem/kyber512/m4fstack/poly.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,8 @@ void poly_sub(poly *r, const poly *a, const poly *b) {
pointwise_sub(r->coeffs,a->coeffs,b->coeffs);
}

void cmov_int16(int16_t *r, int16_t v, uint16_t b);

/*************************************************
* Name: poly_frommsg
*
Expand Down

0 comments on commit d601e16

Please sign in to comment.