Lines Matching refs:OPAL_UID_LENGTH

108 static const u8 opaluid[][OPAL_UID_LENGTH] = {
806 if (length > OPAL_UID_LENGTH) { in build_locking_range()
811 memcpy(buffer, opaluid[OPAL_LOCKINGRANGE_GLOBAL], OPAL_UID_LENGTH); in build_locking_range()
824 if (length > OPAL_UID_LENGTH) { in build_locking_user()
829 memcpy(buffer, opaluid[OPAL_USER1_UID], OPAL_UID_LENGTH); in build_locking_user()
1198 add_token_bytestring(&err, dev, uid, OPAL_UID_LENGTH); in cmd_start()
1317 u8 uid[OPAL_UID_LENGTH]; in generic_get_table_info()
1334 u8 uid[OPAL_UID_LENGTH]; in gen_key()
1381 u8 uid[OPAL_UID_LENGTH]; in get_active_key()
1518 u8 uid[OPAL_UID_LENGTH]; in setup_locking_range()
1615 u8 lr_buffer[OPAL_UID_LENGTH]; in locking_range_status()
1708 add_token_bytestring(&err, dev, opaluid[sp_type], OPAL_UID_LENGTH); in start_generic_opal_session()
1724 OPAL_UID_LENGTH); in start_generic_opal_session()
1791 u8 lk_ul_user[OPAL_UID_LENGTH]; in start_auth_opal_session()
1805 memcpy(lk_ul_user, opaluid[OPAL_ADMIN1_UID], OPAL_UID_LENGTH); in start_auth_opal_session()
1815 OPAL_UID_LENGTH); in start_auth_opal_session()
1823 add_token_bytestring(&err, dev, lk_ul_user, OPAL_UID_LENGTH); in start_auth_opal_session()
1851 u8 uid[OPAL_UID_LENGTH]; in internal_activate_user()
1854 memcpy(uid, opaluid[OPAL_USER1_UID], OPAL_UID_LENGTH); in internal_activate_user()
1899 u8 uid[OPAL_UID_LENGTH]; in erase_locking_range()
1997 u8 cpin_uid[OPAL_UID_LENGTH]; in set_new_pw()
2000 memcpy(cpin_uid, opaluid[OPAL_C_PIN_ADMIN1], OPAL_UID_LENGTH); in set_new_pw()
2021 u8 cpin_uid[OPAL_UID_LENGTH]; in set_sid_cpin_pin()
2024 memcpy(cpin_uid, opaluid[OPAL_C_PIN_SID], OPAL_UID_LENGTH); in set_sid_cpin_pin()
2041 OPAL_UID_LENGTH/2); in add_authority_object_ref()
2052 OPAL_UID_LENGTH/2); in add_boolean_object_ref()
2063 u8 lr_buffer[OPAL_UID_LENGTH]; in set_lr_boolean_ace()
2064 u8 user_uid[OPAL_UID_LENGTH]; in set_lr_boolean_ace()
2068 memcpy(lr_buffer, opaluid[opal_uid], OPAL_UID_LENGTH); in set_lr_boolean_ace()
2085 OPAL_UID_LENGTH); in set_lr_boolean_ace()
2088 OPAL_UID_LENGTH); in set_lr_boolean_ace()
2156 u8 lr_buffer[OPAL_UID_LENGTH]; in lock_unlock_locking_range()
2212 u8 lr_buffer[OPAL_UID_LENGTH]; in lock_unlock_locking_range_sum()
2254 u8 user_lr[OPAL_UID_LENGTH]; in activate_lsp()
2270 add_token_bytestring(&err, dev, user_lr, OPAL_UID_LENGTH); in activate_lsp()
2273 add_token_bytestring(&err, dev, user_lr, OPAL_UID_LENGTH); in activate_lsp()