Home
last modified time | relevance | path

Searched refs:AES_BLOCK_SIZE (Results 1 – 25 of 110) sorted by relevance

12345

/linux-6.6.21/arch/arm64/crypto/
Daes-glue.c134 u8 dg[AES_BLOCK_SIZE];
189 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { in ecb_encrypt()
194 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); in ecb_encrypt()
209 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { in ecb_decrypt()
214 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); in ecb_decrypt()
227 while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) { in cbc_encrypt_walk()
232 err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE); in cbc_encrypt_walk()
256 while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) { in cbc_decrypt_walk()
261 err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE); in cbc_decrypt_walk()
282 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_encrypt()
[all …]
Daes-neonbs-glue.c59 u8 rk[13 * (8 * AES_BLOCK_SIZE) + 32];
61 } __aligned(AES_BLOCK_SIZE);
105 while (walk.nbytes >= AES_BLOCK_SIZE) { in __ecb_crypt()
106 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in __ecb_crypt()
110 walk.stride / AES_BLOCK_SIZE); in __ecb_crypt()
117 walk.nbytes - blocks * AES_BLOCK_SIZE); in __ecb_crypt()
165 while (walk.nbytes >= AES_BLOCK_SIZE) { in cbc_encrypt()
166 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in cbc_encrypt()
174 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); in cbc_encrypt()
188 while (walk.nbytes >= AES_BLOCK_SIZE) { in cbc_decrypt()
[all …]
Daes-ce-ccm-glue.c62 __be32 *n = (__be32 *)&maciv[AES_BLOCK_SIZE - 8]; in ccm_init_mac()
80 memcpy(maciv, req->iv, AES_BLOCK_SIZE - l); in ccm_init_mac()
93 memset(&req->iv[AES_BLOCK_SIZE - l], 0, l); in ccm_init_mac()
151 u8 __aligned(8) mac[AES_BLOCK_SIZE]; in ccm_encrypt()
152 u8 buf[AES_BLOCK_SIZE]; in ccm_encrypt()
161 memcpy(buf, req->iv, AES_BLOCK_SIZE); in ccm_encrypt()
171 u32 tail = walk.nbytes % AES_BLOCK_SIZE; in ccm_encrypt()
205 u8 __aligned(8) mac[AES_BLOCK_SIZE]; in ccm_decrypt()
206 u8 buf[AES_BLOCK_SIZE]; in ccm_decrypt()
215 memcpy(buf, req->iv, AES_BLOCK_SIZE); in ccm_decrypt()
[all …]
Dghash-ce-glue.c244 aes_encrypt(&ctx->aes_key, key, (u8[AES_BLOCK_SIZE]){}); in gcm_aes_setkey()
341 u8 buf[AES_BLOCK_SIZE]; in gcm_encrypt()
364 if (unlikely(nbytes > 0 && nbytes < AES_BLOCK_SIZE)) { in gcm_encrypt()
368 nbytes &= ~(AES_BLOCK_SIZE - 1); in gcm_encrypt()
381 if (unlikely(nbytes > 0 && nbytes < AES_BLOCK_SIZE)) in gcm_encrypt()
405 u8 otag[AES_BLOCK_SIZE]; in gcm_decrypt()
406 u8 buf[AES_BLOCK_SIZE]; in gcm_decrypt()
434 if (unlikely(nbytes > 0 && nbytes < AES_BLOCK_SIZE)) { in gcm_decrypt()
438 nbytes &= ~(AES_BLOCK_SIZE - 1); in gcm_decrypt()
451 if (unlikely(nbytes > 0 && nbytes < AES_BLOCK_SIZE)) in gcm_decrypt()
[all …]
/linux-6.6.21/arch/arm/crypto/
Daes-neonbs-glue.c49 u8 rk[13 * (8 * AES_BLOCK_SIZE) + 32] __aligned(AES_BLOCK_SIZE);
99 while (walk.nbytes >= AES_BLOCK_SIZE) { in __ecb_crypt()
100 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in __ecb_crypt()
104 walk.stride / AES_BLOCK_SIZE); in __ecb_crypt()
111 walk.nbytes - blocks * AES_BLOCK_SIZE); in __ecb_crypt()
173 while (walk.nbytes >= AES_BLOCK_SIZE) { in cbc_decrypt()
174 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in cbc_decrypt()
178 walk.stride / AES_BLOCK_SIZE); in cbc_decrypt()
186 walk.nbytes - blocks * AES_BLOCK_SIZE); in cbc_decrypt()
240 u8 buf[AES_BLOCK_SIZE]; in ctr_encrypt()
[all …]
Daes-ce-glue.c54 u8 b[AES_BLOCK_SIZE];
177 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { in ecb_encrypt()
182 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); in ecb_encrypt()
197 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { in ecb_decrypt()
202 err = skcipher_walk_done(&walk, walk.nbytes % AES_BLOCK_SIZE); in ecb_decrypt()
215 while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) { in cbc_encrypt_walk()
221 err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE); in cbc_encrypt_walk()
245 while ((blocks = (walk->nbytes / AES_BLOCK_SIZE))) { in cbc_decrypt_walk()
251 err = skcipher_walk_done(walk, walk->nbytes % AES_BLOCK_SIZE); in cbc_decrypt_walk()
271 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_encrypt()
[all …]
Dghash-ce-glue.c394 aes_encrypt(&aes_ctx, (u8 *)&k, (u8[AES_BLOCK_SIZE]){}); in gcm_aes_setkey()
495 u8 buf[AES_BLOCK_SIZE]; in gcm_encrypt()
516 while (walk.nbytes >= AES_BLOCK_SIZE) { in gcm_encrypt()
517 int nblocks = walk.nbytes / AES_BLOCK_SIZE; in gcm_encrypt()
524 src += nblocks * AES_BLOCK_SIZE; in gcm_encrypt()
525 dst += nblocks * AES_BLOCK_SIZE; in gcm_encrypt()
532 walk.nbytes % AES_BLOCK_SIZE); in gcm_encrypt()
547 tail = walk.nbytes % AES_BLOCK_SIZE; in gcm_encrypt()
586 u8 otag[AES_BLOCK_SIZE]; in gcm_decrypt()
587 u8 buf[AES_BLOCK_SIZE]; in gcm_decrypt()
[all …]
/linux-6.6.21/net/mac80211/
Dfils_aead.c28 u8 d[AES_BLOCK_SIZE], tmp[AES_BLOCK_SIZE] = {}; in aes_s2v()
35 crypto_shash_digest(desc, tmp, AES_BLOCK_SIZE, d); in aes_s2v()
41 crypto_xor(d, tmp, AES_BLOCK_SIZE); in aes_s2v()
46 if (len[i] >= AES_BLOCK_SIZE) { in aes_s2v()
49 crypto_shash_update(desc, addr[i], len[i] - AES_BLOCK_SIZE); in aes_s2v()
50 crypto_xor(d, addr[i] + len[i] - AES_BLOCK_SIZE, in aes_s2v()
51 AES_BLOCK_SIZE); in aes_s2v()
60 crypto_shash_finup(desc, d, AES_BLOCK_SIZE, v); in aes_s2v()
71 u8 v[AES_BLOCK_SIZE]; in aes_siv_encrypt()
106 memcpy(out, v, AES_BLOCK_SIZE); in aes_siv_encrypt()
[all …]
/linux-6.6.21/drivers/crypto/nx/
Dnx-aes-xcbc.c23 u8 state[AES_BLOCK_SIZE];
25 u8 buffer[AES_BLOCK_SIZE];
64 u8 keys[2][AES_BLOCK_SIZE]; in nx_xcbc_empty()
71 memcpy(key, csbcpb->cpb.aes_xcbc.key, AES_BLOCK_SIZE); in nx_xcbc_empty()
72 memcpy(csbcpb->cpb.aes_ecb.key, key, AES_BLOCK_SIZE); in nx_xcbc_empty()
107 memcpy(csbcpb->cpb.aes_ecb.key, keys[0], AES_BLOCK_SIZE); in nx_xcbc_empty()
114 len = AES_BLOCK_SIZE; in nx_xcbc_empty()
118 if (len != AES_BLOCK_SIZE) in nx_xcbc_empty()
132 memcpy(csbcpb->cpb.aes_xcbc.key, key, AES_BLOCK_SIZE); in nx_xcbc_empty()
189 if (total <= AES_BLOCK_SIZE) { in nx_xcbc_update()
[all …]
Dnx-aes-gcm.c112 if (nbytes <= AES_BLOCK_SIZE) { in nx_gca()
155 AES_BLOCK_SIZE); in nx_gca()
164 memcpy(out, csbcpb_aead->cpb.aes_gca.out_pat, AES_BLOCK_SIZE); in nx_gca()
192 memcpy(csbcpb->cpb.aes_gcm.iv_or_cnt, iv, AES_BLOCK_SIZE); in gmac()
224 csbcpb->cpb.aes_gcm.out_pat_or_mac, AES_BLOCK_SIZE); in gmac()
226 csbcpb->cpb.aes_gcm.out_s0, AES_BLOCK_SIZE); in gmac()
248 char out[AES_BLOCK_SIZE]; in gcm_empty()
266 len = AES_BLOCK_SIZE; in gcm_empty()
272 if (len != AES_BLOCK_SIZE) in gcm_empty()
376 memcpy(rctx->iv, csbcpb->cpb.aes_gcm.out_cnt, AES_BLOCK_SIZE); in gcm_aes_nx_crypt()
[all …]
/linux-6.6.21/arch/powerpc/crypto/
Daes-spe-glue.c192 nbytes = round_down(nbytes, AES_BLOCK_SIZE); in ppc_ecb_crypt()
231 nbytes = round_down(nbytes, AES_BLOCK_SIZE); in ppc_cbc_crypt()
273 nbytes = round_down(nbytes, AES_BLOCK_SIZE); in ppc_ctr_crypt()
300 nbytes = round_down(nbytes, AES_BLOCK_SIZE); in ppc_xts_crypt()
324 int tail = req->cryptlen % AES_BLOCK_SIZE; in ppc_xts_encrypt()
325 int offset = req->cryptlen - tail - AES_BLOCK_SIZE; in ppc_xts_encrypt()
327 u8 b[2][AES_BLOCK_SIZE]; in ppc_xts_encrypt()
330 if (req->cryptlen < AES_BLOCK_SIZE) in ppc_xts_encrypt()
344 scatterwalk_map_and_copy(b[0], req->dst, offset, AES_BLOCK_SIZE, 0); in ppc_xts_encrypt()
346 scatterwalk_map_and_copy(b[0], req->src, offset + AES_BLOCK_SIZE, tail, 0); in ppc_xts_encrypt()
[all …]
/linux-6.6.21/arch/s390/crypto/
Daes_s390.c66 u8 buf[AES_BLOCK_SIZE];
113 cpacf_km(sctx->fc, &sctx->key, out, in, AES_BLOCK_SIZE); in crypto_aes_encrypt()
125 &sctx->key, out, in, AES_BLOCK_SIZE); in crypto_aes_decrypt()
159 .cra_blocksize = AES_BLOCK_SIZE,
236 n = nbytes & ~(AES_BLOCK_SIZE - 1); in ecb_aes_crypt()
285 .base.cra_blocksize = AES_BLOCK_SIZE,
326 u8 iv[AES_BLOCK_SIZE]; in cbc_aes_crypt()
336 memcpy(param.iv, walk.iv, AES_BLOCK_SIZE); in cbc_aes_crypt()
340 n = nbytes & ~(AES_BLOCK_SIZE - 1); in cbc_aes_crypt()
343 memcpy(walk.iv, param.iv, AES_BLOCK_SIZE); in cbc_aes_crypt()
[all …]
Dpaes_s390.c233 n = nbytes & ~(AES_BLOCK_SIZE - 1); in ecb_paes_crypt()
263 .base.cra_blocksize = AES_BLOCK_SIZE,
335 u8 iv[AES_BLOCK_SIZE]; in cbc_paes_crypt()
343 memcpy(param.iv, walk.iv, AES_BLOCK_SIZE); in cbc_paes_crypt()
350 n = nbytes & ~(AES_BLOCK_SIZE - 1); in cbc_paes_crypt()
354 memcpy(walk.iv, param.iv, AES_BLOCK_SIZE); in cbc_paes_crypt()
382 .base.cra_blocksize = AES_BLOCK_SIZE,
390 .ivsize = AES_BLOCK_SIZE,
530 n = nbytes & ~(AES_BLOCK_SIZE - 1); in xts_paes_crypt()
562 .base.cra_blocksize = AES_BLOCK_SIZE,
[all …]
/linux-6.6.21/drivers/crypto/ccp/
Dccp-crypto.h109 u8 k1[AES_BLOCK_SIZE];
110 u8 k2[AES_BLOCK_SIZE];
115 u8 iv[AES_BLOCK_SIZE];
118 u8 tag[AES_BLOCK_SIZE];
122 u8 rfc3686_iv[AES_BLOCK_SIZE];
142 u8 iv[AES_BLOCK_SIZE];
146 u8 buf[AES_BLOCK_SIZE];
150 u8 pad[AES_BLOCK_SIZE];
158 u8 iv[AES_BLOCK_SIZE];
161 u8 buf[AES_BLOCK_SIZE];
[all …]
Dccp-crypto-aes.c33 memcpy(req->iv, rctx->iv, AES_BLOCK_SIZE); in ccp_aes_complete()
79 (req->cryptlen & (AES_BLOCK_SIZE - 1))) in ccp_aes_crypt()
86 memcpy(rctx->iv, req->iv, AES_BLOCK_SIZE); in ccp_aes_crypt()
88 iv_len = AES_BLOCK_SIZE; in ccp_aes_crypt()
216 .base.cra_blocksize = AES_BLOCK_SIZE,
256 .blocksize = AES_BLOCK_SIZE,
265 .blocksize = AES_BLOCK_SIZE,
266 .ivsize = AES_BLOCK_SIZE,
275 .ivsize = AES_BLOCK_SIZE,
284 .ivsize = AES_BLOCK_SIZE,
[all …]
/linux-6.6.21/drivers/crypto/vmx/
Daes_ctr.c73 u8 keystream[AES_BLOCK_SIZE]; in p8_aes_ctr_final()
87 crypto_inc(ctrblk, AES_BLOCK_SIZE); in p8_aes_ctr_final()
107 while ((nbytes = walk.nbytes) >= AES_BLOCK_SIZE) { in p8_aes_ctr_crypt()
113 nbytes / AES_BLOCK_SIZE, in p8_aes_ctr_crypt()
120 crypto_inc(walk.iv, AES_BLOCK_SIZE); in p8_aes_ctr_crypt()
121 } while ((nbytes -= AES_BLOCK_SIZE) >= AES_BLOCK_SIZE); in p8_aes_ctr_crypt()
147 .ivsize = AES_BLOCK_SIZE,
148 .chunksize = AES_BLOCK_SIZE,
Daes_xts.c84 u8 tweak[AES_BLOCK_SIZE]; in p8_aes_xts_crypt()
87 if (req->cryptlen < AES_BLOCK_SIZE) in p8_aes_xts_crypt()
120 round_down(nbytes, AES_BLOCK_SIZE), in p8_aes_xts_crypt()
125 round_down(nbytes, AES_BLOCK_SIZE), in p8_aes_xts_crypt()
131 ret = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in p8_aes_xts_crypt()
152 .base.cra_blocksize = AES_BLOCK_SIZE,
161 .ivsize = AES_BLOCK_SIZE,
/linux-6.6.21/drivers/crypto/
Dpadlock-aes.c36 #define ecb_fetch_bytes (ecb_fetch_blocks * AES_BLOCK_SIZE)
40 #define cbc_fetch_bytes (cbc_fetch_blocks * AES_BLOCK_SIZE)
218 u8 buf[AES_BLOCK_SIZE * (MAX_ECB_FETCH_BLOCKS - 1) + PADLOCK_ALIGNMENT - 1]; in ecb_crypt_copy()
221 memcpy(tmp, in, count * AES_BLOCK_SIZE); in ecb_crypt_copy()
232 u8 buf[AES_BLOCK_SIZE * (MAX_CBC_FETCH_BLOCKS - 1) + PADLOCK_ALIGNMENT - 1]; in cbc_crypt_copy()
235 memcpy(tmp, in, count * AES_BLOCK_SIZE); in cbc_crypt_copy()
329 .cra_blocksize = AES_BLOCK_SIZE,
359 nbytes / AES_BLOCK_SIZE); in ecb_aes_encrypt()
360 nbytes &= AES_BLOCK_SIZE - 1; in ecb_aes_encrypt()
384 nbytes / AES_BLOCK_SIZE); in ecb_aes_decrypt()
[all …]
Datmel-aes.c119 __be32 iv[AES_BLOCK_SIZE / sizeof(u32)];
132 __be32 j0[AES_BLOCK_SIZE / sizeof(u32)];
133 u32 tag[AES_BLOCK_SIZE / sizeof(u32)];
134 __be32 ghash[AES_BLOCK_SIZE / sizeof(u32)];
158 u8 lastc[AES_BLOCK_SIZE];
395 atmel_aes_read_n(dd, offset, value, SIZE_IN_WORDS(AES_BLOCK_SIZE)); in atmel_aes_read_block()
401 atmel_aes_write_n(dd, offset, value, SIZE_IN_WORDS(AES_BLOCK_SIZE)); in atmel_aes_write_block()
524 crypto_inc((u8 *)ctx->iv, AES_BLOCK_SIZE); in atmel_aes_ctr_update_req_iv()
607 dd->datalen -= AES_BLOCK_SIZE; in atmel_aes_cpu_transfer()
609 if (dd->datalen < AES_BLOCK_SIZE) in atmel_aes_cpu_transfer()
[all …]
/linux-6.6.21/arch/sparc/crypto/
Daes_glue.c235 round_down(nbytes, AES_BLOCK_SIZE)); in ecb_encrypt()
236 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in ecb_encrypt()
260 round_down(nbytes, AES_BLOCK_SIZE)); in ecb_decrypt()
261 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in ecb_decrypt()
284 round_down(nbytes, AES_BLOCK_SIZE), in cbc_encrypt()
286 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in cbc_encrypt()
310 round_down(nbytes, AES_BLOCK_SIZE), in cbc_decrypt()
312 err = skcipher_walk_done(&walk, nbytes % AES_BLOCK_SIZE); in cbc_decrypt()
323 u64 keystream[AES_BLOCK_SIZE / sizeof(u64)]; in ctr_crypt_final()
329 keystream, AES_BLOCK_SIZE); in ctr_crypt_final()
[all …]
/linux-6.6.21/arch/x86/crypto/
Daesni-intel_glue.c42 #define AES_BLOCK_MASK (~(AES_BLOCK_SIZE - 1))
306 nbytes &= AES_BLOCK_SIZE - 1; in ecb_encrypt()
328 nbytes &= AES_BLOCK_SIZE - 1; in ecb_decrypt()
350 nbytes &= AES_BLOCK_SIZE - 1; in cbc_encrypt()
372 nbytes &= AES_BLOCK_SIZE - 1; in cbc_decrypt()
383 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_encrypt()
394 if (req->cryptlen <= AES_BLOCK_SIZE) { in cts_cbc_encrypt()
395 if (req->cryptlen < AES_BLOCK_SIZE) in cts_cbc_encrypt()
402 cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_encrypt()
409 if (req->cryptlen == AES_BLOCK_SIZE) in cts_cbc_encrypt()
[all …]
/linux-6.6.21/drivers/crypto/starfive/
Djh7110-aes.c50 #define AES_BLOCK_32 (AES_BLOCK_SIZE / sizeof(u32))
113 writel(AES_BLOCK_SIZE, cryp->base + STARFIVE_AES_IVLEN); in starfive_aes_set_ivlen()
210 u8 iv[AES_BLOCK_SIZE], b0[AES_BLOCK_SIZE]; in starfive_aes_ccm_init()
213 memcpy(iv, cryp->req.areq->iv, AES_BLOCK_SIZE); in starfive_aes_ccm_init()
214 memset(iv + AES_BLOCK_SIZE - 1 - iv[0], 0, iv[0] + 1); in starfive_aes_ccm_init()
217 memcpy(b0, iv, AES_BLOCK_SIZE); in starfive_aes_ccm_init()
226 b0[AES_BLOCK_SIZE - 2] = textlen >> 8; in starfive_aes_ccm_init()
227 b0[AES_BLOCK_SIZE - 1] = textlen & 0xFF; in starfive_aes_ccm_init()
373 scatterwalk_copychunks(block, &cryp->out_walk, min_t(size_t, AES_BLOCK_SIZE, in starfive_aes_done_task()
376 cryp->total_out -= min_t(size_t, AES_BLOCK_SIZE, cryp->total_out); in starfive_aes_done_task()
[all …]
/linux-6.6.21/drivers/crypto/ccree/
Dcc_aead.h17 #define CCM_CONFIG_BUF_SIZE (AES_BLOCK_SIZE * 3)
52 u8 ctr_iv[AES_BLOCK_SIZE] ____cacheline_aligned;
55 u8 gcm_iv_inc1[AES_BLOCK_SIZE] ____cacheline_aligned;
56 u8 gcm_iv_inc2[AES_BLOCK_SIZE] ____cacheline_aligned;
57 u8 hkey[AES_BLOCK_SIZE] ____cacheline_aligned;
/linux-6.6.21/drivers/crypto/intel/keembay/
Dkeembay-ocs-aes-core.c94 u8 last_ct_blk[AES_BLOCK_SIZE];
102 u8 in_tag[AES_BLOCK_SIZE];
105 u8 out_tag[AES_BLOCK_SIZE];
227 u8 tmp_buf1[AES_BLOCK_SIZE], tmp_buf2[AES_BLOCK_SIZE]; in sg_swap_blocks()
233 sg_pcopy_to_buffer(sgl, nents, tmp_buf1, AES_BLOCK_SIZE, blk1_offset); in sg_swap_blocks()
234 sg_pcopy_to_buffer(sgl, nents, tmp_buf2, AES_BLOCK_SIZE, blk2_offset); in sg_swap_blocks()
235 sg_pcopy_from_buffer(sgl, nents, tmp_buf1, AES_BLOCK_SIZE, blk2_offset); in sg_swap_blocks()
236 sg_pcopy_from_buffer(sgl, nents, tmp_buf2, AES_BLOCK_SIZE, blk1_offset); in sg_swap_blocks()
261 if (req->cryptlen % AES_BLOCK_SIZE != 0) in kmb_ocs_sk_validate_input()
268 if (req->cryptlen % AES_BLOCK_SIZE != 0) in kmb_ocs_sk_validate_input()
[all …]
/linux-6.6.21/lib/crypto/
Daesgcm.c49 u8 kin[AES_BLOCK_SIZE] = {}; in aesgcm_expandkey()
80 u8 buf[AES_BLOCK_SIZE]; in aesgcm_mac()
98 u8 buf[AES_BLOCK_SIZE]; in aesgcm_crypt()
111 crypto_xor_cpy(dst, src, buf, min(len, AES_BLOCK_SIZE)); in aesgcm_crypt()
113 dst += AES_BLOCK_SIZE; in aesgcm_crypt()
114 src += AES_BLOCK_SIZE; in aesgcm_crypt()
115 len -= AES_BLOCK_SIZE; in aesgcm_crypt()
170 u8 tagbuf[AES_BLOCK_SIZE]; in aesgcm_decrypt()
684 u8 tagbuf[AES_BLOCK_SIZE]; in libaesgcm_init()

12345