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#include "openbsd-compat/openssl-compat.h" |
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 --- |