-
I am able to get the CMAC function to work on my PIC24 environment, but I'd like to be able to use ECDH and a KDF to generate the key in OPTIGA_KEY_ID_SESSION_BASED to avoid having to transfer the key in and out of the chip. Right now, I can only get it to work with OPTIGA_KEY_ID_SECRET_BASED. Similar to my HMAC question, what are the size limits for CMAC when calling optiga_crypt_symmetric_encrypt vs optiga_crypt_symmetric_encrypt_start/continue/final? Is there a table of size limitations for API functions any where in the documentation? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
can you please help me understand where exactly do you struggle? Ideally with some code snippet.
It is limited by the communication buffer (0x615 by default) per one command, but if you use start/update/finalize you can extend the maximum data size |
Beta Was this translation helpful? Give feedback.
can you please help me understand where exactly do you struggle? Ideally with some code snippet.
It is limited by the communication buffer (…