Home
last modified time | relevance | path

Searched refs:xor_block (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/openzfs/module/icp/include/modes/
H A Dmodes.h225 void (*xor_block)(uint8_t *, uint8_t *));
231 void (*xor_block)(uint8_t *, uint8_t *));
237 void (*xor_block)(uint8_t *, uint8_t *));
243 void (*xor_block)(uint8_t *, uint8_t *));
247 void (*xor_block)(uint8_t *, uint8_t *));
252 void (*xor_block)(uint8_t *, uint8_t *));
257 void (*xor_block)(uint8_t *, uint8_t *));
261 void (*xor_block)(uint8_t *, uint8_t *));
265 void (*xor_block)(uint8_t *, uint8_t *));
270 void (*xor_block)(uint8_t *, uint8_t *));
/freebsd/sys/net80211/
H A Dieee80211_crypto_ccmp.c404 xor_block(uint8_t *b, const uint8_t *a, size_t len) in xor_block() function
537 xor_block(auth, aad, AES_BLOCK_LEN); in ccmp_init_blocks()
539 xor_block(auth, &aad[AES_BLOCK_LEN], AES_BLOCK_LEN); in ccmp_init_blocks()
548 xor_block(_b, _pos, _len); \
554 xor_block(_pos, _e, _len); \
630 xor_block(b+sp, pos_next, space_next); in ccmp_encrypt()
638 xor_block(b+sp, pos_next, n->m_len); in ccmp_encrypt()
655 xor_block(pos_next, e+sp, space_next); in ccmp_encrypt()
658 xor_block(pos_next, e+sp, m->m_len); in ccmp_encrypt()
686 xor_block(b, s0, ccmp_get_trailer_len(key)); in ccmp_encrypt()
[all …]
H A Dieee80211_crypto_gcm.c46 xor_block(uint8_t *b, const uint8_t *a, size_t len) in xor_block() function
134 xor_block(z, v, AES_BLOCK_LEN); in gf_mult()
170 xor_block(y, xpos, AES_BLOCK_LEN); in ghash()
187 xor_block(y, tmp, AES_BLOCK_LEN); in ghash()
222 xor_block(ypos, xpos, AES_BLOCK_LEN); in aes_gctr()
/freebsd/sys/contrib/openzfs/module/icp/algs/modes/
H A Dccm.c46 void (*xor_block)(uint8_t *, uint8_t *)) in ccm_mode_encrypt_contiguous_blocks()
97 xor_block(blockp, mac_buf); in ccm_mode_encrypt_contiguous_blocks()
124 xor_block(blockp, lastp); in ccm_mode_encrypt_contiguous_blocks()
196 void (*xor_block)(uint8_t *, uint8_t *)) in ccm_encrypt_final()
233 xor_block(macp, mac_buf); in ccm_encrypt_final()
348 void (*xor_block)(uint8_t *, uint8_t *)) in ccm_mode_decrypt_contiguous_blocks()
471 xor_block(blockp, cbp); in ccm_mode_decrypt_contiguous_blocks()
521 void (*xor_block)(uint8_t *, uint8_t *)) in ccm_decrypt_final()
552 xor_block(macp, mac_buf); in ccm_decrypt_final()
762 void (*xor_block)(uint8_t *, uint8_t *)) in ccm_init()
[all …]
H A Dgcm.c41 xor_block((uint8_t *)(d), (uint8_t *)(c)->gcm_ghash); \
92 void (*xor_block)(uint8_t *, uint8_t *)) in gcm_mode_encrypt_contiguous_blocks()
156 xor_block(blockp, (uint8_t *)ctx->gcm_tmp); in gcm_mode_encrypt_contiguous_blocks()
210 void (*xor_block)(uint8_t *, uint8_t *)) in gcm_encrypt_final()
271 xor_block((uint8_t *)ctx->gcm_J0, ghash); in gcm_encrypt_final()
295 void (*xor_block)(uint8_t *, uint8_t *)) in gcm_decrypt_incomplete_block()
336 void (*xor_block)(uint8_t *, uint8_t *)) in gcm_mode_decrypt_contiguous_blocks()
339 (void) xor_block; in gcm_mode_decrypt_contiguous_blocks()
377 void (*xor_block)(uint8_t *, uint8_t *)) in gcm_decrypt_final()
411 processed, encrypt_block, xor_block); in gcm_decrypt_final()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-fill-block-ref.c30 xor_block(&blockR, prev_block); in fill_block()
58 xor_block(next_block, &blockR); in fill_block()
69 xor_block(&blockR, prev_block); in fill_block_with_xor()
71 xor_block(&block_tmp, in fill_block_with_xor()
100 xor_block(next_block, &blockR); in fill_block_with_xor()
H A Dargon2-core.h81 xor_block(block *dst, const block *src) in xor_block() function
H A Dargon2-core.c200 xor_block(&blockhash, in finalize()
/freebsd/contrib/wpa/src/crypto/
H A Daes-gcm.c25 static void xor_block(u8 *dst, const u8 *src) in xor_block() function
77 xor_block(z, v); in gf_mult()
113 xor_block(y, xpos); in ghash()
130 xor_block(y, tmp); in ghash()
159 xor_block(ypos, xpos); in aes_gctr()
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dargon2.c231 static void xor_block(BLOCK *dst, const BLOCK *src);
320 static void xor_block(BLOCK *dst, const BLOCK *src) in xor_block() function
376 xor_block(&blockR, prev); in fill_block()
380 xor_block(&tmp, next); in fill_block()
389 xor_block(next, &blockR); in fill_block()
765 xor_block(&blockhash, ctx->memory + last_block_in_lane); in finalize()
/freebsd/contrib/bearssl/src/kdf/
H A Dshake.c50 xor_block(uint64_t *A, const void *data, size_t rate) in xor_block() function
505 xor_block(sc->A, sc->dbuf, rate); in br_shake_inject()
530 xor_block(sc->A, sc->dbuf, sc->rate); in br_shake_flip()