Home
last modified time | relevance | path

Searched refs:key_data_blob (Results 1 - 1 of 1) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
H A Dat_demo_hks.c271 struct hks_blob key_data_blob = {0}; in hks_encrypt_conn_para() local
282 key_data_blob.type = HKS_BLOB_TYPE_ENCRYPTED_KEY; in hks_encrypt_conn_para()
283 key_data_blob.data = &key_data[0]; in hks_encrypt_conn_para()
284 key_data_blob.size = key_size; in hks_encrypt_conn_para()
287 ret = hks_symmetric_encrypt(&key_data_blob, &key_param, crypt_param_conn, plain_text, cipher_text); in hks_encrypt_conn_para()
468 struct hks_blob key_data_blob = {0}; in app_hks_decrypt_conn_param() local
469 hks_get_key_data(key_save_partition_addr, &key_data_blob); in app_hks_decrypt_conn_param()
495 ret = hks_symmetric_decrypt(&key_data_blob, &key_param, &hks_encry_param, &plain_text_blob, &cipher_text_blob); in app_hks_decrypt_conn_param()
549 struct hks_blob key_data_blob = {0}; in hks_encrypt_cert() local
557 key_data_blob in hks_encrypt_cert()
836 struct hks_blob key_data_blob = {0}; app_hks_decrypt_cert() local
[all...]

Completed in 2 milliseconds