1
0
forked from cory/tildefriends
Files
apps
core
deps
codemirror
codemirror_src
crypt_blowfish
libbacktrace
libbacktrace_config
libsodium
libuv
lit
openssl
android
arm64-v8a
usr
local
include
crypto
internal
openssl
__DECC_INCLUDE_EPILOGUE.H
__DECC_INCLUDE_PROLOGUE.H
aes.h
asn1.h
asn1.h.in
asn1_mac.h
asn1err.h
asn1t.h
asn1t.h.in
async.h
asyncerr.h
bio.h
bio.h.in
bioerr.h
blowfish.h
bn.h
bnerr.h
buffer.h
buffererr.h
camellia.h
cast.h
cmac.h
cmp.h
cmp.h.in
cmp_util.h
cmperr.h
cms.h
cms.h.in
cmserr.h
comp.h
comperr.h
conf.h
conf.h.in
conf_api.h
conferr.h
configuration.h
configuration.h.in
conftypes.h
core.h
core_dispatch.h
core_names.h
core_names.h.in
core_object.h
crmf.h
crmf.h.in
crmferr.h
crypto.h
crypto.h.in
cryptoerr.h
cryptoerr_legacy.h
ct.h
ct.h.in
cterr.h
decoder.h
decodererr.h
des.h
dh.h
dherr.h
dsa.h
dsaerr.h
dtls1.h
e_os2.h
e_ostime.h
ebcdic.h
ec.h
ecdh.h
ecdsa.h
ecerr.h
encoder.h
encodererr.h
engine.h
engineerr.h
err.h
err.h.in
ess.h
ess.h.in
esserr.h
evp.h
evperr.h
fips_names.h
fipskey.h
fipskey.h.in
hmac.h
hpke.h
http.h
httperr.h
idea.h
kdf.h
kdferr.h
lhash.h
lhash.h.in
macros.h
md2.h
md4.h
md5.h
mdc2.h
modes.h
obj_mac.h
objects.h
objectserr.h
ocsp.h
ocsp.h.in
ocsperr.h
opensslconf.h
opensslv.h
opensslv.h.in
ossl_typ.h
param_build.h
params.h
pem.h
pem2.h
pemerr.h
pkcs12.h
pkcs12.h.in
pkcs12err.h
pkcs7.h
pkcs7.h.in
pkcs7err.h
prov_ssl.h
proverr.h
provider.h
quic.h
rand.h
randerr.h
rc2.h
rc4.h
rc5.h
ripemd.h
rsa.h
rsaerr.h
safestack.h
safestack.h.in
seed.h
self_test.h
sha.h
srp.h
srp.h.in
srtp.h
ssl.h
ssl.h.in
ssl2.h
ssl3.h
sslerr.h
sslerr_legacy.h
stack.h
store.h
storeerr.h
symhacks.h
thread.h
tls1.h
trace.h
ts.h
tserr.h
txt_db.h
types.h
ui.h
ui.h.in
uierr.h
whrlpool.h
x509.h
x509.h.in
x509_vfy.h
x509_vfy.h.in
x509err.h
x509v3.h
x509v3.h.in
x509v3err.h
lib
armeabi-v7a
x86
x86_64
ios
mingw64
picohttpparser
prettier
quickjs
speedscope
sqlite
xopt
zlib
docs
src
tools
.clang-format
.dockerignore
.gitignore
Dockerfile
GNUmakefile
LICENSE
README.md
2023-10-11 18:44:50 +00:00

63 lines
1.7 KiB
C

/*
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/
#ifndef OPENSSL_MD5_H
# define OPENSSL_MD5_H
# pragma once
# include <openssl/macros.h>
# ifndef OPENSSL_NO_DEPRECATED_3_0
# define HEADER_MD5_H
# endif
# include <openssl/opensslconf.h>
# ifndef OPENSSL_NO_MD5
# include <openssl/e_os2.h>
# include <stddef.h>
# ifdef __cplusplus
extern "C" {
# endif
# define MD5_DIGEST_LENGTH 16
# if !defined(OPENSSL_NO_DEPRECATED_3_0)
/*
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
* ! MD5_LONG has to be at least 32 bits wide. !
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*/
# define MD5_LONG unsigned int
# define MD5_CBLOCK 64
# define MD5_LBLOCK (MD5_CBLOCK/4)
typedef struct MD5state_st {
MD5_LONG A, B, C, D;
MD5_LONG Nl, Nh;
MD5_LONG data[MD5_LBLOCK];
unsigned int num;
} MD5_CTX;
# endif
# ifndef OPENSSL_NO_DEPRECATED_3_0
OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c);
OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len);
OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n,
unsigned char *md);
OSSL_DEPRECATEDIN_3_0 void MD5_Transform(MD5_CTX *c, const unsigned char *b);
# endif
# ifdef __cplusplus
}
# endif
# endif
#endif