aboutsummaryrefslogtreecommitdiff
path: root/ecdsa_fpga_modular.h
diff options
context:
space:
mode:
authorPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2021-04-11 17:15:08 +0300
committerPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2021-04-11 17:15:08 +0300
commit1b3b4b655b171e2e016970b19f0b43fdd2da5f8d (patch)
treef122947cb2c75f98f75ac85b3dfa2877e72748a9 /ecdsa_fpga_modular.h
parenta2537134c1964210c8a8132e3fad4914288be103 (diff)
Added debugging helper flag to dump outputs of modular operations.
Diffstat (limited to 'ecdsa_fpga_modular.h')
-rw-r--r--ecdsa_fpga_modular.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ecdsa_fpga_modular.h b/ecdsa_fpga_modular.h
index 3b75779..3a054e3 100644
--- a/ecdsa_fpga_modular.h
+++ b/ecdsa_fpga_modular.h
@@ -6,7 +6,7 @@
//
// Authors: Pavel Shatov
//
-// Copyright (c) 2015-2016, 2018 NORDUnet A/S
+// Copyright (c) 2015-2016, 2018, 2021 NORDUnet A/S
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
@@ -97,6 +97,12 @@ extern FPGA_BUFFER ECDSA_DELTA;
//------------------------------------------------------------------------------
+// Settings
+//------------------------------------------------------------------------------
+extern bool _DUMP_MODULAR_RESULTS;
+
+
+//------------------------------------------------------------------------------
// Prototypes
//------------------------------------------------------------------------------
void fpga_modular_init ();