From 54a1357ce3258aa10b5f1f22faea9add13bdc1d8 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 26 Nov 2016 20:24:58 +0100 Subject: [PATCH] Indent --- .../ref/box_curve25519xsalsa20poly1305.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/box_curve25519xsalsa20poly1305.c b/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/box_curve25519xsalsa20poly1305.c index a3936a79..509c81ed 100644 --- a/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/box_curve25519xsalsa20poly1305.c +++ b/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/box_curve25519xsalsa20poly1305.c @@ -2,14 +2,15 @@ #include "utils.h" int -crypto_box_curve25519xsalsa20poly1305(unsigned char *c, const unsigned char *m, +crypto_box_curve25519xsalsa20poly1305(unsigned char *c, + const unsigned char *m, unsigned long long mlen, const unsigned char *n, const unsigned char *pk, const unsigned char *sk) { - int ret; unsigned char k[crypto_box_curve25519xsalsa20poly1305_BEFORENMBYTES]; + int ret; if (crypto_box_curve25519xsalsa20poly1305_beforenm(k, pk, sk) != 0) { return -1; @@ -21,12 +22,15 @@ crypto_box_curve25519xsalsa20poly1305(unsigned char *c, const unsigned char *m, } int -crypto_box_curve25519xsalsa20poly1305_open( - unsigned char *m, const unsigned char *c, unsigned long long clen, - const unsigned char *n, const unsigned char *pk, const unsigned char *sk) +crypto_box_curve25519xsalsa20poly1305_open(unsigned char *m, + const unsigned char *c, + unsigned long long clen, + const unsigned char *n, + const unsigned char *pk, + const unsigned char *sk) { - int ret; unsigned char k[crypto_box_curve25519xsalsa20poly1305_BEFORENMBYTES]; + int ret; if (crypto_box_curve25519xsalsa20poly1305_beforenm(k, pk, sk) != 0) { return -1;