Lines Matching defs:scratch
19 static void aes_ccm_prepare(struct crypto_cipher *tfm, u8 *scratch, u8 *a)
24 b_0 = scratch + 3 * AES_BLOCK_LEN;
25 aad = scratch + 4 * AES_BLOCK_LEN;
26 b = scratch;
27 s_0 = scratch + AES_BLOCK_LEN;
52 void ieee80211_aes_ccm_encrypt(struct crypto_cipher *tfm, u8 *scratch,
59 b = scratch;
60 s_0 = scratch + AES_BLOCK_LEN;
61 e = scratch + 2 * AES_BLOCK_LEN;
62 b_0 = scratch + 3 * AES_BLOCK_LEN;
63 aad = scratch + 4 * AES_BLOCK_LEN;
67 aes_ccm_prepare(tfm, scratch, b);
93 int ieee80211_aes_ccm_decrypt(struct crypto_cipher *tfm, u8 *scratch,
99 b = scratch;
100 s_0 = scratch + AES_BLOCK_LEN;
101 a = scratch + 2 * AES_BLOCK_LEN;
102 b_0 = scratch + 3 * AES_BLOCK_LEN;
103 aad = scratch + 4 * AES_BLOCK_LEN;
107 aes_ccm_prepare(tfm, scratch, a);