ctx->iv1 = iv1;
}
+#ifdef ENABLE_BLOWFISH_SSH2_CTR
static void blowfish_msb_sdctr(unsigned char *blk, int len,
BlowfishContext * ctx)
{
ctx->iv0 = iv0;
ctx->iv1 = iv1;
}
+#endif
static void blowfish_setkey(BlowfishContext * ctx,
const unsigned char *key, short keybytes)
scheds->iv1 = iv1;
}
+#ifdef ENABLE_3DES_SSH2_CTR
static void des_sdctr3(unsigned char *dest, const unsigned char *src,
unsigned int len, DESContext * scheds)
{
scheds->iv0 = iv0;
scheds->iv1 = iv1;
}
+#endif
static void *des3_make_context(void)
{
des_cbc3_decrypt(blk, blk, len, keys);
}
+#ifdef ENABLE_3DES_SSH2_CTR
static void des3_ssh2_sdctr(void *handle, unsigned char *blk, int len)
{
DESContext *keys = (DESContext *) handle;
des_sdctr3(blk, blk, len, keys);
}
+#endif
static void des_ssh2_encrypt_blk(void *handle, unsigned char *blk, int len)
{