No AesDecrypt method

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello guys,

   

 

   

I want to manually encrypt and decrypt my data using AES-128. I took a look at the documentation and I found the following method:

   

CYBLE_API_RESULT_T CyBle_AesEncrypt (uint8 * plainData, uint8 * aesKey, uint8 * encryptedData)

   

The problem is that I can't find the CyBle_AesDecrypt method or similar, to decrypt the data I receive. Is there a method like this?

   

 

   

NOTE: I know about the CyBle_AesCcmEncrypt and CyBle_AesCcmDecrypt methods, but I did not want to use them because I do not want to have to transmit the NONCE and the MIC in every message. If there is any safe way of using these functions without having to transmit the NONCE and the MIC in every message it would be a good solution as well.

0 Likes
1 Solution
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello ,

   

We do not have an API other than, CyBle_AesCcmDecrypt().

   

Thanks,

   

Hima

View solution in original post

0 Likes
1 Reply
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello ,

   

We do not have an API other than, CyBle_AesCcmDecrypt().

   

Thanks,

   

Hima

0 Likes