Lines Matching refs:cpin_uid
1975 static int generic_pw_cmd(u8 *key, size_t key_len, u8 *cpin_uid, in generic_pw_cmd() argument
1980 err = cmd_start(dev, cpin_uid, opalmethod[OPAL_SET]); in generic_pw_cmd()
1997 u8 cpin_uid[OPAL_UID_LENGTH]; in set_new_pw() local
2000 memcpy(cpin_uid, opaluid[OPAL_C_PIN_ADMIN1], OPAL_UID_LENGTH); in set_new_pw()
2003 cpin_uid[5] = 0x03; in set_new_pw()
2005 cpin_uid[7] = usr->opal_key.lr + 1; in set_new_pw()
2007 cpin_uid[7] = usr->who; in set_new_pw()
2011 cpin_uid, dev)) { in set_new_pw()
2021 u8 cpin_uid[OPAL_UID_LENGTH]; in set_sid_cpin_pin() local
2024 memcpy(cpin_uid, opaluid[OPAL_C_PIN_SID], OPAL_UID_LENGTH); in set_sid_cpin_pin()
2026 if (generic_pw_cmd(key->key, key->key_len, cpin_uid, dev)) { in set_sid_cpin_pin()