Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20_poly1305_hw.c124 size_t tail, tohash_len, buf_len, plen = ctx->tls_payload_length; in chacha20_poly1305_tls_cipher() local
141 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
153 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher()
166 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
188 tohash_len += i + tail; in chacha20_poly1305_tls_cipher()
200 tohash_len = 0; in chacha20_poly1305_tls_cipher()
239 tohash_len += POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
241 Poly1305_Update(poly, tohash, tohash_len); in chacha20_poly1305_tls_cipher()
/freebsd/crypto/openssl/crypto/evp/
H A De_chacha20_poly1305.c218 size_t tail, tohash_len, buf_len, plen = actx->tls_payload_length; in chacha20_poly1305_tls_cipher() local
237 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
249 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher()
262 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
284 tohash_len += i + tail; in chacha20_poly1305_tls_cipher()
296 tohash_len = 0; in chacha20_poly1305_tls_cipher()
338 tohash_len += POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
341 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher()