Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c176 static u8 xor8_buf(void *buf, size_t offset, int len) in xor8_buf() function
194 if (xor8_buf(block, rsvd0_off, xor_len) != 0xff) in verify_block_sig()
197 if (xor8_buf(block, 0, sizeof(*block)) != 0xff) in verify_block_sig()
208 block->ctrl_sig = ~xor8_buf(block, rsvd0_off, ctrl_xor_len); in calc_block_sig()
209 block->sig = ~xor8_buf(block, 0, sizeof(*block) - 1); in calc_block_sig()
226 ent->lay->sig = ~xor8_buf(ent->lay, 0, sizeof(*ent->lay)); in set_signature()
262 sig = xor8_buf(ent->lay, 0, sizeof(*ent->lay)); in verify_signature()