Lines Matching refs:alignmask
27 unsigned long alignmask = crypto_tfm_alg_alignmask(tfm); in setkey_unaligned() local
32 absize = keylen + alignmask; in setkey_unaligned()
37 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in setkey_unaligned()
49 unsigned long alignmask = crypto_tfm_alg_alignmask(tfm); in setkey() local
57 if ((unsigned long)key & alignmask) in setkey()
68 unsigned long alignmask = crypto_tfm_alg_alignmask(tfm); in cipher_crypt_unaligned() local
70 u8 buffer[size + alignmask]; in cipher_crypt_unaligned()
71 u8 *tmp = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in cipher_crypt_unaligned()
81 unsigned long alignmask = crypto_tfm_alg_alignmask(tfm); in cipher_encrypt_unaligned() local
84 if (unlikely(((unsigned long)dst | (unsigned long)src) & alignmask)) { in cipher_encrypt_unaligned()
95 unsigned long alignmask = crypto_tfm_alg_alignmask(tfm); in cipher_decrypt_unaligned() local
98 if (unlikely(((unsigned long)dst | (unsigned long)src) & alignmask)) { in cipher_decrypt_unaligned()