Searched refs:xor8_buf (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | cmd.c | 219 static u8 xor8_buf(void *buf, size_t offset, int len) in xor8_buf() function 237 if (xor8_buf(block, rsvd0_off, xor_len) != 0xff) in verify_block_sig() 240 if (xor8_buf(block, 0, sizeof(*block)) != 0xff) in verify_block_sig() 251 block->ctrl_sig = ~xor8_buf(block, rsvd0_off, ctrl_xor_len); in calc_block_sig() 252 block->sig = ~xor8_buf(block, 0, sizeof(*block) - 1); in calc_block_sig() 269 ent->lay->sig = ~xor8_buf(ent->lay, 0, sizeof(*ent->lay)); in set_signature() 305 sig = xor8_buf(ent->lay, 0, sizeof(*ent->lay)); in verify_signature()
|