Home
last modified time | relevance | path

Searched refs:ccm (Results 1 - 8 of 8) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/
H A Dext_aead.c21 #include "mbedtls/ccm.h"
28 * aes ccm context structure
237 mbedtls_ccm_context ccm; in ext_mbedtls_aead_ccm_crypto() local
246 (hi_void)memset_s(&ccm, sizeof(mbedtls_ccm_context), 0, sizeof(mbedtls_ccm_context)); in ext_mbedtls_aead_ccm_crypto()
254 mbedtls_ccm_init(&ccm); in ext_mbedtls_aead_ccm_crypto()
258 ret = mbedtls_ccm_setkey(&ccm, MBEDTLS_CIPHER_ID_AES, (hi_u8 *)aead->key, aead->klen * BITS_IN_BYTE); in ext_mbedtls_aead_ccm_crypto()
265 ret = mbedtls_ccm_auth_decrypt(&ccm, pack->len[0], (hi_u8 *)aead->iv, aead->ivlen, crypto_mem_virt(&mem.aad), in ext_mbedtls_aead_ccm_crypto()
271 ret = mbedtls_ccm_encrypt_and_tag(&ccm, pack->len[0], (hi_u8 *)aead->iv, aead->ivlen, crypto_mem_virt(&mem.aad), in ext_mbedtls_aead_ccm_crypto()
281 mbedtls_ccm_free(&ccm); in ext_mbedtls_aead_ccm_crypto()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/mbedtls_prepare/
H A DMakefile25 camellia.o ccm.o chacha20.o \
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_cipher.h182 * Aes ccm struct
203 hi_cipher_aes_key_length key_len; /**< Key length. aes-ecb/cbc/ctr support 128/192/256 bits key, ccm just support
205 hi_cipher_aes_ccm *ccm; /**< Struct for ccm. */ member
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/adapt/
H A Dhi_comm_video_adapt.h207 hi_u16 ccm[9]; member
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/adapt/
H A Dhi_comm_video_adapt.h204 hi_u16 ccm[9]; member
H A Dhi_comm_isp_adapt.h2256 in ccm type, it means the strenght of multi process. */
2411 hi_u16 ccm[CCM_MATRIX_SIZE]; /* RW; Range: [0x0, 0xFFFF]; Format:8.8; Manul CCM matrix, */ member
2416 hi_u16 ccm[CCM_MATRIX_SIZE]; /* RW; Range: [0x0, 0xFFFF]; Format:8.8;CCM matrixes for different color temperature */ member
2461 hi_u16 ccm[CCM_MATRIX_SIZE]; /* R; Range: [0x0, 0xFFFF];Format:16.0;Current color correction matrix */ member
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/adapt/
H A Dhi_comm_video_adapt.h203 hi_u16 ccm[9]; member
H A Dhi_comm_isp_adapt.h2256 in ccm type, it means the strenght of multi process. */
2411 hi_u16 ccm[CCM_MATRIX_SIZE]; /* RW; Range: [0x0, 0xFFFF]; Format:8.8; Manul CCM matrix, */ member
2416 hi_u16 ccm[CCM_MATRIX_SIZE]; /* RW; Range: [0x0, 0xFFFF]; Format:8.8;CCM matrixes for different color temperature */ member
2461 hi_u16 ccm[CCM_MATRIX_SIZE]; /* R; Range: [0x0, 0xFFFF];Format:16.0;Current color correction matrix */ member

Completed in 22 milliseconds