aboutsummaryrefslogtreecommitdiff
path: root/rsa.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-09-09 23:45:20 -0400
committerRob Austein <sra@hactrn.net>2017-09-09 23:45:20 -0400
commite3895a788129f57e27716d1ab00df002c96b81a3 (patch)
treef083e7cbdff491e7738657e3e008c83b6acf63cd /rsa.c
parent68019ff9624747d3505ef60d3dfb3cfc9b5d7720 (diff)
Far too much fun with modexpa7 operand lengths and locations.
Diffstat (limited to 'rsa.c')
-rw-r--r--rsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsa.c b/rsa.c
index d964210..9cc940c 100644
--- a/rsa.c
+++ b/rsa.c
@@ -98,7 +98,7 @@
*/
#ifndef HAL_RSA_MAX_OPERAND_LENGTH
-#define HAL_RSA_MAX_OPERAND_LENGTH (4096 / 8)
+#define HAL_RSA_MAX_OPERAND_LENGTH MODEXPA7_OPERAND_BYTES
#endif
/*