Lines Matching full:lens
63 __le64 lens[2]; in __chacha20poly1305_encrypt() member
79 b.lens[0] = cpu_to_le64(ad_len); in __chacha20poly1305_encrypt()
80 b.lens[1] = cpu_to_le64(src_len); in __chacha20poly1305_encrypt()
81 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_encrypt()
137 __le64 lens[2]; in __chacha20poly1305_decrypt() member
155 b.lens[0] = cpu_to_le64(ad_len); in __chacha20poly1305_decrypt()
156 b.lens[1] = cpu_to_le64(dst_len); in __chacha20poly1305_decrypt()
157 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_decrypt()
235 __le64 lens[2]; in chacha20poly1305_crypt_sg_inplace() member
302 b.lens[0] = cpu_to_le64(ad_len); in chacha20poly1305_crypt_sg_inplace()
303 b.lens[1] = cpu_to_le64(src_len); in chacha20poly1305_crypt_sg_inplace()
304 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in chacha20poly1305_crypt_sg_inplace()