Deleted Added
full compact
cipher-3des1.c (181110) cipher-3des1.c (181111)
1/* $OpenBSD: cipher-3des1.c,v 1.6 2006/08/03 03:34:42 deraadt Exp $ */
2/*
3 * Copyright (c) 2003 Markus Friedl. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 21 unchanged lines hidden (view full) ---

30#include <openssl/evp.h>
31
32#include <stdarg.h>
33#include <string.h>
34
35#include "xmalloc.h"
36#include "log.h"
37
1/* $OpenBSD: cipher-3des1.c,v 1.6 2006/08/03 03:34:42 deraadt Exp $ */
2/*
3 * Copyright (c) 2003 Markus Friedl. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 21 unchanged lines hidden (view full) ---

30#include <openssl/evp.h>
31
32#include <stdarg.h>
33#include <string.h>
34
35#include "xmalloc.h"
36#include "log.h"
37
38#if OPENSSL_VERSION_NUMBER < 0x00906000L
39#define SSH_OLD_EVP
40#endif
38#include "openbsd-compat/openssl-compat.h"
41
42/*
43 * This is used by SSH1:
44 *
45 * What kind of triple DES are these 2 routines?
46 *
47 * Why is there a redundant initialization vector?
48 *

--- 136 unchanged lines hidden ---
39
40/*
41 * This is used by SSH1:
42 *
43 * What kind of triple DES are these 2 routines?
44 *
45 * Why is there a redundant initialization vector?
46 *

--- 136 unchanged lines hidden ---