mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
Indent
This commit is contained in:
parent
f537541a0a
commit
1d536ffab7
@ -184,8 +184,8 @@ crypto_aead_aegis256_encrypt(unsigned char *c, unsigned long long *clen_p, const
|
|||||||
if (mlen > crypto_aead_aegis256_MESSAGEBYTES_MAX) {
|
if (mlen > crypto_aead_aegis256_MESSAGEBYTES_MAX) {
|
||||||
sodium_misuse();
|
sodium_misuse();
|
||||||
}
|
}
|
||||||
ret =
|
ret = crypto_aead_aegis256_encrypt_detached(c, c + mlen, NULL, m, mlen,
|
||||||
crypto_aead_aegis256_encrypt_detached(c, c + mlen, NULL, m, mlen, ad, adlen, nsec, npub, k);
|
ad, adlen, nsec, npub, k);
|
||||||
if (clen_p != NULL) {
|
if (clen_p != NULL) {
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
clen = mlen + 16ULL;
|
clen = mlen + 16ULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user