Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/nvme/common/
Dauth.c41 } dhgroup_map[] = { variable
58 if (dhgroup_id >= ARRAY_SIZE(dhgroup_map)) in nvme_auth_dhgroup_name()
60 return dhgroup_map[dhgroup_id].name; in nvme_auth_dhgroup_name()
66 if (dhgroup_id >= ARRAY_SIZE(dhgroup_map)) in nvme_auth_dhgroup_kpp()
68 return dhgroup_map[dhgroup_id].kpp; in nvme_auth_dhgroup_kpp()
78 for (i = 0; i < ARRAY_SIZE(dhgroup_map); i++) { in nvme_auth_dhgroup_id()
79 if (!strlen(dhgroup_map[i].name)) in nvme_auth_dhgroup_id()
81 if (!strncmp(dhgroup_map[i].name, dhgroup_name, in nvme_auth_dhgroup_id()
82 strlen(dhgroup_map[i].name))) in nvme_auth_dhgroup_id()