Home
last modified time | relevance | path

Searched refs:mlen0 (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/libsodium/src/libsodium/crypto_secretbox/
H A Dcrypto_secretbox_easy.c26 unsigned long long mlen0; in crypto_secretbox_detached() local
39 mlen0 = mlen; in crypto_secretbox_detached()
40 if (mlen0 > 64U - crypto_secretbox_ZEROBYTES) { in crypto_secretbox_detached()
41 mlen0 = 64U - crypto_secretbox_ZEROBYTES; in crypto_secretbox_detached()
43 for (i = 0U; i < mlen0; i++) { in crypto_secretbox_detached()
47 mlen0 + crypto_secretbox_ZEROBYTES, in crypto_secretbox_detached()
53 for (i = 0U; i < mlen0; i++) { in crypto_secretbox_detached()
57 if (mlen > mlen0) { in crypto_secretbox_detached()
58 crypto_stream_salsa20_xor_ic(c + mlen0, m + mlen0, mlen - mlen0, in crypto_secretbox_detached()
92 unsigned long long mlen0; in crypto_secretbox_open_detached() local
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_secretbox/xchacha20poly1305/
H A Dsecretbox_xchacha20poly1305.c30 unsigned long long mlen0; in crypto_secretbox_xchacha20poly1305_detached() local
43 mlen0 = mlen; in crypto_secretbox_xchacha20poly1305_detached()
44 if (mlen0 > 64U - crypto_secretbox_xchacha20poly1305_ZEROBYTES) { in crypto_secretbox_xchacha20poly1305_detached()
45 mlen0 = 64U - crypto_secretbox_xchacha20poly1305_ZEROBYTES; in crypto_secretbox_xchacha20poly1305_detached()
47 for (i = 0U; i < mlen0; i++) { in crypto_secretbox_xchacha20poly1305_detached()
51 mlen0 + crypto_secretbox_xchacha20poly1305_ZEROBYTES, in crypto_secretbox_xchacha20poly1305_detached()
57 for (i = 0U; i < mlen0; i++) { in crypto_secretbox_xchacha20poly1305_detached()
61 if (mlen > mlen0) { in crypto_secretbox_xchacha20poly1305_detached()
62 crypto_stream_chacha20_xor_ic(c + mlen0, m + mlen0, mlen - mlen0, in crypto_secretbox_xchacha20poly1305_detached()
99 unsigned long long mlen0; in crypto_secretbox_xchacha20poly1305_open_detached() local
[all …]