Skip to main content
This topic has been closed for replies.
Best answer by KDJEM.1

Hello @SURLEAU.Frederic​ ,

You can find all documentation related to X-CUBE-CRYPTOLIB version 4 in this link and in this wiki.

Also this wiki shared the main changes compared to legacy Cryptographic Library version V3.x.x and helps with the migration of user code to the new Cryptographic Library version V4.x.x.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thank you.

Kaouthar

1 reply

KDJEM.1
KDJEM.1Best answer
Technical Moderator
March 9, 2023

Hello @SURLEAU.Frederic​ ,

You can find all documentation related to X-CUBE-CRYPTOLIB version 4 in this link and in this wiki.

Also this wiki shared the main changes compared to legacy Cryptographic Library version V3.x.x and helps with the migration of user code to the new Cryptographic Library version V4.x.x.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
anotherandrew
Senior
August 10, 2023

The links do not actually provide documentation on the APIs presented by X-CUBE-CRYPTOLIB. As an example, I'd like to use CMOX to implement AES128-CTR, but I cannot find documentation on which part of the IV is used as the nonce, and which part is used as the counter. The wiki mentions a cmox.chm file which does not exist in the 4.1.0 release of the library.

Where can I find a more complete set of documentation for the new X-CUBE-CRYPTOLIB API?

Tesla DeLorean
Guru
August 10, 2023

Most typically with AES128-CTR implementations the IV is left aligned, with the slack portion on the right being zero filled, and the whole word increments, from the right side.

There have definitely been multiple requests to get better / complete documentation.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..