Return to rijndael.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.12.2.1, 2002/03/07 17:37:47 | version 1.12.2.2, 2002/10/11 14:53:07 | ||
---|---|---|---|
|
|
||
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); | ||
} | } | ||
} | } |