Deleted Added
full compact
cipher-bf1.c (181110) cipher-bf1.c (181111)
1/* $OpenBSD: cipher-bf1.c,v 1.5 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-bf1.c,v 1.5 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 * SSH1 uses a variation on Blowfish, all bytes must be swapped before
44 * and after encryption/decryption. Thus the swap_bytes stuff (yuk).
45 */
46
47const EVP_CIPHER * evp_ssh1_bf(void);
48

--- 60 unchanged lines hidden ---
39
40/*
41 * SSH1 uses a variation on Blowfish, all bytes must be swapped before
42 * and after encryption/decryption. Thus the swap_bytes stuff (yuk).
43 */
44
45const EVP_CIPHER * evp_ssh1_bf(void);
46

--- 60 unchanged lines hidden ---