Home
last modified time | relevance | path

Searched refs:poly1305_update (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/lib/crypto/
Dchacha20poly1305.c70 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()
[all …]
Dchacha20poly1305-selftest.c8850 poly1305_update(&poly1305_state, ad, ad_len); in chacha20poly1305_encrypt_bignonce()
8851 poly1305_update(&poly1305_state, pad0, (0x10 - ad_len) & 0xf); in chacha20poly1305_encrypt_bignonce()
8853 poly1305_update(&poly1305_state, dst, src_len); in chacha20poly1305_encrypt_bignonce()
8854 poly1305_update(&poly1305_state, pad0, (0x10 - src_len) & 0xf); in chacha20poly1305_encrypt_bignonce()
8857 poly1305_update(&poly1305_state, (u8 *)b.lens, sizeof(b.lens)); in chacha20poly1305_encrypt_bignonce()
/linux-6.1.9/include/crypto/
Dpoly1305.h79 static inline void poly1305_update(struct poly1305_desc_ctx *desc, in poly1305_update() function