mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-04-25 00:02:41 +00:00
changed PolarSSL compile-time condition
This commit is contained in:
parent
4704efa32a
commit
26e8372c75
@ -15,10 +15,10 @@ library into lwIP:
|
|||||||
|
|
||||||
The following defines are available for flexibility:
|
The following defines are available for flexibility:
|
||||||
|
|
||||||
LWIP_INCLUDED_POLARSSL_MD4_C ; Use lwIP internal PolarSSL for MD4
|
LWIP_INCLUDED_POLARSSL_MD4 ; Use lwIP internal PolarSSL for MD4
|
||||||
LWIP_INCLUDED_POLARSSL_MD5_C ; Use lwIP internal PolarSSL for MD5
|
LWIP_INCLUDED_POLARSSL_MD5 ; Use lwIP internal PolarSSL for MD5
|
||||||
LWIP_INCLUDED_POLARSSL_SHA1_C ; Use lwIP internal PolarSSL for SHA1
|
LWIP_INCLUDED_POLARSSL_SHA1 ; Use lwIP internal PolarSSL for SHA1
|
||||||
LWIP_INCLUDED_POLARSSL_DES_C ; Use lwIP internal PolarSSL for DES
|
LWIP_INCLUDED_POLARSSL_DES ; Use lwIP internal PolarSSL for DES
|
||||||
|
|
||||||
If set (=1), the default if required by another enabled PPP feature unless
|
If set (=1), the default if required by another enabled PPP feature unless
|
||||||
explicitly set to 0, using included lwIP PolarSSL.
|
explicitly set to 0, using included lwIP PolarSSL.
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
#if defined(LWIP_INCLUDED_POLARSSL_DES_C)
|
#if LWIP_INCLUDED_POLARSSL_DES
|
||||||
|
|
||||||
#include "polarssl/des.h"
|
#include "polarssl/des.h"
|
||||||
|
|
||||||
@ -419,4 +419,4 @@ void des_crypt_ecb( des_context *ctx,
|
|||||||
PUT_ULONG_BE( X, output, 4 );
|
PUT_ULONG_BE( X, output, 4 );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* LWIP_INCLUDED_POLARSSL_DES_C */
|
#endif /* LWIP_INCLUDED_POLARSSL_DES */
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
#if defined(LWIP_INCLUDED_POLARSSL_MD4_C)
|
#if LWIP_INCLUDED_POLARSSL_MD4
|
||||||
|
|
||||||
#include "polarssl/md4.h"
|
#include "polarssl/md4.h"
|
||||||
|
|
||||||
@ -276,4 +276,4 @@ void md4( unsigned char *input, int ilen, unsigned char output[16] )
|
|||||||
md4_finish( &ctx, output );
|
md4_finish( &ctx, output );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* LWIP_INCLUDED_POLARSSL_MD4_C */
|
#endif /* LWIP_INCLUDED_POLARSSL_MD4 */
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
#if defined(LWIP_INCLUDED_POLARSSL_MD5_C)
|
#if LWIP_INCLUDED_POLARSSL_MD5
|
||||||
|
|
||||||
#include "polarssl/md5.h"
|
#include "polarssl/md5.h"
|
||||||
|
|
||||||
@ -295,4 +295,4 @@ void md5( unsigned char *input, int ilen, unsigned char output[16] )
|
|||||||
md5_finish( &ctx, output );
|
md5_finish( &ctx, output );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* LWIP_INCLUDED_POLARSSL_MD5_C */
|
#endif /* LWIP_INCLUDED_POLARSSL_MD5 */
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
#if defined(LWIP_INCLUDED_POLARSSL_SHA1_C)
|
#if LWIP_INCLUDED_POLARSSL_SHA1
|
||||||
|
|
||||||
#include "polarssl/sha1.h"
|
#include "polarssl/sha1.h"
|
||||||
|
|
||||||
@ -330,4 +330,4 @@ void sha1( unsigned char *input, int ilen, unsigned char output[20] )
|
|||||||
sha1_finish( &ctx, output );
|
sha1_finish( &ctx, output );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* LWIP_INCLUDED_POLARSSL_SHA1_C */
|
#endif /* LWIP_INCLUDED_POLARSSL_SHA1 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user