54#if !LWIP_USE_EXTERNAL_MBEDTLS
57#define lwip_md4_context md4_context
58#define lwip_md4_init(context)
59#define lwip_md4_starts md4_starts
60#define lwip_md4_update md4_update
61#define lwip_md4_finish md4_finish
62#define lwip_md4_free(context)
65#define lwip_md5_context md5_context
66#define lwip_md5_init(context)
67#define lwip_md5_starts md5_starts
68#define lwip_md5_update md5_update
69#define lwip_md5_finish md5_finish
70#define lwip_md5_free(context)
73#define lwip_sha1_context sha1_context
74#define lwip_sha1_init(context)
75#define lwip_sha1_starts sha1_starts
76#define lwip_sha1_update sha1_update
77#define lwip_sha1_finish sha1_finish
78#define lwip_sha1_free(context)
81#define lwip_des_context des_context
82#define lwip_des_init(context)
83#define lwip_des_setkey_enc des_setkey_enc
84#define lwip_des_crypt_ecb des_crypt_ecb
85#define lwip_des_free(context)
88#define lwip_arc4_context arc4_context
89#define lwip_arc4_init(context)
90#define lwip_arc4_setup arc4_setup
91#define lwip_arc4_crypt arc4_crypt
92#define lwip_arc4_free(context)
99#if LWIP_USE_EXTERNAL_MBEDTLS
101#define lwip_md4_context mbedtls_md4_context
102#define lwip_md4_init mbedtls_md4_init
103#define lwip_md4_starts mbedtls_md4_starts
104#define lwip_md4_update mbedtls_md4_update
105#define lwip_md4_finish mbedtls_md4_finish
106#define lwip_md4_free mbedtls_md4_free
108#define lwip_md5_context mbedtls_md5_context
109#define lwip_md5_init mbedtls_md5_init
110#define lwip_md5_starts mbedtls_md5_starts
111#define lwip_md5_update mbedtls_md5_update
112#define lwip_md5_finish mbedtls_md5_finish
113#define lwip_md5_free mbedtls_md5_free
115#define lwip_sha1_context mbedtls_sha1_context
116#define lwip_sha1_init mbedtls_sha1_init
117#define lwip_sha1_starts mbedtls_sha1_starts
118#define lwip_sha1_update mbedtls_sha1_update
119#define lwip_sha1_finish mbedtls_sha1_finish
120#define lwip_sha1_free mbedtls_sha1_free
122#define lwip_des_context mbedtls_des_context
123#define lwip_des_init mbedtls_des_init
124#define lwip_des_setkey_enc mbedtls_des_setkey_enc
125#define lwip_des_crypt_ecb mbedtls_des_crypt_ecb
126#define lwip_des_free mbedtls_des_free
128#define lwip_arc4_context mbedtls_arc4_context
129#define lwip_arc4_init mbedtls_arc4_init
130#define lwip_arc4_setup mbedtls_arc4_setup
131#define lwip_arc4_crypt(context, buffer, length) mbedtls_arc4_crypt(context, length, buffer, buffer)
132#define lwip_arc4_free mbedtls_arc4_free