Use byte instead of unsigned char

pull/765/head
Jeffrey Walton 2018-12-14 04:19:03 -05:00
parent cac977856a
commit 6f2188af79
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 2 additions and 2 deletions

View File

@ -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);