Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/thunderbolt/
Ddomain.c673 u8 challenge[TB_SWITCH_KEY_SIZE]; in tb_domain_challenge_switch_key()
674 u8 response[TB_SWITCH_KEY_SIZE]; in tb_domain_challenge_switch_key()
675 u8 hmac[TB_SWITCH_KEY_SIZE]; in tb_domain_challenge_switch_key()
698 ret = crypto_shash_setkey(tfm, sw->key, TB_SWITCH_KEY_SIZE); in tb_domain_challenge_switch_key()
Dicm.c498 memcpy(request.key, sw->key, TB_SWITCH_KEY_SIZE); in icm_fr_add_switch_key()
526 memcpy(request.challenge, challenge, TB_SWITCH_KEY_SIZE); in icm_fr_challenge_switch_key()
539 memcpy(response, reply.response, TB_SWITCH_KEY_SIZE); in icm_fr_challenge_switch_key()
1053 memcpy(request.key, sw->key, TB_SWITCH_KEY_SIZE); in icm_tr_add_switch_key()
1082 memcpy(request.challenge, challenge, TB_SWITCH_KEY_SIZE); in icm_tr_challenge_switch_key()
1095 memcpy(response, reply.response, TB_SWITCH_KEY_SIZE); in icm_tr_challenge_switch_key()
Dtb.h60 #define TB_SWITCH_KEY_SIZE 32 macro
Dswitch.c1457 ret = sprintf(buf, "%*phN\n", TB_SWITCH_KEY_SIZE, sw->key); in key_show()
1469 u8 key[TB_SWITCH_KEY_SIZE]; in key_store()