blob: 6de70e88f112a44996229afcb6ad21a5a1678d06 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * Driver for VIA PadLock
4 *
5 * Copyright (c) 2004 Michal Ludvig <michal@logix.cz>
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00006 */
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 */