4 FILE_LICENCE ( GPL2_OR_LATER );
6 struct cipher_algorithm;
8 /** Basic AES blocksize */
9 #define AES_BLOCKSIZE 16
11 #include "crypto/axtls/crypto.h"
15 /** AES context for AXTLS */
17 /** Cipher is being used for decrypting */
21 /** AES context size */
22 #define AES_CTX_SIZE sizeof ( struct aes_context )
24 extern struct cipher_algorithm aes_algorithm;
25 extern struct cipher_algorithm aes_cbc_algorithm;
27 int aes_wrap ( const void *kek, const void *src, void *dest, int nblk );
28 int aes_unwrap ( const void *kek, const void *src, void *dest, int nblk );
30 #endif /* _GPXE_AES_H */