xref: /linux/include/crypto/padlock.h (revision 4e95bc268b915c3a19ec8b9110f61e4ea41a1ed0)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Driver for VIA PadLock
4  *
5  * Copyright (c) 2004 Michal Ludvig <michal@logix.cz>
6  */
7 
8 #ifndef _CRYPTO_PADLOCK_H
9 #define _CRYPTO_PADLOCK_H
10 
11 #define PADLOCK_ALIGNMENT 16
12 
13 #define PFX	KBUILD_MODNAME ": "
14 
15 #define PADLOCK_CRA_PRIORITY	300
16 #define PADLOCK_COMPOSITE_PRIORITY 400
17 
18 #ifdef CONFIG_64BIT
19 #define STACK_ALIGN 16
20 #else
21 #define STACK_ALIGN 4
22 #endif
23 
24 #endif	/* _CRYPTO_PADLOCK_H */
25