Home
last modified time | relevance | path

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

/freebsd/sys/crypto/openssl/
H A Dossl_chacha20.c64 unsigned char *out, *outseg; in ossl_chacha20() local
88 outseg = crypto_cursor_segment(&cc_out, &outlen); in ossl_chacha20()
100 out = outseg; in ossl_chacha20()
126 outseg = crypto_cursor_segment(&cc_out, &outlen); in ossl_chacha20()
129 outseg += todo; in ossl_chacha20()
166 unsigned char *out, *outseg; in ossl_chacha20_poly1305_encrypt() local
216 outseg = crypto_cursor_segment(&cc_out, &outlen); in ossl_chacha20_poly1305_encrypt()
228 out = outseg; in ossl_chacha20_poly1305_encrypt()
255 outseg = crypto_cursor_segment(&cc_out, &outlen); in ossl_chacha20_poly1305_encrypt()
258 outseg += todo; in ossl_chacha20_poly1305_encrypt()
[all …]
H A Dossl_aes.c83 unsigned char *out, *outseg; in ossl_aes_cbc() local
126 outseg = crypto_cursor_segment(&cc_out, &outlen); in ossl_aes_cbc()
140 out = outseg; in ossl_aes_cbc()
150 outseg = crypto_cursor_segment(&cc_out, &outlen); in ossl_aes_cbc()
153 outseg += seglen; in ossl_aes_cbc()
180 unsigned char *outseg; in ossl_aes_gcm() local
234 outseg = crypto_cursor_segment(&cc_out, &outlen); in ossl_aes_gcm()
238 if (ctx.ops->encrypt(&ctx, inseg, outseg, seglen) != 0) in ossl_aes_gcm()
241 if (ctx.ops->decrypt(&ctx, inseg, outseg, seglen) != 0) in ossl_aes_gcm()