m_md4.c (68651) | m_md4.c (89837) |
---|---|
1/* crypto/evp/m_md4.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 * --- 52 unchanged lines hidden (view full) --- 61#include "cryptlib.h" 62#include <openssl/evp.h> 63#include <openssl/objects.h> 64#include <openssl/x509.h> 65 66static EVP_MD md4_md= 67 { 68 NID_md4, | 1/* crypto/evp/m_md4.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 * --- 52 unchanged lines hidden (view full) --- 61#include "cryptlib.h" 62#include <openssl/evp.h> 63#include <openssl/objects.h> 64#include <openssl/x509.h> 65 66static EVP_MD md4_md= 67 { 68 NID_md4, |
69 0, | 69 NID_md4WithRSAEncryption, |
70 MD4_DIGEST_LENGTH, 71 MD4_Init, 72 MD4_Update, 73 MD4_Final, 74 EVP_PKEY_RSA_method, 75 MD4_CBLOCK, 76 sizeof(EVP_MD *)+sizeof(MD4_CTX), 77 }; 78 79EVP_MD *EVP_md4(void) 80 { 81 return(&md4_md); 82 } 83#endif | 70 MD4_DIGEST_LENGTH, 71 MD4_Init, 72 MD4_Update, 73 MD4_Final, 74 EVP_PKEY_RSA_method, 75 MD4_CBLOCK, 76 sizeof(EVP_MD *)+sizeof(MD4_CTX), 77 }; 78 79EVP_MD *EVP_md4(void) 80 { 81 return(&md4_md); 82 } 83#endif |