Home
last modified time | relevance | path

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

/block/
Dsed-opal.c1662 static int generic_pw_cmd(u8 *key, size_t key_len, u8 *cpin_uid, in generic_pw_cmd() argument
1667 err = cmd_start(dev, cpin_uid, opalmethod[OPAL_SET]); in generic_pw_cmd()
1684 u8 cpin_uid[OPAL_UID_LENGTH]; in set_new_pw() local
1687 memcpy(cpin_uid, opaluid[OPAL_C_PIN_ADMIN1], OPAL_UID_LENGTH); in set_new_pw()
1690 cpin_uid[5] = 0x03; in set_new_pw()
1692 cpin_uid[7] = usr->opal_key.lr + 1; in set_new_pw()
1694 cpin_uid[7] = usr->who; in set_new_pw()
1698 cpin_uid, dev)) { in set_new_pw()
1708 u8 cpin_uid[OPAL_UID_LENGTH]; in set_sid_cpin_pin() local
1711 memcpy(cpin_uid, opaluid[OPAL_C_PIN_SID], OPAL_UID_LENGTH); in set_sid_cpin_pin()
[all …]