Home
last modified time | relevance | path

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

/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
H A Dat_demo_hks.c487 struct hks_blob cipher_text_blob = {0}; in app_hks_decrypt_conn_param() local
488 hks_get_conn_cipher_data(cipher_data_save_addr, &cipher_text_blob); in app_hks_decrypt_conn_param()
492 plain_text_blob.size = cipher_text_blob.size - CIPHER_PLAIN_LEN_MIN_DIFF; 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()
857 struct hks_blob cipher_text_blob = {0}; in app_hks_decrypt_cert() local
858 hks_get_cert_cipher_data(cipher_data_save_addr, &cipher_text_blob, cipher_data_size); in app_hks_decrypt_cert()
862 plain_text_blob.size = cipher_text_blob.size - CIPHER_PLAIN_LEN_MIN_DIFF; in app_hks_decrypt_cert()
869 ret = hks_symmetric_decrypt(&key_data_blob, &key_param, &hks_encry_param, &plain_text_blob, &cipher_text_blob); in app_hks_decrypt_cert()

Completed in 2 milliseconds