From 6f2188af79e12fd67e260bb05497c11a1bd9eba2 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 14 Dec 2018 04:19:03 -0500 Subject: Use byte instead of unsigned char --- donna_sse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'donna_sse.cpp') 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); -- cgit v1.2.1