OLD | NEW |
1 /* crypto/sha/sha1dgst.c */ | 1 /* crypto/sha/sha1dgst.c */ |
2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * This package is an SSL implementation written | 5 * This package is an SSL implementation written |
6 * by Eric Young (eay@cryptsoft.com). | 6 * by Eric Young (eay@cryptsoft.com). |
7 * The implementation was written so as to conform with Netscapes SSL. | 7 * The implementation was written so as to conform with Netscapes SSL. |
8 * | 8 * |
9 * This library is free for commercial and non-commercial use as long as | 9 * This library is free for commercial and non-commercial use as long as |
10 * the following conditions are aheared to. The following conditions | 10 * the following conditions are aheared to. The following conditions |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 * [including the GNU Public Licence.] | 56 * [including the GNU Public Licence.] |
57 */ | 57 */ |
58 | 58 |
59 #include <openssl/opensslconf.h> | 59 #include <openssl/opensslconf.h> |
60 #if !defined(OPENSSL_NO_SHA1) && !defined(OPENSSL_NO_SHA) | 60 #if !defined(OPENSSL_NO_SHA1) && !defined(OPENSSL_NO_SHA) |
61 | 61 |
62 #undef SHA_0 | 62 #undef SHA_0 |
63 #define SHA_1 | 63 #define SHA_1 |
64 | 64 |
65 #include <openssl/opensslv.h> | 65 #include <openssl/opensslv.h> |
66 #ifdef OPENSSL_FIPS | |
67 #include <openssl/fips.h> | |
68 #endif | |
69 | |
70 | 66 |
71 const char SHA1_version[]="SHA1" OPENSSL_VERSION_PTEXT; | 67 const char SHA1_version[]="SHA1" OPENSSL_VERSION_PTEXT; |
72 | 68 |
73 /* The implementation is in ../md32_common.h */ | 69 /* The implementation is in ../md32_common.h */ |
74 | 70 |
75 #include "sha_locl.h" | 71 #include "sha_locl.h" |
76 | 72 |
77 #endif | 73 #endif |
78 | 74 |
OLD | NEW |