Lines Matching refs:poly1305_update
70 poly1305_update(&poly1305_state, ad, ad_len); in __chacha20poly1305_encrypt()
72 poly1305_update(&poly1305_state, pad0, 0x10 - (ad_len & 0xf)); in __chacha20poly1305_encrypt()
76 poly1305_update(&poly1305_state, dst, src_len); in __chacha20poly1305_encrypt()
78 poly1305_update(&poly1305_state, pad0, 0x10 - (src_len & 0xf)); in __chacha20poly1305_encrypt()
82 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_encrypt()
144 poly1305_update(&poly1305_state, ad, ad_len); in __chacha20poly1305_decrypt()
146 poly1305_update(&poly1305_state, pad0, 0x10 - (ad_len & 0xf)); in __chacha20poly1305_decrypt()
149 poly1305_update(&poly1305_state, src, dst_len); in __chacha20poly1305_decrypt()
151 poly1305_update(&poly1305_state, pad0, 0x10 - (dst_len & 0xf)); in __chacha20poly1305_decrypt()
155 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in __chacha20poly1305_decrypt()
249 poly1305_update(&poly1305_state, ad, ad_len); in chacha20poly1305_crypt_sg_inplace()
251 poly1305_update(&poly1305_state, pad0, 0x10 - (ad_len & 0xf)); in chacha20poly1305_crypt_sg_inplace()
263 poly1305_update(&poly1305_state, addr, length); in chacha20poly1305_crypt_sg_inplace()
293 poly1305_update(&poly1305_state, miter.addr, in chacha20poly1305_crypt_sg_inplace()
298 poly1305_update(&poly1305_state, pad0, 0x10 - (src_len & 0xf)); in chacha20poly1305_crypt_sg_inplace()
302 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in chacha20poly1305_crypt_sg_inplace()