mdc2dgst.c (238405) | mdc2dgst.c (246772) |
---|---|
1/* crypto/mdc2/mdc2dgst.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 45 unchanged lines hidden (view full) --- 54 * derivative of this code cannot be changed. i.e. this code cannot simply be 55 * copied and put under another distribution licence 56 * [including the GNU Public Licence.] 57 */ 58 59#include <stdio.h> 60#include <stdlib.h> 61#include <string.h> | 1/* crypto/mdc2/mdc2dgst.c */ 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3 * All rights reserved. 4 * 5 * This package is an SSL implementation written 6 * by Eric Young (eay@cryptsoft.com). 7 * The implementation was written so as to conform with Netscapes SSL. 8 * --- 45 unchanged lines hidden (view full) --- 54 * derivative of this code cannot be changed. i.e. this code cannot simply be 55 * copied and put under another distribution licence 56 * [including the GNU Public Licence.] 57 */ 58 59#include <stdio.h> 60#include <stdlib.h> 61#include <string.h> |
62#include <openssl/crypto.h> |
|
62#include <openssl/des.h> 63#include <openssl/mdc2.h> | 63#include <openssl/des.h> 64#include <openssl/mdc2.h> |
64#include <openssl/crypto.h> | |
65 66#undef c2l 67#define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \ 68 l|=((DES_LONG)(*((c)++)))<< 8L, \ 69 l|=((DES_LONG)(*((c)++)))<<16L, \ 70 l|=((DES_LONG)(*((c)++)))<<24L) 71 72#undef l2c --- 128 unchanged lines hidden --- | 65 66#undef c2l 67#define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \ 68 l|=((DES_LONG)(*((c)++)))<< 8L, \ 69 l|=((DES_LONG)(*((c)++)))<<16L, \ 70 l|=((DES_LONG)(*((c)++)))<<24L) 71 72#undef l2c --- 128 unchanged lines hidden --- |