clen -> clen_p
This commit is contained in:
parent
79935dc918
commit
e34f3512ad
@ -629,7 +629,7 @@ crypto_aead_aes256gcm_encrypt_detached_afternm(unsigned char *c,
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
crypto_aead_aes256gcm_encrypt_afternm(unsigned char *c, unsigned long long *clen,
|
crypto_aead_aes256gcm_encrypt_afternm(unsigned char *c, unsigned long long *clen_p,
|
||||||
const unsigned char *m, unsigned long long mlen,
|
const unsigned char *m, unsigned long long mlen,
|
||||||
const unsigned char *ad, unsigned long long adlen,
|
const unsigned char *ad, unsigned long long adlen,
|
||||||
const unsigned char *nsec,
|
const unsigned char *nsec,
|
||||||
@ -641,8 +641,8 @@ crypto_aead_aes256gcm_encrypt_afternm(unsigned char *c, unsigned long long *clen
|
|||||||
m, mlen,
|
m, mlen,
|
||||||
ad, adlen,
|
ad, adlen,
|
||||||
nsec, npub, ctx_);
|
nsec, npub, ctx_);
|
||||||
if (clen != NULL) {
|
if (clen_p != NULL) {
|
||||||
*clen = mlen + 16;
|
*clen_p = mlen + 16;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user