Home
last modified time | relevance | path

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

/drivers/crypto/inside-secure/
Dsafexcel_cipher.c180 u8 *cbcmaciv = (u8 *)&atoken[1]; in safexcel_aead_token() local
187 *(__le32 *)cbcmaciv = in safexcel_aead_token()
193 memcpy(cbcmaciv + 4, iv, 8); in safexcel_aead_token()
197 *(__be32 *)(cbcmaciv + 12) = cpu_to_be32(cryptlen); in safexcel_aead_token()
201 memcpy(cbcmaciv, iv, 15 - iv[0]); in safexcel_aead_token()
204 memset(cbcmaciv + 15 - iv[0], 0, iv[0] - 1); in safexcel_aead_token()
206 cbcmaciv[0] |= ((assocadj > 0) << 6) | in safexcel_aead_token()
209 cbcmaciv[14] = cryptlen >> 8; in safexcel_aead_token()
210 cbcmaciv[15] = cryptlen & 255; in safexcel_aead_token()