version 1.4, 2000/12/19 23:17:57 |
version 1.5, 2000/12/29 10:56:27 |
|
|
|
|
/* 1. Standard types for AES cryptography source code */ |
/* 1. Standard types for AES cryptography source code */ |
|
|
typedef u_int8_t u1byte; /* an 8 bit u_character type */ |
typedef u_int8_t u1byte; /* an 8 bit unsigned character type */ |
typedef u_int16_t u2byte; /* a 16 bit u_integer type */ |
typedef u_int16_t u2byte; /* a 16 bit unsigned integer type */ |
typedef u_int32_t u4byte; /* a 32 bit u_integer type */ |
typedef u_int32_t u4byte; /* a 32 bit unsigned integer type */ |
|
|
typedef int8_t s1byte; /* an 8 bit signed character type */ |
typedef int8_t s1byte; /* an 8 bit signed character type */ |
typedef int16_t s2byte; /* a 16 bit signed integer type */ |
typedef int16_t s2byte; /* a 16 bit signed integer type */ |
|
|
|
|
/* 2. Standard interface for AES cryptographic routines */ |
/* 2. Standard interface for AES cryptographic routines */ |
|
|
/* These are all based on 32 bit u_values and will therefore */ |
/* These are all based on 32 bit unsigned values and will therefore */ |
/* require endian conversions for big-endian architectures */ |
/* require endian conversions for big-endian architectures */ |
|
|
rijndael_ctx *rijndael_set_key __P((rijndael_ctx *, const u4byte *, u4byte, int)); |
rijndael_ctx *rijndael_set_key __P((rijndael_ctx *, const u4byte *, u4byte, int)); |