Home
last modified time | relevance | path

Searched refs:aad_tmp (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/crypto/rockchip/
H A Dcrypto_v2.c937 u8 *dma_in = NULL, *dma_out = NULL, *aad_tmp = NULL; in hw_cipher_crypt() local
1022 aad_tmp = align_malloc(aad_tmp_len, in hw_cipher_crypt()
1024 if (!aad_tmp) in hw_cipher_crypt()
1028 memset(aad_tmp + aad_tmp_len - AES_BLOCK_SIZE, in hw_cipher_crypt()
1032 get_iv_reg(key_chn, aad_tmp, AES_BLOCK_SIZE); in hw_cipher_crypt()
1033 ccm_compose_aad_iv(aad_tmp, tmp_len, aad_len, tag_len); in hw_cipher_crypt()
1034 memcpy(aad_tmp + AES_BLOCK_SIZE, padding, padding_size); in hw_cipher_crypt()
1036 memcpy(aad_tmp + AES_BLOCK_SIZE + padding_size, in hw_cipher_crypt()
1041 aad_tmp = (void *)aad; in hw_cipher_crypt()
1043 aad_tmp = align_malloc(aad_tmp_len, in hw_cipher_crypt()
[all …]