Lines Matching full:lengths
45 uint64_t lengths[2]; in chacha20_poly1305_encrypt() local
75 lengths[0] = htole64(aad_len); in chacha20_poly1305_encrypt()
76 lengths[1] = htole64(src_len); in chacha20_poly1305_encrypt()
77 exf->update(ctx, lengths, sizeof(lengths)); in chacha20_poly1305_encrypt()
81 explicit_bzero(lengths, sizeof(lengths)); in chacha20_poly1305_encrypt()
93 uint64_t lengths[2]; in chacha20_poly1305_decrypt() member
116 u.lengths[0] = htole64(aad_len); in chacha20_poly1305_decrypt()
117 u.lengths[1] = htole64(resid); in chacha20_poly1305_decrypt()
118 exf->update(ctx, u.lengths, sizeof(u.lengths)); in chacha20_poly1305_decrypt()
148 uint64_t lengths[2]; in xchacha20_poly1305_encrypt() local
178 lengths[0] = htole64(aad_len); in xchacha20_poly1305_encrypt()
179 lengths[1] = htole64(src_len); in xchacha20_poly1305_encrypt()
180 exf->update(ctx, lengths, sizeof(lengths)); in xchacha20_poly1305_encrypt()
184 explicit_bzero(lengths, sizeof(lengths)); in xchacha20_poly1305_encrypt()
196 uint64_t lengths[2]; in xchacha20_poly1305_decrypt() member
219 u.lengths[0] = htole64(aad_len); in xchacha20_poly1305_decrypt()
220 u.lengths[1] = htole64(resid); in xchacha20_poly1305_decrypt()
221 exf->update(ctx, u.lengths, sizeof(u.lengths)); in xchacha20_poly1305_decrypt()