From 8b7d7d6c0bee1dc0c0f02e7a5a70f725d4682525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 5 Feb 2015 10:00:30 +0000 Subject: [PATCH] Add curve25519 to ecc-heap.sh --- scripts/ecc-heap.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/ecc-heap.sh b/scripts/ecc-heap.sh index edd41323f..4f88a4422 100755 --- a/scripts/ecc-heap.sh +++ b/scripts/ecc-heap.sh @@ -2,6 +2,10 @@ # Measure heap usage (and perfomance) of ECC operations with various values of # the relevant tunable compile-time parameters. +# +# Usage (preferably on a 32-bit platform): +# cmake -D CMAKE_BUILD_TYPE=Release . +# scripts/ecc-heap.sh | tee ecc-heap.log set -eu @@ -45,6 +49,7 @@ cat << EOF >$CONFIG_H #define POLARSSL_ECP_DP_SECP256R1_ENABLED #define POLARSSL_ECP_DP_SECP384R1_ENABLED #define POLARSSL_ECP_DP_SECP521R1_ENABLED +#define POLARSSL_ECP_DP_M255_ENABLED #include "check_config.h"