| /rk3399_rockchip-uboot/lib/avb/libavb/ |
| H A D | avb_property_descriptor.c | 63 size_t key_size; member 90 if (data->key_size == prop_desc.key_num_bytes) { in property_lookup_desc_foreach() 93 data->key_size) == 0) { in property_lookup_desc_foreach() 110 size_t key_size, in avb_property_lookup() argument 114 if (key_size == 0) { in avb_property_lookup() 115 key_size = avb_strlen(key); in avb_property_lookup() 119 data.key_size = key_size; in avb_property_lookup() 138 size_t key_size, in avb_property_lookup_uint64() argument 146 value = avb_property_lookup(image_data, image_size, key, key_size, NULL); in avb_property_lookup_uint64()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | write_keybox.c | 125 uint8_t *key, uint32_t key_size, in rk_send_keybox_to_ta() argument 184 SharedMem1.size = key_size; in rk_send_keybox_to_ta() 236 uint32_t key_size; in write_keybox_to_secure_storage() local 283 key_size = *(widevine_data + SIZE_OF_TAG); in write_keybox_to_secure_storage() 284 data_size = *(widevine_data + SIZE_OF_TAG + sizeof(key_size)); in write_keybox_to_secure_storage() 290 sizeof(key_size) + sizeof(data_size), in write_keybox_to_secure_storage() 291 key_size, in write_keybox_to_secure_storage() 292 widevine_data + 12 + key_size, in write_keybox_to_secure_storage() 370 uint32_t key_size; in read_raw_data_from_secure_storage() local 378 memcpy(&key_size, read_data, sizeof(uint32_t)); in read_raw_data_from_secure_storage() [all …]
|
| H A D | attestation_key.c | 203 const uint8_t *key, uint32_t key_size) in write_key() argument 210 (uint8_t *)key, key_size); in write_key()
|
| /rk3399_rockchip-uboot/include/android_avb/ |
| H A D | avb_property_descriptor.h | 88 size_t key_size, 101 size_t key_size,
|
| /rk3399_rockchip-uboot/include/rockchip/ |
| H A D | rkce_core.h | 202 uint32_t key_size : 2; member 237 uint32_t key_size : 2; member
|
| /rk3399_rockchip-uboot/board/gdsys/a38x/ |
| H A D | hre.c | 342 const void *key, size_t key_size) in hre_op_loadkey() argument 351 hre_tpm_err = tpm_load_key2_oiap(parent_handle, key, key_size, in hre_op_loadkey()
|
| /rk3399_rockchip-uboot/drivers/crypto/rockchip/ |
| H A D | crypto_ce.c | 691 u32 key_size = 0; in rk_get_td_keysize() local 695 key_size = RKCE_KEY_AES_128; in rk_get_td_keysize() 697 key_size = RKCE_KEY_AES_192; in rk_get_td_keysize() 699 key_size = RKCE_KEY_AES_256; in rk_get_td_keysize() 704 return key_size; in rk_get_td_keysize() 780 hw_ctx->td->ctrl.key_size = rk_get_td_keysize(ce_algo, ce_mode, ctx->key_len); in rk_crypto_cipher()
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | kwbimage.c | 459 unsigned int key_size; in kwb_compute_pubkey_hash() local 466 key_size = (pk->key[2] << 8) + pk->key[3] + 4; in kwb_compute_pubkey_hash() 478 if (!EVP_DigestUpdate(ctx, pk->key, key_size)) { in kwb_compute_pubkey_hash()
|
| /rk3399_rockchip-uboot/board/gdsys/p1022/ |
| H A D | controlcenterd-id.c | 571 const void *key, size_t key_size) in hre_op_loadkey() argument 580 hre_tpm_err = tpm_load_key2_oiap(parent_handle, key, key_size, in hre_op_loadkey()
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | avbtool.py | 1267 (tag, num_bytes_following, key_size, 1270 self.SIZE - 16 + key_size + 1 + value_size + 1, 8) 1275 self.key = data[self.SIZE:(self.SIZE + key_size)].decode('utf-8') 1279 self.value = data[(self.SIZE + key_size + 1):(self.SIZE + key_size + 1 +
|