David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Driver for VIA PadLock |
| 4 | * |
| 5 | * Copyright (c) 2004 Michal Ludvig <michal@logix.cz> |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 */ |