aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/bigint/monty_generic/mp_monty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/bigint/monty_generic/mp_monty.cpp')
-rw-r--r--src/math/bigint/monty_generic/mp_monty.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/math/bigint/monty_generic/mp_monty.cpp b/src/math/bigint/monty_generic/mp_monty.cpp
index c162bfd4f..5409e2569 100644
--- a/src/math/bigint/monty_generic/mp_monty.cpp
+++ b/src/math/bigint/monty_generic/mp_monty.cpp
@@ -1,8 +1,10 @@
-/*************************************************
-* Montgomery Reduction Source File *
-* (C) 1999-2008 Jack Lloyd *
-* 2006 Luca Piccarreta *
-*************************************************/
+/*
+* Montgomery Reduction
+* (C) 1999-2008 Jack Lloyd
+* 2006 Luca Piccarreta
+*
+* Distributed under the terms of the Botan license
+*/
#include <botan/mp_core.h>
#include <botan/mp_asm.h>
@@ -12,9 +14,9 @@ namespace Botan {
extern "C" {
-/*************************************************
-* Montgomery Reduction Algorithm *
-*************************************************/
+/*
+* Montgomery Reduction Algorithm
+*/
void bigint_monty_redc(word z[], u32bit z_size,
const word x[], u32bit x_size, word u)
{