Home
last modified time | relevance | path

Searched refs:cipher_blob (Results 1 – 1 of 1) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
Dat_demo_hks.c593 struct hks_blob *cipher_blob, hi_u32 cert_index) in hks_encrypt_cert_get_cipher() argument
597 ret = hks_set_blob(0, plain_blob->size + CIPHER_PLAIN_LEN_MIN_DIFF, "1234", cipher_blob); in hks_encrypt_cert_get_cipher()
604 ret = hks_encrypt_cert(param, plain_blob, cipher_blob); in hks_encrypt_cert_get_cipher()
606 free(cipher_blob->data); in hks_encrypt_cert_get_cipher()
607 cipher_blob->data = HI_NULL; in hks_encrypt_cert_get_cipher()
632 …_u32 write_cert_text_to_flash(hi_u32 base_addr, encrypt_param *param, struct hks_blob *cipher_blob, in write_cert_text_to_flash() argument
647 …ret |= hi_flash_write(cert_write_addr + sizeof(encrypt_param), cipher_blob->size, cipher_blob->dat… in write_cert_text_to_flash()