Searched refs:kdf_key (Results 1 - 4 of 4) sorted by relevance
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/secure/ |
H A D | load_crypto.c | 340 hi_u8 kdf_key[KEY_BYTE_LENGTH]; in crypto_gen_key_content() local 344 (hi_void)hi_cipher_trng_get_random_bytes(kdf_key, KEY_BYTE_LENGTH); in crypto_gen_key_content() 348 hi_u32 cs = (uintptr_t)(ctrl.key) ^ (hi_u32)sizeof(ctrl.key) ^ (uintptr_t)kdf_key ^ (hi_u32)sizeof(kdf_key); in crypto_gen_key_content() 349 if ((hi_u32)memcpy_s(ctrl.key, sizeof(ctrl.key), kdf_key, sizeof(kdf_key), cs) != EOK) { in crypto_gen_key_content()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
H A D | kernel_crypto.c | 342 hi_u8 kdf_key[KEY_BYTE_LENGTH]; in crypto_gen_key_content() local 346 (hi_void)hi_cipher_trng_get_random_bytes(kdf_key, KEY_BYTE_LENGTH); in crypto_gen_key_content() 350 if ((hi_u32)memcpy_s(ctrl.key, sizeof(ctrl.key), kdf_key, sizeof(kdf_key)) != EOK) { in crypto_gen_key_content()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/secure/ |
H A D | crypto.c | 393 hi_u8 kdf_key[KEY_BYTE_LENGTH]; in crypto_gen_key_content() local 397 (hi_void)hi_cipher_trng_get_random_bytes(kdf_key, KEY_BYTE_LENGTH); in crypto_gen_key_content() 401 hi_u32 cs = (uintptr_t)(ctrl.key) ^ (hi_u32)sizeof(ctrl.key) ^ (uintptr_t)kdf_key ^ (hi_u32)sizeof(kdf_key); in crypto_gen_key_content() 402 if ((hi_u32)memcpy_s(ctrl.key, sizeof(ctrl.key), kdf_key, sizeof(kdf_key), cs) != EOK) { in crypto_gen_key_content()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hks_client.h | 480 * @param kdf_key [IN] type #const struct hks_blob *,The base key used to derive the key. 495 const struct hks_key_param *key_param, const struct hks_blob *kdf_key,
|
Completed in 6 milliseconds