Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/inside-secure/
H A Dsafexcel_cipher.c168 int assocadj = assoclen - ctx->aadskip, aadalign; in safexcel_aead_token() local
188 ((assocadj > 0) << 6) | in safexcel_aead_token()
205 cbcmaciv[0] |= ((assocadj > 0) << 6) | in safexcel_aead_token()
214 ((assocadj > 0) << 1); in safexcel_aead_token()
219 if (likely(assocadj)) { in safexcel_aead_token()
220 *aadlen = cpu_to_le32((assocadj >> 8) | in safexcel_aead_token()
221 (assocadj & 255) << 8); in safexcel_aead_token()
232 atoken->packet_length = assocadj; in safexcel_aead_token()
239 aadalign = (assocadj + 2) & 15; in safexcel_aead_token()
240 atoken->packet_length = assocadj && aadalign ? in safexcel_aead_token()
[all …]