Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/
H A Dpadlock-aes.c51 } __attribute__ ((__aligned__(PADLOCK_ALIGNMENT)));
62 __attribute__ ((__aligned__(PADLOCK_ALIGNMENT)));
64 __attribute__ ((__aligned__(PADLOCK_ALIGNMENT)));
90 unsigned long align = PADLOCK_ALIGNMENT; in aes_ctx_common()
218 u8 buf[AES_BLOCK_SIZE * (MAX_ECB_FETCH_BLOCKS - 1) + PADLOCK_ALIGNMENT - 1]; in ecb_crypt_copy()
219 u8 *tmp = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in ecb_crypt_copy()
232 u8 buf[AES_BLOCK_SIZE * (MAX_CBC_FETCH_BLOCKS - 1) + PADLOCK_ALIGNMENT - 1]; in cbc_crypt_copy()
233 u8 *tmp = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in cbc_crypt_copy()
331 .cra_alignmask = PADLOCK_ALIGNMENT - 1,
400 .base.cra_alignmask = PADLOCK_ALIGNMENT - 1,
[all …]
H A Dpadlock-sha.c78 char buf[128 + PADLOCK_ALIGNMENT - STACK_ALIGN] __attribute__ in padlock_sha1_finup()
80 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha1_finup()
139 char buf[128 + PADLOCK_ALIGNMENT - STACK_ALIGN] __attribute__ in padlock_sha256_finup()
141 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha256_finup()
287 u8 buf[128 + PADLOCK_ALIGNMENT - STACK_ALIGN] __attribute__ in padlock_sha1_update_nano()
289 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha1_update_nano()
371 u8 buf[128 + PADLOCK_ALIGNMENT - STACK_ALIGN] __attribute__ in padlock_sha256_update_nano()
373 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha256_update_nano()
/openbmc/linux/drivers/char/hw_random/
H A 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()
/openbmc/linux/include/crypto/
H A Dpadlock.h11 #define PADLOCK_ALIGNMENT 16 macro