mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
gbde(8) is also rejndael user.
Reported by: phk
This commit is contained in:
parent
8e93ce1a1b
commit
ff079c93f7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143431
|
@ -83,7 +83,7 @@
|
|||
#include <sys/errno.h>
|
||||
#include <sys/disk.h>
|
||||
#include <sys/stat.h>
|
||||
#include <crypto/rijndael/rijndael.h>
|
||||
#include <crypto/rijndael/rijndael-api-fst.h>
|
||||
#include <crypto/sha2/sha2.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/linker.h>
|
||||
|
|
|
@ -45,13 +45,11 @@ void rijndael_set_key(rijndael_ctx *, const u_char *, int);
|
|||
void rijndael_decrypt(const rijndael_ctx *, const u_char *, u_char *);
|
||||
void rijndael_encrypt(const rijndael_ctx *, const u_char *, u_char *);
|
||||
|
||||
#ifdef _KERNEL
|
||||
int rijndaelKeySetupEnc(u_int32_t [/*4*(Nr+1)*/], const u_int8_t [], int);
|
||||
int rijndaelKeySetupDec(u_int32_t [/*4*(Nr+1)*/], const u_int8_t [], int);
|
||||
void rijndaelEncrypt(const u_int32_t [/*4*(Nr+1)*/], int,
|
||||
const u_int8_t[16], u_int8_t [16]);
|
||||
void rijndaelDecrypt(const u_int32_t [/*4*(Nr+1)*/], int,
|
||||
const u_int8_t [16], u_int8_t [16]);
|
||||
#endif
|
||||
|
||||
#endif /* __RIJNDAEL_H */
|
||||
|
|
Loading…
Reference in a new issue