Home
last modified time | relevance | path

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

/linux/drivers/crypto/inside-secure/
H A Dsafexcel_cipher.c179 u8 *cbcmaciv = (u8 *)&atoken[1]; in safexcel_aead_token() local
186 *(__le32 *)cbcmaciv = in safexcel_aead_token()
192 memcpy(cbcmaciv + 4, iv, 8); in safexcel_aead_token()
196 *(__be32 *)(cbcmaciv + 12) = cpu_to_be32(cryptlen); in safexcel_aead_token()
200 memcpy(cbcmaciv, iv, 15 - iv[0]); in safexcel_aead_token()
203 memset(cbcmaciv + 15 - iv[0], 0, iv[0] - 1); in safexcel_aead_token()
205 cbcmaciv[0] |= ((assocadj > 0) << 6) | in safexcel_aead_token()
208 cbcmaciv[14] = cryptlen >> 8; in safexcel_aead_token()
209 cbcmaciv[15] = cryptlen & 255; in safexcel_aead_token()