diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-01-26 04:43:55 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2019-01-26 04:43:55 -0500 |
commit | e719a1a0ea54de3597fd6cb160d9052fff8cd691 (patch) | |
tree | 3d909b80e62853a3f701beb5cebde44210e46670 /poly1305.cpp | |
parent | 83f41e0d766f49b86f9e519b85027d0bf9d2b610 (diff) | |
download | cryptopp-git-e719a1a0ea54de3597fd6cb160d9052fff8cd691.tar.gz |
Add CRYPTOGAMS copyright notice for Poly1305 scalar multiplication
Diffstat (limited to 'poly1305.cpp')
-rw-r--r-- | poly1305.cpp | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/poly1305.cpp b/poly1305.cpp index 9836dcdd..934d5935 100644 --- a/poly1305.cpp +++ b/poly1305.cpp @@ -1,11 +1,29 @@ // poly1305.cpp - written and placed in the public domain by Jeffrey Walton and Jean-Pierre Munch
-// Based on Andy Polyakov's Base-2^26 scalar multiplication implementation for OpenSSL.
+// Based on Andy Polyakov's Base-2^26 scalar multiplication implementation.
+// For more information, see https://www.openssl.org/~appro/cryptogams/.
+
+// Copyright (c) 2006-2017, CRYPTOGAMS by <appro@openssl.org>
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions
+// are met:
+//
+// * Redistributions of source code must retain copyright notices,
+// this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following
+// disclaimer in the documentation and/or other materials
+// provided with the distribution.
+// * Neither the name of the CRYPTOGAMS nor the names of its copyright
+// holder and contributors may be used to endorse or promote products
+// derived from this software without specific prior written permission.
#include "pch.h"
#include "cryptlib.h"
+#include "poly1305.h"
#include "aes.h"
#include "cpu.h"
-#include "poly1305.h"
NAMESPACE_BEGIN(CryptoPP)
|