![]() |
WL865E4-P
36.07.001
|
This section describes the M2MB APIs to perform various cryptographic operations. More...
| INT32 | m2mb_aes_256_cbc_decrypt (const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len) |
| Decrypts input data for cipher AES, algorithm CBC and Key size 256. More... | |
| INT32 | m2mb_aes_256_cbc_encrypt (const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len) |
| Encrypts input data for cipher AES, algorithm CBC and Key size 256. More... | |
| INT32 | m2mb_aes_128_cbc_decrypt (const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len) |
| Decrypts input data for cipher AES, algorithm CBC and Key size 128. More... | |
| INT32 | m2mb_aes_128_cbc_encrypt (const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len) |
| Encrypts input data for cipher AES, algorithm CBC and Key size 128. More... | |
| INT32 | m2mb_aes_128_ctr_decrypt (const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len) |
| Decrypts input data for cipher AES, algorithm CTR and Key size 128. More... | |
| INT32 | m2mb_aes_128_ctr_encrypt (const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len) |
| encrypts input data for cipher AES, algorithm CTR and Key size 128 More... | |
| INT32 | m2mb_aes_256_ctr_decrypt (const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len) |
| Decrypts input data for cipher AES, algorithm CTR and Key size 256. More... | |
| INT32 | m2mb_aes_256_ctr_encrypt (const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len) |
| Encrypts input data for cipher AES, algorithm CTR and Key size 256. More... | |
This section describes the M2MB APIs to perform various cryptographic operations.
| INT32 m2mb_aes_128_cbc_decrypt | ( | const UINT8 * | key, |
| const UINT8 * | iv, | ||
| UINT8 * | data, | ||
| UINT32 | data_len | ||
| ) |
Decrypts input data for cipher AES, algorithm CBC and Key size 128.
Decrypts the input data and puts decrypted data in the input data buffer itself.
| [in] | key | Key to be used for decryption |
| [in] | iv | Buffer containing the operation initialization vector (IV) or the initial counter value, as appropriate. |
| [in,out] | data | input/output data buffer containing decrypted data |
| [in] | data_len | length of input data buffer. |
m2mb_aes_128_cbc_decrypt(const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len);
| INT32 m2mb_aes_128_cbc_encrypt | ( | const UINT8 * | key, |
| const UINT8 * | iv, | ||
| UINT8 * | data, | ||
| UINT32 | data_len | ||
| ) |
Encrypts input data for cipher AES, algorithm CBC and Key size 128.
Encrypts the input data and puts Encrypted data in the input data buffer itself.
| [in] | key | Key to be used for decryption. |
| [in] | iv | Buffer containing the operation initialization vector (IV) or the initial counter value, as appropriate. |
| [in,out] | data | input/output data buffer containing encrypted data. |
| [in] | data_len | length of input data buffer. |
m2mb_aes_128_cbc_encrypt(const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len);
| INT32 m2mb_aes_128_ctr_decrypt | ( | const UINT8 * | key, |
| const UINT8 * | iv, | ||
| UINT8 * | data, | ||
| UINT32 | data_len | ||
| ) |
Decrypts input data for cipher AES, algorithm CTR and Key size 128.
Decrypts the input data and puts decrypted data in the input data buffer itself.
| [in] | key | Key to be used for decryption. |
| [in] | iv | Buffer containing the operation initialization vector (IV) or the initial counter value, as appropriate. |
| [in,out] | data | input/output data buffer containing decrypted data. |
| [in] | data_len | length of inout data buffer. |
m2mb_aes_128_ctr_decrypt(const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len);
| INT32 m2mb_aes_128_ctr_encrypt | ( | const UINT8 * | key, |
| const UINT8 * | iv, | ||
| UINT8 * | data, | ||
| UINT32 | data_len | ||
| ) |
encrypts input data for cipher AES, algorithm CTR and Key size 128
encrypts the input data and puts encrypted data in the input data buffer itself.
| [in] | key | Key to be used for encryption. |
| [in] | iv | Buffer containing the operation initialization vector (IV) or the initial counter value, as appropriate. |
| [in,out] | data | input/output data buffer containing encrypted/decrypted data. |
| [in] | data_len | length of inout data buffer. |
m2mb_aes_128_ctr_encrypt(const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len);
| INT32 m2mb_aes_256_cbc_decrypt | ( | const UINT8 * | key, |
| const UINT8 * | iv, | ||
| UINT8 * | data, | ||
| UINT32 | data_len | ||
| ) |
Decrypts input data for cipher AES, algorithm CBC and Key size 256.
Decrypts the input data and puts decrypted data in the input data buffer itself.
| [in] | key | Key to be used for decryption. |
| [in] | iv | Buffer containing the operation initialization vector (IV) or the initial counter value, as appropriate. |
| [in,out] | data | input/output data buffer containing decrypted data. |
| [in] | data_len | length of input data buffer. |
m2mb_aes_256_cbc_decrypt(const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len);
| INT32 m2mb_aes_256_cbc_encrypt | ( | const UINT8 * | key, |
| const UINT8 * | iv, | ||
| UINT8 * | data, | ||
| UINT32 | data_len | ||
| ) |
Encrypts input data for cipher AES, algorithm CBC and Key size 256.
Encrypts the input data and puts encrypted data in the input data buffer itself.
| [in] | key | Key to be used for decryption. |
| [in] | iv | Buffer containing the operation initialization vector (IV) or the initial counter value, as appropriate. |
| [in,out] | data | input/output data buffer containing encrypted data. |
| [in] | data_len | length of input data buffer |
m2mb_aes_256_cbc_encrypt(const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len);
| INT32 m2mb_aes_256_ctr_decrypt | ( | const UINT8 * | key, |
| const UINT8 * | iv, | ||
| UINT8 * | data, | ||
| UINT32 | data_len | ||
| ) |
Decrypts input data for cipher AES, algorithm CTR and Key size 256.
Decrypts the input data and puts decrypted data in the input data buffer itself.
| [in] | key | Key to be used for decryption. |
| [in] | iv | Buffer containing the operation initialization vector (IV) or the initial counter value, as appropriate. |
| [in,out] | data | input/output data buffer containing decrypted data. |
| [in] | data_len | length of inout data buffer. |
m2mb_aes_256_ctr_decrypt(const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len);
| INT32 m2mb_aes_256_ctr_encrypt | ( | const UINT8 * | key, |
| const UINT8 * | iv, | ||
| UINT8 * | data, | ||
| UINT32 | data_len | ||
| ) |
Encrypts input data for cipher AES, algorithm CTR and Key size 256.
Encrypts the input data and puts Encrypted data in the input data buffer itself.
| [in] | key | Key to be used for decryption. |
| [in] | iv | Buffer containing the operation initialization vector (IV) or the initial counter value, as appropriate. |
| [in,out] | data | input/output data buffer containing encrypted data. |
| [in] | data_len | length of inout data buffer. |
m2mb_aes_256_ctr_encrypt(const UINT8 *key, const UINT8 *iv, UINT8 *data, UINT32 data_len);