This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

如何使用AES解密数据



SM中提供了加密函数如下,

SM_Encrypt (uint8 *pKey, uint8 *pPlainText, uint8 *pResult)

但是解密函数中哪里呢?我看到这HCI中提供

extern hciStatus_t HCI_EXT_DecryptCmd( uint8 *key, uint8 *encText );

但是解密返回结果在哪里?

该函数注释中提到Related Events: HCI_VendorSpecifcCommandCompleteEvent

是否要通过该事件得到结果,如何做到?

谢谢!