File indexing completed on 2025-01-18 10:05:45
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef OPENSSL_MD4_H
0011 # define OPENSSL_MD4_H
0012 # pragma once
0013
0014 # include <openssl/macros.h>
0015 # ifndef OPENSSL_NO_DEPRECATED_3_0
0016 # define HEADER_MD4_H
0017 # endif
0018
0019 # include <openssl/opensslconf.h>
0020
0021 # ifndef OPENSSL_NO_MD4
0022 # include <openssl/e_os2.h>
0023 # include <stddef.h>
0024 # ifdef __cplusplus
0025 extern "C" {
0026 # endif
0027
0028 # define MD4_DIGEST_LENGTH 16
0029
0030 # if !defined(OPENSSL_NO_DEPRECATED_3_0)
0031
0032
0033
0034
0035
0036
0037 # define MD4_LONG unsigned int
0038
0039 # define MD4_CBLOCK 64
0040 # define MD4_LBLOCK (MD4_CBLOCK/4)
0041
0042 typedef struct MD4state_st {
0043 MD4_LONG A, B, C, D;
0044 MD4_LONG Nl, Nh;
0045 MD4_LONG data[MD4_LBLOCK];
0046 unsigned int num;
0047 } MD4_CTX;
0048 # endif
0049 # ifndef OPENSSL_NO_DEPRECATED_3_0
0050 OSSL_DEPRECATEDIN_3_0 int MD4_Init(MD4_CTX *c);
0051 OSSL_DEPRECATEDIN_3_0 int MD4_Update(MD4_CTX *c, const void *data, size_t len);
0052 OSSL_DEPRECATEDIN_3_0 int MD4_Final(unsigned char *md, MD4_CTX *c);
0053 OSSL_DEPRECATEDIN_3_0 unsigned char *MD4(const unsigned char *d, size_t n,
0054 unsigned char *md);
0055 OSSL_DEPRECATEDIN_3_0 void MD4_Transform(MD4_CTX *c, const unsigned char *b);
0056 # endif
0057
0058 # ifdef __cplusplus
0059 }
0060 # endif
0061 # endif
0062
0063 #endif