Browse Source

whoops, actually save the change the removes the todo comment

master
Michael Hamburg 8 years ago
parent
commit
c0310ba553
2 changed files with 1 additions and 2 deletions
  1. +0
    -1
      src/decaf.c
  2. +1
    -1
      test/test_decaf.cxx

+ 0
- 1
src/decaf.c View File

@@ -1169,7 +1169,6 @@ void API_NS(point_from_hash_nonuniform) (
point_t p,
const unsigned char ser[SER_BYTES]
) {
/* TODO: test pathological case ur0^2 = 1/(1-d) */
gf r0,r,a,b,c,N,e;
gf_deserialize(r0,ser);
gf_strong_reduce(r0);


+ 1
- 1
test/test_decaf.cxx View File

@@ -195,7 +195,7 @@ static void test_arithmetic() {

static const Block sqrt_minus_one;
static const Block minus_sqrt_minus_one;
static const Block elli_patho;
static const Block elli_patho; /* sqrt(1/(u(1-d))) */

static void test_elligator() {
SpongeRng rng(Block("test_elligator"),SpongeRng::DETERMINISTIC);


Loading…
Cancel
Save