27 byte size limit with CyBle_AesCcmEncrypt

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

cross mob
DaPi_1514011
Level 3
Level 3
First like received

Hi,

The built in API CyBle_AesCcmEncrypt shows a 27 byte size limit for the data encryption.  Is there a reason that 27 is the limit?  Any way to bypass?

Thanks, Dave

0 Likes
1 Solution
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

Based on the algorithm implementation, the hardware registers of BLE Link layer encrypt data registers are limited for maximum of 27 Bytes only. So the length of the data to be encrypted is limited to 27bytes.

Thanks,

P Yugandhar.

View solution in original post

0 Likes
1 Reply
Yugandhar
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 5 likes given

Hello,

Based on the algorithm implementation, the hardware registers of BLE Link layer encrypt data registers are limited for maximum of 27 Bytes only. So the length of the data to be encrypted is limited to 27bytes.

Thanks,

P Yugandhar.

0 Likes