aboutsummaryrefslogtreecommitdiff
path: root/stack/smp/p_256_ecc_pp.h
diff options
context:
space:
mode:
Diffstat (limited to 'stack/smp/p_256_ecc_pp.h')
-rw-r--r--stack/smp/p_256_ecc_pp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stack/smp/p_256_ecc_pp.h b/stack/smp/p_256_ecc_pp.h
index dcc4211dc..b7a8e0066 100644
--- a/stack/smp/p_256_ecc_pp.h
+++ b/stack/smp/p_256_ecc_pp.h
@@ -25,6 +25,7 @@
#pragma once
+#include <cstdbool>
#include "p_256_multprecision.h"
typedef struct {
@@ -55,6 +56,8 @@ typedef struct {
extern elliptic_curve_t curve;
extern elliptic_curve_t curve_p256;
+bool ECC_ValidatePoint(const Point& p);
+
void ECC_PointMult_Bin_NAF(Point* q, Point* p, uint32_t* n, uint32_t keyLength);
#define ECC_PointMult(q, p, n, keyLength) \