blob: d2cfa2ef49e822e35d344b504c0f2dec29720881 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * Driver for VIA PadLock
3 *
4 * Copyright (c) 2004 Michal Ludvig <michal@logix.cz>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)
9 * any later version.
10 *
11 */
12
13#ifndef _CRYPTO_PADLOCK_H
14#define _CRYPTO_PADLOCK_H
15
Herbert Xu6789b2d2005-07-06 13:52:27 -070016#define PADLOCK_ALIGNMENT 16
17
Herbert Xu21493082011-01-07 14:52:00 +110018#define PFX KBUILD_MODNAME ": "
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
Michal Ludvigccc17c32006-07-15 10:23:49 +100020#define PADLOCK_CRA_PRIORITY 300
Herbert Xu28ce7282006-08-21 21:38:42 +100021#define PADLOCK_COMPOSITE_PRIORITY 400
Michal Ludvigccc17c32006-07-15 10:23:49 +100022
Herbert Xu21493082011-01-07 14:52:00 +110023#ifdef CONFIG_64BIT
24#define STACK_ALIGN 16
25#else
26#define STACK_ALIGN 4
27#endif
28
Linus Torvalds1da177e2005-04-16 15:20:36 -070029#endif /* _CRYPTO_PADLOCK_H */