Import libgcrypt 1.5.3.

This commit is contained in:
Vladimir Serbinenko 2013-11-07 06:35:50 +01:00
parent c12936c5d1
commit d1307d873a
72 changed files with 11732 additions and 2916 deletions

View file

@ -59,7 +59,7 @@ union wordbuf
static const char *selftest(void);
typedef struct
typedef struct
{
u32 keyschedule[32];
} SEED_context;
@ -258,7 +258,7 @@ static const u32 KC[NUMKC] = {
/* Perform the key setup.
*/
*/
static gcry_err_code_t
do_setkey (SEED_context *ctx, const byte *key, const unsigned keylen)
{
@ -432,7 +432,7 @@ static const char*
selftest (void)
{
SEED_context ctx;
byte scratch[16];
byte scratch[16];
/* The test vector is taken from the appendix section B.3 of RFC4269.
*/