Home
last modified time | relevance | path

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

/drivers/crypto/inside-secure/
Dsafexcel_cipher.c169 int assocadj = assoclen - ctx->aadskip, aadalign; in safexcel_aead_token() local
189 ((assocadj > 0) << 6) | in safexcel_aead_token()
206 cbcmaciv[0] |= ((assocadj > 0) << 6) | in safexcel_aead_token()
215 ((assocadj > 0) << 1); in safexcel_aead_token()
220 if (likely(assocadj)) { in safexcel_aead_token()
221 *aadlen = cpu_to_le32((assocadj >> 8) | in safexcel_aead_token()
222 (assocadj & 255) << 8); in safexcel_aead_token()
233 atoken->packet_length = assocadj; in safexcel_aead_token()
240 aadalign = (assocadj + 2) & 15; in safexcel_aead_token()
241 atoken->packet_length = assocadj && aadalign ? in safexcel_aead_token()
[all …]