summaryrefslogtreecommitdiff
path: root/donna_sse.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-12-14 04:19:03 -0500
committerJeffrey Walton <noloader@gmail.com>2018-12-14 04:19:03 -0500
commit6f2188af79e12fd67e260bb05497c11a1bd9eba2 (patch)
tree786d26ffaa2f20b1b10ca1ee55cdf608340ec8a4 /donna_sse.cpp
parentcac977856ae0cecf566b58a3726411a69ec779b1 (diff)
downloadcryptopp-git-6f2188af79e12fd67e260bb05497c11a1bd9eba2.tar.gz
Use byte instead of unsigned char
Diffstat (limited to 'donna_sse.cpp')
-rw-r--r--donna_sse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/donna_sse.cpp b/donna_sse.cpp
index c6e926d8..2f6a68ac 100644
--- a/donna_sse.cpp
+++ b/donna_sse.cpp
@@ -116,7 +116,7 @@ curve25519_copy(bignum25519 out, const bignum25519 in) {
/* Take a little-endian, 32-byte number and expand it into polynomial form */
inline void
-curve25519_expand(bignum25519 out, const unsigned char in[32]) {
+curve25519_expand(bignum25519 out, const byte in[32]) {
word32 x0,x1,x2,x3,x4,x5,x6,x7;
x0 = *(word32 *)(in + 0);
@@ -147,7 +147,7 @@ curve25519_expand(bignum25519 out, const unsigned char in[32]) {
* little-endian, 32-byte array
*/
inline void
-curve25519_contract(unsigned char out[32], const bignum25519 in) {
+curve25519_contract(byte out[32], const bignum25519 in) {
ALIGN(16) bignum25519 f;
curve25519_copy(f, in);