blob: 6de70e88f112a44996229afcb6ad21a5a1678d06 [file] [log] [blame]
Thomas Gleixner2874c5f2019-05-27 08:55:01 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
3 * Driver for VIA PadLock
4 *
5 * Copyright (c) 2004 Michal Ludvig <michal@logix.cz>
Linus Torvalds1da177e2005-04-16 15:20:36 -07006 */
7
8#ifndef _CRYPTO_PADLOCK_H
9#define _CRYPTO_PADLOCK_H
10
Herbert Xu6789b2d2005-07-06 13:52:27 -070011#define PADLOCK_ALIGNMENT 16
12
Herbert Xu21493082011-01-07 14:52:00 +110013#define PFX KBUILD_MODNAME ": "
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
Michal Ludvigccc17c32006-07-15 10:23:49 +100015#define PADLOCK_CRA_PRIORITY 300
Herbert Xu28ce7282006-08-21 21:38:42 +100016#define PADLOCK_COMPOSITE_PRIORITY 400
Michal Ludvigccc17c32006-07-15 10:23:49 +100017
Herbert Xu21493082011-01-07 14:52:00 +110018#ifdef CONFIG_64BIT
19#define STACK_ALIGN 16
20#else
21#define STACK_ALIGN 4
22#endif
23
Linus Torvalds1da177e2005-04-16 15:20:36 -070024#endif /* _CRYPTO_PADLOCK_H */