Home
last modified time | relevance | path

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

/AliOS-Things-master/components/linkkit/wrappers/os/
A DHAL_PRODUCT_rhino.c179 p_Aes128_t aes_e_h = in HAL_SaveDeviceIdentity() local
182 if (aes_e_h == NULL) { in HAL_SaveDeviceIdentity()
187 res = infra_aes128_cfb_encrypt(aes_e_h, _product_secret, len, in HAL_SaveDeviceIdentity()
189 infra_aes128_destroy(aes_e_h); in HAL_SaveDeviceIdentity()
209 p_Aes128_t aes_e_h = in HAL_SaveDeviceIdentity() local
212 if (aes_e_h == NULL) { in HAL_SaveDeviceIdentity()
217 res = infra_aes128_cfb_encrypt(aes_e_h, ds, len, dec_secret); in HAL_SaveDeviceIdentity()
218 infra_aes128_destroy(aes_e_h); in HAL_SaveDeviceIdentity()
/AliOS-Things-master/components/linkkit/dev_model/alcs/
A Dalcs_api.c323 p_Aes128_t aes_e_h = in alcs_encrypt() local
325 ret = infra_aes128_cbc_encrypt(aes_e_h, src, len1 >> 4, out); in alcs_encrypt()
326 infra_aes128_destroy(aes_e_h); in alcs_encrypt()
330 p_Aes128_t aes_e_h = NULL; in alcs_encrypt() local
333 aes_e_h = in alcs_encrypt()
335 ret = infra_aes128_cbc_encrypt(aes_e_h, buf, 1, (uint8_t *)out + len1); in alcs_encrypt()
336 infra_aes128_destroy(aes_e_h); in alcs_encrypt()
/AliOS-Things-master/components/linkkit/iot_coap/client/
A Diotx_coap_api.c372 p_Aes128_t aes_e_h = infra_aes128_init((unsigned char *)key, in iotx_aes_cbc_encrypt() local
375 ret = infra_aes128_cbc_encrypt(aes_e_h, src, len1 >> 4, out); in iotx_aes_cbc_encrypt()
381 ret = infra_aes128_cbc_encrypt(aes_e_h, buf, 1, in iotx_aes_cbc_encrypt()
385 infra_aes128_destroy(aes_e_h); in iotx_aes_cbc_encrypt()
443 p_Aes128_t aes_e_h = infra_aes128_init((unsigned char *)key, in iotx_aes_cfb_encrypt() local
445 ret = infra_aes128_cfb_encrypt(aes_e_h, src, len, out); in iotx_aes_cfb_encrypt()
446 infra_aes128_destroy(aes_e_h); in iotx_aes_cfb_encrypt()

Completed in 7 milliseconds