padlock.h 438 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Driver for VIA PadLock
  4. *
  5. * Copyright (c) 2004 Michal Ludvig <[email protected]>
  6. */
  7. #ifndef _CRYPTO_PADLOCK_H
  8. #define _CRYPTO_PADLOCK_H
  9. #define PADLOCK_ALIGNMENT 16
  10. #define PFX KBUILD_MODNAME ": "
  11. #define PADLOCK_CRA_PRIORITY 300
  12. #define PADLOCK_COMPOSITE_PRIORITY 400
  13. #ifdef CONFIG_64BIT
  14. #define STACK_ALIGN 16
  15. #else
  16. #define STACK_ALIGN 4
  17. #endif
  18. #endif /* _CRYPTO_PADLOCK_H */