https://github.com/torvalds/linux
Raw File
Tip revision: 6465e260f48790807eef06b583b38ca9789b6072 authored by Linus Torvalds on 24 September 2023, 21:31:13 UTC
Linux 6.6-rc3
Tip revision: 6465e26
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