Lines Matching full:lens
64 __le64 lens[2]; in __chacha20poly1305_encrypt() member
80 b.lens[0] = cpu_to_le64(ad_len); in __chacha20poly1305_encrypt()
81 b.lens[1] = cpu_to_le64(src_len); in __chacha20poly1305_encrypt()
82 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_encrypt()
135 __le64 lens[2]; in __chacha20poly1305_decrypt() member
153 b.lens[0] = cpu_to_le64(ad_len); in __chacha20poly1305_decrypt()
154 b.lens[1] = cpu_to_le64(dst_len); in __chacha20poly1305_decrypt()
155 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_decrypt()
233 __le64 lens[2]; in chacha20poly1305_crypt_sg_inplace() member
300 b.lens[0] = cpu_to_le64(ad_len); in chacha20poly1305_crypt_sg_inplace()
301 b.lens[1] = cpu_to_le64(src_len); in chacha20poly1305_crypt_sg_inplace()
302 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in chacha20poly1305_crypt_sg_inplace()