https://github.com/torvalds/linux
Raw File
Tip revision: 9abf2313adc1ca1b6180c508c25f22f9395cc780 authored by Linus Torvalds on 16 October 2022, 22:36:24 UTC
Linux 6.1-rc1
Tip revision: 9abf231
padlock.h
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Driver for VIA PadLock
 *
 * Copyright (c) 2004 Michal Ludvig <michal@logix.cz>
 */

#ifndef _CRYPTO_PADLOCK_H
#define _CRYPTO_PADLOCK_H

#define PADLOCK_ALIGNMENT 16

#define PFX	KBUILD_MODNAME ": "

#define PADLOCK_CRA_PRIORITY	300
#define PADLOCK_COMPOSITE_PRIORITY 400

#ifdef CONFIG_64BIT
#define STACK_ALIGN 16
#else
#define STACK_ALIGN 4
#endif

#endif	/* _CRYPTO_PADLOCK_H */
back to top