Home
last modified time | relevance | path

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

/src/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20_poly1305_hw.c123 size_t tail, tohash_len, buf_len, plen = ctx->tls_payload_length; in chacha20_poly1305_tls_cipher() local
140 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
152 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher()
165 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
187 tohash_len += i + tail; in chacha20_poly1305_tls_cipher()
199 tohash_len = 0; in chacha20_poly1305_tls_cipher()
238 tohash_len += POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
240 Poly1305_Update(poly, tohash, tohash_len); in chacha20_poly1305_tls_cipher()
/src/crypto/openssl/crypto/evp/
H A De_chacha20_poly1305.c220 size_t tail, tohash_len, buf_len, plen = actx->tls_payload_length; in chacha20_poly1305_tls_cipher() local
239 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
251 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher()
264 tohash_len = POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
286 tohash_len += i + tail; in chacha20_poly1305_tls_cipher()
298 tohash_len = 0; in chacha20_poly1305_tls_cipher()
340 tohash_len += POLY1305_BLOCK_SIZE; in chacha20_poly1305_tls_cipher()
343 Poly1305_Update(POLY1305_ctx(actx), tohash, tohash_len); in chacha20_poly1305_tls_cipher()