API参考
载入中...
搜索中...
未找到
HITLS_CipherParameters结构体 参考

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

类成员变量说明

◆ aad

uint8_t* HITLS_CipherParameters::aad

Aad: AEAD: one of the input parameters for encryption and decryption. additional data.

◆ aadLen

uint32_t HITLS_CipherParameters::aadLen

Aad length.

◆ algo

HITLS_CipherAlgo HITLS_CipherParameters::algo

Symmetric encryption algorithm.

◆ ctx

HITLS_Cipher_Ctx** HITLS_CipherParameters::ctx

HITLS_Cipher_Ctx handle

◆ hmacKey

const uint8_t* HITLS_CipherParameters::hmacKey

Hmac key.

◆ hmacKeyLen

uint32_t HITLS_CipherParameters::hmacKeyLen

Hmac key length.

◆ iv

const uint8_t* HITLS_CipherParameters::iv

IV.

◆ ivLen

uint32_t HITLS_CipherParameters::ivLen

IV length.

◆ key

const uint8_t* HITLS_CipherParameters::key

Symmetry key.

◆ keyLen

uint32_t HITLS_CipherParameters::keyLen

Symmetry key length.

◆ type

HITLS_CipherType HITLS_CipherParameters::type

Encryption algorithm type. Currently, only aead is supported.


该结构体的文档由以下文件生成: