Searched refs:key_id (Results 1 – 5 of 5) sorted by relevance
| /rk3399_rockchip-uboot/include/optee_include/ |
| H A D | OpteeClientInterface.h | 115 uint32_t trusty_write_oem_otp_key(enum RK_OEM_OTP_KEYID key_id, 117 uint32_t trusty_oem_otp_key_is_written(enum RK_OEM_OTP_KEYID key_id, uint8_t *value); 118 uint32_t trusty_set_oem_hr_otp_read_lock(enum RK_OEM_OTP_KEYID key_id); 119 uint32_t trusty_oem_otp_key_cipher(enum RK_OEM_OTP_KEYID key_id, rk_cipher_config *config, 124 uint32_t trusty_write_oem_hdcp_key(enum RK_HDCP_KEYID key_id, 126 uint32_t trusty_oem_hdcp_key_is_written(enum RK_HDCP_KEYID key_id, uint8_t *value); 127 uint32_t trusty_set_oem_hdcp_key_mask(enum RK_HDCP_KEYID key_id); 134 uint32_t trusty_set_fw_encrypt_key_mask(enum RK_FW_KEYID key_id); 135 uint32_t trusty_fw_encrypt_key_is_written(enum RK_FW_KEYID key_id, uint8_t *value); 136 uint32_t trusty_write_fw_encrypt_key(enum RK_FW_KEYID key_id, [all …]
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | ethsw.c | 608 static int keyword_match_gen(enum ethsw_keyword_id key_id, int argc, char 611 static int keyword_match_port(enum ethsw_keyword_id key_id, int argc, 614 static int keyword_match_vlan(enum ethsw_keyword_id key_id, int argc, 617 static int keyword_match_pvid(enum ethsw_keyword_id key_id, int argc, 620 static int keyword_match_mac_addr(enum ethsw_keyword_id key_id, int argc, 623 static int keyword_match_aggr(enum ethsw_keyword_id key_id, int argc, 633 int (*match)(enum ethsw_keyword_id key_id, int argc, char *const argv[], 750 static int keyword_match_gen(enum ethsw_keyword_id key_id, int argc, in keyword_match_gen() argument 754 if (strcmp(argv[*argc_nr], keyword[key_id].keyword_name) == 0) { in keyword_match_gen() 755 parsed_cmd->cmd_to_keywords[*argc_nr] = key_id; in keyword_match_gen() [all …]
|
| /rk3399_rockchip-uboot/lib/optee_clientApi/ |
| H A D | OpteeClientInterface.c | 950 uint32_t trusty_write_oem_otp_key(enum RK_OEM_OTP_KEYID key_id, in trusty_write_oem_otp_key() argument 981 TeecOperation.params[0].value.a = key_id; in trusty_write_oem_otp_key() 1016 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 1048 TeecOperation.params[0].value.a = key_id; in trusty_oem_otp_key_is_written() 1068 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 1098 TeecOperation.params[0].value.a = key_id; in trusty_set_oem_hr_otp_read_lock() 1119 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 1131 if (key_id != RK_OEM_OTP_KEY0 && in trusty_oem_otp_key_cipher() 1132 key_id != RK_OEM_OTP_KEY1 && in trusty_oem_otp_key_cipher() 1133 key_id != RK_OEM_OTP_KEY2 && in trusty_oem_otp_key_cipher() [all …]
|
| /rk3399_rockchip-uboot/lib/rsa/ |
| H A D | rsa-sign.c | 127 char key_id[1024]; in rsa_engine_get_pub_key() local 138 snprintf(key_id, sizeof(key_id), in rsa_engine_get_pub_key() 142 snprintf(key_id, sizeof(key_id), in rsa_engine_get_pub_key() 150 key = ENGINE_load_public_key(engine, key_id, NULL, NULL); in rsa_engine_get_pub_key() 238 char key_id[1024]; in rsa_engine_get_priv_key() local 249 snprintf(key_id, sizeof(key_id), in rsa_engine_get_priv_key() 253 snprintf(key_id, sizeof(key_id), in rsa_engine_get_priv_key() 261 key = ENGINE_load_private_key(engine, key_id, NULL, NULL); in rsa_engine_get_priv_key()
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | f_rockusb.c | 604 uint8_t key_id = *((uint8_t *)data + 8); in rkusb_do_vs_write() local 606 if (trusty_set_oem_hr_otp_read_lock(key_id) != 0) { in rkusb_do_vs_write() 617 if (trusty_write_oem_otp_key(key_id, (uint8_t *)(data + 9), key_len) != 0) { in rkusb_do_vs_write() 625 uint8_t key_id = *((uint8_t *)data + 8); in rkusb_do_vs_write() local 627 if (trusty_set_fw_encrypt_key_mask(key_id) != 0) { in rkusb_do_vs_write() 638 if (trusty_write_fw_encrypt_key(key_id, (uint8_t *)(data + 9), key_len) != 0) { in rkusb_do_vs_write()
|