Lines Matching refs:key_id
767 uint32_t trusty_write_oem_otp_key(enum RK_OEM_OTP_KEYID key_id, in trusty_write_oem_otp_key() argument
798 TeecOperation.params[0].value.a = key_id; in trusty_write_oem_otp_key()
833 uint32_t trusty_oem_otp_key_is_written(enum RK_OEM_OTP_KEYID key_id, uint8_t *value) in trusty_oem_otp_key_is_written() argument
865 TeecOperation.params[0].value.a = key_id; in trusty_oem_otp_key_is_written()
885 uint32_t trusty_set_oem_hr_otp_read_lock(enum RK_OEM_OTP_KEYID key_id) in trusty_set_oem_hr_otp_read_lock() argument
915 TeecOperation.params[0].value.a = key_id; in trusty_set_oem_hr_otp_read_lock()
936 uint32_t trusty_oem_otp_key_cipher(enum RK_OEM_OTP_KEYID key_id, rk_cipher_config *config, in trusty_oem_otp_key_cipher() argument
948 if (key_id != RK_OEM_OTP_KEY0 && in trusty_oem_otp_key_cipher()
949 key_id != RK_OEM_OTP_KEY1 && in trusty_oem_otp_key_cipher()
950 key_id != RK_OEM_OTP_KEY2 && in trusty_oem_otp_key_cipher()
951 key_id != RK_OEM_OTP_KEY3 && in trusty_oem_otp_key_cipher()
952 key_id != RK_OEM_OTP_KEY_FW) in trusty_oem_otp_key_cipher()
973 if (key_id == RK_OEM_OTP_KEY_FW && config->key_len != 16) in trusty_oem_otp_key_cipher()
1012 TeecOperation.params[0].value.a = key_id; in trusty_oem_otp_key_cipher()