Home
last modified time | relevance | path

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

/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
H A Dqdf_crypto.c265 int i, num_block = (len + 15) / AES_BLOCK_SIZE; in qdf_crypto_aes_128_cmac() local
280 if (num_block == 0) { in qdf_crypto_aes_128_cmac()
281 num_block = 1; in qdf_crypto_aes_128_cmac()
289 xor_128(&data[AES_BLOCK_SIZE * (num_block - 1)], k1, m_last); in qdf_crypto_aes_128_cmac()
292 padding(&data[AES_BLOCK_SIZE * (num_block - 1)], padded, in qdf_crypto_aes_128_cmac()
300 for (i = 0; i < (num_block - 1); i++) { in qdf_crypto_aes_128_cmac()
323 int i, num_block = (len + 15) / AES_BLOCK_SIZE; in qdf_crypto_aes_128_cmac() local
346 if (num_block == 0) { in qdf_crypto_aes_128_cmac()
347 num_block = 1; in qdf_crypto_aes_128_cmac()
355 xor_128(&data[AES_BLOCK_SIZE * (num_block - 1)], k1, m_last); in qdf_crypto_aes_128_cmac()
[all …]