Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/
Dpadlock-aes.c49 } __attribute__ ((__aligned__(PADLOCK_ALIGNMENT)));
60 __attribute__ ((__aligned__(PADLOCK_ALIGNMENT)));
62 __attribute__ ((__aligned__(PADLOCK_ALIGNMENT)));
88 unsigned long align = PADLOCK_ALIGNMENT; in aes_ctx_common()
215 u8 buf[AES_BLOCK_SIZE * (MAX_ECB_FETCH_BLOCKS - 1) + PADLOCK_ALIGNMENT - 1]; in ecb_crypt_copy()
216 u8 *tmp = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in ecb_crypt_copy()
229 u8 buf[AES_BLOCK_SIZE * (MAX_CBC_FETCH_BLOCKS - 1) + PADLOCK_ALIGNMENT - 1]; in cbc_crypt_copy()
230 u8 *tmp = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in cbc_crypt_copy()
328 .cra_alignmask = PADLOCK_ALIGNMENT - 1,
400 .cra_alignmask = PADLOCK_ALIGNMENT - 1,
[all …]
Dpadlock-sha.c77 char buf[128 + PADLOCK_ALIGNMENT - STACK_ALIGN] __attribute__ in padlock_sha1_finup()
79 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha1_finup()
138 char buf[128 + PADLOCK_ALIGNMENT - STACK_ALIGN] __attribute__ in padlock_sha256_finup()
140 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha256_finup()
292 u8 buf[128 + PADLOCK_ALIGNMENT - STACK_ALIGN] __attribute__ in padlock_sha1_update_nano()
294 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha1_update_nano()
376 u8 buf[128 + PADLOCK_ALIGNMENT - STACK_ALIGN] __attribute__ in padlock_sha256_update_nano()
378 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha256_update_nano()
/Linux-v5.4/drivers/char/hw_random/
Dvia-rng.c89 char buf[16 + PADLOCK_ALIGNMENT - STACK_ALIGN] __attribute__ in via_rng_data_present()
91 u32 *via_rng_datum = (u32 *)PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in via_rng_data_present()
/Linux-v5.4/include/crypto/
Dpadlock.h11 #define PADLOCK_ALIGNMENT 16 macro