Home
last modified time | relevance | path

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

/linux-6.1.9/block/
Dsed-opal.c1702 static int generic_pw_cmd(u8 *key, size_t key_len, u8 *cpin_uid, in generic_pw_cmd() argument
1707 err = cmd_start(dev, cpin_uid, opalmethod[OPAL_SET]); in generic_pw_cmd()
1724 u8 cpin_uid[OPAL_UID_LENGTH]; in set_new_pw() local
1727 memcpy(cpin_uid, opaluid[OPAL_C_PIN_ADMIN1], OPAL_UID_LENGTH); in set_new_pw()
1730 cpin_uid[5] = 0x03; in set_new_pw()
1732 cpin_uid[7] = usr->opal_key.lr + 1; in set_new_pw()
1734 cpin_uid[7] = usr->who; in set_new_pw()
1738 cpin_uid, dev)) { in set_new_pw()
1748 u8 cpin_uid[OPAL_UID_LENGTH]; in set_sid_cpin_pin() local
1751 memcpy(cpin_uid, opaluid[OPAL_C_PIN_SID], OPAL_UID_LENGTH); in set_sid_cpin_pin()
[all …]