PRE_CPPFLAGS = -I.
EXTRA_CFLAGS = $(CCPIC)
-# FIXME: Add configuration of LIBEXT?
LIBTARGETS = @IF_STATIC@ libnettle.a @IF_HOGWEED@ libhogweed.a
SHLIBTARGETS = @IF_SHARED@ $(LIBNETTLE_FORLINK) @IF_HOGWEED@ $(LIBHOGWEED_FORLINK)
NETTLE_FAT_OVERRIDE=$$f $(MAKE) check ; \
done
-# FIXME: Remove. These targets aren't supported, but they are expected by the
-# automake generated Makefiles in the lsh build.
-dvi installcheck uninstallcheck:
- true
-
all-here: $(TARGETS) $(DOCTARGETS)
nettle_SOURCES = aes-decrypt-internal.c aes-decrypt.c aes-decrypt-table.c \
#include <assert.h>
-#include "ecc.h"
#include "ecc-internal.h"
#define USE_REDC 0
#include <assert.h>
-#include "ecc.h"
#include "ecc-internal.h"
#define USE_REDC 0
NULL,
ecc_qp1h,
- ecc_mod, /* FIXME: Implement optimized mod function */
- ecc_mod, /* FIXME: Implement optimized reduce function */
+ ecc_mod,
+ ecc_mod,
ecc_mod_inv,
NULL,
},
{
/* The prime p. */
struct ecc_modulo p;
- /* Group order. FIXME: Currently, many functions rely on q.size ==
- p.size. This has to change for radix-51 implementation of
- curve25519 mod p arithmetic. */
+ /* Group order. Currently, many functions rely on q.size ==
+ p.size. */
struct ecc_modulo q;
unsigned short use_redc;
#include <assert.h>
-/* FIXME: Remove ecc.h include, once prototypes of more internal
- functions are moved to ecc-internal.h */
-#include "ecc.h"
#include "ecc-internal.h"
#define USE_REDC 0
# include "config.h"
#endif
-#include "ecc.h"
#include "ecc-internal.h"
#if HAVE_NATIVE_ecc_secp224r1_modp
#include <assert.h>
-#include "ecc.h"
#include "ecc-internal.h"
#if HAVE_NATIVE_ecc_secp256r1_redc
#include <assert.h>
-#include "ecc.h"
#include "ecc-internal.h"
#define USE_REDC 0
# include "config.h"
#endif
-#include "ecc.h"
#include "ecc-internal.h"
#define USE_REDC 0
/* High level ECDSA functions.
*
* A public key is represented as a struct ecc_point, and a private
- * key as a struct ecc_scalar. FIXME: Introduce some aliases? */
+ * key as a struct ecc_scalar. */
void
ecdsa_sign (const struct ecc_scalar *key,
void *random_ctx, nettle_random_func *random,
/* High level GOST DSA functions.
*
* A public key is represented as a struct ecc_point, and a private
- * key as a struct ecc_scalar. FIXME: Introduce some aliases? */
+ * key as a struct ecc_scalar. */
void
gostdsa_sign (const struct ecc_scalar *key,
void *random_ctx, nettle_random_func *random,
z |= (a[i] ^ b[i]);
}
- /* FIXME: Might compile to a branch instruction on some platforms. */
return z == 0;
}
if (verbose)
{
- /* FIXME: Use gmp_printf */
fprintf(stderr, "Public key: n=");
mpz_out_str(stderr, 16, pub->n);
fprintf(stderr, "\n e=");