Home
last modified time | relevance | path

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

/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
H A Dat_demo_hks.c491 struct hks_blob plain_text_blob = {0}; in app_hks_decrypt_conn_param() local
492 plain_text_blob.size = cipher_text_blob.size - CIPHER_PLAIN_LEN_MIN_DIFF; in app_hks_decrypt_conn_param()
493 plain_text_blob.data = (hi_u8 *)req; 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()
861 struct hks_blob plain_text_blob = {0}; in app_hks_decrypt_cert() local
862 plain_text_blob.size = cipher_text_blob.size - CIPHER_PLAIN_LEN_MIN_DIFF; in app_hks_decrypt_cert()
863 if ((*plain_size) < plain_text_blob.size) { in app_hks_decrypt_cert()
867 plain_text_blob.data = plain_data; 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()
874 *plain_size = plain_text_blob in app_hks_decrypt_cert()
[all...]

Completed in 7 milliseconds