![]() |
API参考
|
Key parameters 更多...
#include <hitls_crypt_type.h>
Public 属性 | |
| HITLS_CipherType | type |
| HITLS_CipherAlgo | algo |
| const uint8_t * | key |
| uint32_t | keyLen |
| const uint8_t * | iv |
| uint32_t | ivLen |
| uint8_t * | aad |
| uint32_t | aadLen |
| const uint8_t * | hmacKey |
| uint32_t | hmacKeyLen |
| HITLS_Cipher_Ctx ** | ctx |
Key parameters
| uint8_t* HITLS_CipherParameters::aad |
Aad: AEAD: one of the input parameters for encryption and decryption. additional data.
| uint32_t HITLS_CipherParameters::aadLen |
Aad length.
| HITLS_CipherAlgo HITLS_CipherParameters::algo |
Symmetric encryption algorithm.
| HITLS_Cipher_Ctx** HITLS_CipherParameters::ctx |
HITLS_Cipher_Ctx handle
| const uint8_t* HITLS_CipherParameters::hmacKey |
Hmac key.
| uint32_t HITLS_CipherParameters::hmacKeyLen |
Hmac key length.
| const uint8_t* HITLS_CipherParameters::iv |
IV.
| uint32_t HITLS_CipherParameters::ivLen |
IV length.
| const uint8_t* HITLS_CipherParameters::key |
Symmetry key.
| uint32_t HITLS_CipherParameters::keyLen |
Symmetry key length.
| HITLS_CipherType HITLS_CipherParameters::type |
Encryption algorithm type. Currently, only aead is supported.