1/*
2 *
3 * cipher.c
4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved
9 *
10 * Created: Wed Apr 19 17:41:39 1995 ylo
11 *
12 * $FreeBSD: head/crypto/openssh/cipher.c 57464 2000-02-25 01:53:12Z green $
13 */
14
15#include "includes.h"
16RCSID("$Id: cipher.c,v 1.19 2000/02/22 15:19:29 markus Exp $");
17
18#include "ssh.h"
19#include "cipher.h"
20
21#include <openssl/md5.h>
22
23/*
24 * What kind of tripple DES are these 2 routines?
25 *
26 * Why is there a redundant initialization vector?
27 *
28 * If only iv3 was used, then, this would till effect have been
29 * outer-cbc. However, there is also a private iv1 == iv2 which
--- 292 unchanged lines hidden ---
2 *
3 * cipher.c
4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved
9 *
10 * Created: Wed Apr 19 17:41:39 1995 ylo
11 *
12 * $FreeBSD: head/crypto/openssh/cipher.c 57464 2000-02-25 01:53:12Z green $
13 */
14
15#include "includes.h"
16RCSID("$Id: cipher.c,v 1.19 2000/02/22 15:19:29 markus Exp $");
17
18#include "ssh.h"
19#include "cipher.h"
20
21#include <openssl/md5.h>
22
23/*
24 * What kind of tripple DES are these 2 routines?
25 *
26 * Why is there a redundant initialization vector?
27 *
28 * If only iv3 was used, then, this would till effect have been
29 * outer-cbc. However, there is also a private iv1 == iv2 which
--- 292 unchanged lines hidden ---