Indent
This commit is contained in:
parent
2ace041fd9
commit
54a1357ce3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user