Lines Matching refs:text
64 ctx->len.text = 0; in chacha20_poly1305_initkey()
83 ctx->len.text = 0; in chacha20_poly1305_initiv()
143 ctx->len.text = plen; in chacha20_poly1305_tls_cipher()
168 ctx->len.text = plen; in chacha20_poly1305_tls_cipher()
202 ctx->len.text = plen; in chacha20_poly1305_tls_cipher()
230 ctr[8] = (unsigned char)(ctx->len.text); in chacha20_poly1305_tls_cipher()
231 ctr[9] = (unsigned char)(ctx->len.text>>8); in chacha20_poly1305_tls_cipher()
232 ctr[10] = (unsigned char)(ctx->len.text>>16); in chacha20_poly1305_tls_cipher()
233 ctr[11] = (unsigned char)(ctx->len.text>>24); in chacha20_poly1305_tls_cipher()
234 ctr[12] = (unsigned char)(ctx->len.text>>32); in chacha20_poly1305_tls_cipher()
235 ctr[13] = (unsigned char)(ctx->len.text>>40); in chacha20_poly1305_tls_cipher()
236 ctr[14] = (unsigned char)(ctx->len.text>>48); in chacha20_poly1305_tls_cipher()
237 ctr[15] = (unsigned char)(ctx->len.text>>56); in chacha20_poly1305_tls_cipher()
294 ctx->len.aad = ctx->len.text = 0; in chacha20_poly1305_aead_cipher()
327 ctx->len.text += plen; in chacha20_poly1305_aead_cipher()
333 ctx->len.text += plen; in chacha20_poly1305_aead_cipher()
348 if ((rem = (size_t)ctx->len.text % POLY1305_BLOCK_SIZE)) in chacha20_poly1305_aead_cipher()
363 temp[8] = (unsigned char)(ctx->len.text); in chacha20_poly1305_aead_cipher()
364 temp[9] = (unsigned char)(ctx->len.text>>8); in chacha20_poly1305_aead_cipher()
365 temp[10] = (unsigned char)(ctx->len.text>>16); in chacha20_poly1305_aead_cipher()
366 temp[11] = (unsigned char)(ctx->len.text>>24); in chacha20_poly1305_aead_cipher()
367 temp[12] = (unsigned char)(ctx->len.text>>32); in chacha20_poly1305_aead_cipher()
368 temp[13] = (unsigned char)(ctx->len.text>>40); in chacha20_poly1305_aead_cipher()
369 temp[14] = (unsigned char)(ctx->len.text>>48); in chacha20_poly1305_aead_cipher()
370 temp[15] = (unsigned char)(ctx->len.text>>56); in chacha20_poly1305_aead_cipher()