Cryptographic
|
Example
|
Name
|
Brief description
|
AES
|
AES128_CTR
|
This example describes how to use the STM32 Cryptographic Library AES-128 algorithm to: - Encrypt DATA with AES-128 in CTR mode - Decrypt DATA with AES-128 in CTR mode
|
AES192_CBC
|
This example describes how to use the STM32 Cryptographic Library AES-192 algorithm to - Encrypt DATA with AES-192 in CBC mode - Decrypt DATA with AES-192 in CBC mode
|
AES256_ECB | This example describes how to use the STM32 Cryptographic Library AES-256 algorithm to :
- Encrypt DATA with AES-256 in ECB mode, - Decrypt DATA with AES-256 in ECB mode |
ARC4
|
Encryption_Decryption
|
This example describes how to use the STM32 Cryptographic Library ARC4
algorithm to Encrypt and Decrypt DATA using ARC4 algorithm
|
ECC
|
ECC_KeyGeneration_SignatureVerification
|
This
example describes how to use the STM32 Cryptographic Library ECC
algorithm of an ECC key generation and signature
verification with Parameters for Elliptic Curve: P-192, P-256 and P-384.
|
ECC_SignatureVerification | This example describes how to use the STM32 Cryptographic Library
ECC algorithm of an ECC signature verification with
Parameters for Elliptic CurveP-192, P-256 and P-384. |
HASH
|
HMAC_SHA1
|
This example
describes how to use the STM32 Cryptographic Library SHA1 Hash
algorithm of an HMAC-SHA1 calculation. The SHA1 Hash algorithm is used to generate 20 bytes (CRL_SHA1_SIZE) HMAC digest of input message.
|
MD5
|
This example describes how to use the STM32 Cryptographic Library MD5 Hash algorithm to generate message digest. The MD5 Hash algorithm is configured to generate 16 bytes hash digest (CRL_MD5_SIZE) and in default mode (E_HASH_DEFAULT).
|
SHA256
|
This example describes how to use the STM32 Cryptographic Library SHA-256 Hash algorithm to generate message digest. The
SHA-256 Hash algorithm is configured to generate 32 bytes hash digest
(CRL_SHA256_SIZE) and in default mode (E_HASH_DEFAULT).
|
RAND
|
Random_NumberGenerator
|
This example
describes how to use the STM32 Cryptographic Library Random
number generator algorithm to generate an array filled with
random bytes.
|
RSA
|
RSA_Signature
|
This example describes how to use the STM32 Cryptographic Library RSA algorithm to: - Generate RSA signature of a message digest using private key. - Verify RSA signature validity of message digest using public key.
|
TDES_DES
|
DES_CBC
|
This example
describes how to use the STM32 Cryptographic Library DES algorithm to
first encrypt Data in CBC mode, then decrypt Data.
|
TDES_ECB
|
This example
describes how to use the STM32 Cryptographic Library TDES algorithm to
first encrypt Data in ECB mode, then decrypt Data.
|