2019-05-27 14:55:01 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* Driver for VIA PadLock
|
|
|
|
*
|
|
|
|
* Copyright (c) 2004 Michal Ludvig <michal@logix.cz>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CRYPTO_PADLOCK_H
|
|
|
|
#define _CRYPTO_PADLOCK_H
|
|
|
|
|
2005-07-07 04:52:27 +08:00
|
|
|
#define PADLOCK_ALIGNMENT 16
|
|
|
|
|
2011-01-07 11:52:00 +08:00
|
|
|
#define PFX KBUILD_MODNAME ": "
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2006-07-15 08:23:49 +08:00
|
|
|
#define PADLOCK_CRA_PRIORITY 300
|
2006-08-21 19:38:42 +08:00
|
|
|
#define PADLOCK_COMPOSITE_PRIORITY 400
|
2006-07-15 08:23:49 +08:00
|
|
|
|
2011-01-07 11:52:00 +08:00
|
|
|
#ifdef CONFIG_64BIT
|
|
|
|
#define STACK_ALIGN 16
|
|
|
|
#else
|
|
|
|
#define STACK_ALIGN 4
|
|
|
|
#endif
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif /* _CRYPTO_PADLOCK_H */
|