mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
28ce728a90
This patch adds block cipher algorithms for cbc(aes) and ecb(aes) for the PadLock device. Once all users to the old cipher type have been converted the old cbc/ecb PadLock operations will be removed. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
24 lines
562 B
C
24 lines
562 B
C
/*
|
|
* Driver for VIA PadLock
|
|
*
|
|
* Copyright (c) 2004 Michal Ludvig <michal@logix.cz>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the Free
|
|
* Software Foundation; either version 2 of the License, or (at your option)
|
|
* any later version.
|
|
*
|
|
*/
|
|
|
|
#ifndef _CRYPTO_PADLOCK_H
|
|
#define _CRYPTO_PADLOCK_H
|
|
|
|
#define PADLOCK_ALIGNMENT 16
|
|
|
|
#define PFX "padlock: "
|
|
|
|
#define PADLOCK_CRA_PRIORITY 300
|
|
#define PADLOCK_COMPOSITE_PRIORITY 400
|
|
|
|
#endif /* _CRYPTO_PADLOCK_H */
|