Return to rijndael.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.13, 2001/12/19 07:18:56 | version 1.14, 2002/07/10 17:53:54 | ||
---|---|---|---|
|
|
||
memset(ctx->dk, 0, sizeof(ctx->dk)); | memset(ctx->dk, 0, sizeof(ctx->dk)); | ||
} else { | } else { | ||
ctx->decrypt = 1; | ctx->decrypt = 1; | ||
memcpy(ctx->dk, ctx->ek, sizeof(ctx->ek)); | memcpy(ctx->dk, ctx->ek, sizeof(ctx->dk)); | ||
rijndaelKeySetupDec(ctx->dk, key, bits, ctx->Nr); | rijndaelKeySetupDec(ctx->dk, key, bits, ctx->Nr); | ||
} | } | ||
} | } |