Update comments

pull/765/head
Jeffrey Walton 2018-12-13 11:57:52 -05:00
parent c76f50ebbb
commit 9156c49555
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
// donna_sse.cpp - written and placed in public domain by Jeffrey Walton
// This is a port of Andrew Moon's public domain code.
// This is an integration of Andrew Moon's public domain code.
// Also see curve25519-donna-sse2.h.
// This is a port of Andrew Moon's public domain code. The port was clean,
// but it has one potential problem. The original code is C and relies upon
// unions. Accessing the inactive union member is undefined behavior in C++.
// That means copying the array into packedelem8.u is OK; but then using
// This is a integration of Andrew Moon's public domain code. The port was
// clean, but it has one potential problem. The original code is C and relies
// upon unions. Accessing the inactive union member is undefined behavior in
// C++. That means copying the array into packedelem8.u is OK; but then using
// packedelem8.v in a calcualtion is undefined behavior. We will have to
// keep an eye on things or rewrite significant portions of this code.