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.

AM2634: RSA sign and verify

Genius 13655 points
Part Number: AM2634

Hello Champs,

The RSA signature/verify example for AM2634 uses openssl rsautl -sign (raw RSA PKCS#1v1.5 signature. sign directly to hash); however, customer used openssl dgst -sign (see note: RSA PKCS#1v1.5 signature, place hash in DigestInfo before signing DigestInfo), the difference between the two signing methods is explained in the following two URLs. He looked at some information and said that openssl rsautl -sign can be considered a variant, openssl dgst -sign is a more standard way to implement openssl dgst -sign.

Example: Dthe_rsa_signing_verification_am263x-cc_r5fs0-0_normos_ti-arm-clang

The difference between the two types of signature is described at:
crypto.stackexchange.com/.../differences-between-two-rsa-signatures-using-openssl
stackoverflow.com/.../difference-between-openssl-rsautl-and-dgst


Thanks
Regards
Shine