18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Driver for VIA PadLock
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (c) 2004 Michal Ludvig <michal@logix.cz>
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef _CRYPTO_PADLOCK_H
98c2ecf20Sopenharmony_ci#define _CRYPTO_PADLOCK_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#define PADLOCK_ALIGNMENT 16
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#define PFX	KBUILD_MODNAME ": "
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#define PADLOCK_CRA_PRIORITY	300
168c2ecf20Sopenharmony_ci#define PADLOCK_COMPOSITE_PRIORITY 400
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci#ifdef CONFIG_64BIT
198c2ecf20Sopenharmony_ci#define STACK_ALIGN 16
208c2ecf20Sopenharmony_ci#else
218c2ecf20Sopenharmony_ci#define STACK_ALIGN 4
228c2ecf20Sopenharmony_ci#endif
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci#endif	/* _CRYPTO_PADLOCK_H */
25