PPPoE application with W5500

Dependencies:   W5500Interface mbed pppoe

- How to connect PPPoE with WIZ550 ioShield and mbed platform (Korean version)

http://hjjeon0608.wordpress.com/2014/09/25/wiz550io-ioshield-a%EC%99%80-mbed-%EB%B3%B4%EB%93%9C%EB%A5%BC-%EC%9D%B4%EC%9A%A9%ED%95%98%EC%97%AC-pppoe-%EC%97%B0%EA%B2%B0%ED%95%98%EA%B8%B0/

- How to connect ioShield to mbed platform(ST nucleo) of ST Microelectronics via SPI (Korean version)

http://hjjeon0608.wordpress.com/2014/09/25/wiz550-ioshield-a-%EC%99%80-mbed-%ED%94%8C%EB%9E%AB%ED%8F%BC-st-nucleo-f030r8-%EC%97%B0%EA%B2%B0%ED%95%98%EA%B8%B0/

- Example PPPoE server(RB750) setting (Korean version)

http://hjjeon0608.wordpress.com/2014/10/28/rb750pppoe-server-setting%ED%95%98%EA%B8%B0/

- W5500(PPPoE client) setting (Korean version)

http://hjjeon0608.wordpress.com/2014/10/29/temp/

- PPPoE library

http://developer.mbed.org/teams/EthernetInterfaceW5500-makers/code/pppoe/

Committer:
hjjeon
Date:
Wed Oct 15 06:27:12 2014 +0000
Revision:
1:8ef7820bf777
PPPoE application with W5500

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hjjeon 1:8ef7820bf777 1 /**
hjjeon 1:8ef7820bf777 2 @file md5.h
hjjeon 1:8ef7820bf777 3 */
hjjeon 1:8ef7820bf777 4 /*
hjjeon 1:8ef7820bf777 5 ***********************************************************************
hjjeon 1:8ef7820bf777 6 ** md5.h -- header file for implementation of MD5 **
hjjeon 1:8ef7820bf777 7 ** RSA Data Security, Inc. MD5 Message-Digest Algorithm **
hjjeon 1:8ef7820bf777 8 ** Created: 2/17/90 RLR **
hjjeon 1:8ef7820bf777 9 ** Revised: 12/27/90 SRD,AJ,BSK,JT Reference C version **
hjjeon 1:8ef7820bf777 10 ** Revised (for MD5): RLR 4/27/91 **
hjjeon 1:8ef7820bf777 11 ** -- G modified to have y&~z instead of y&z **
hjjeon 1:8ef7820bf777 12 ** -- FF, GG, HH modified to add in last register done **
hjjeon 1:8ef7820bf777 13 ** -- Access pattern: round 2 works mod 5, round 3 works mod 3 **
hjjeon 1:8ef7820bf777 14 ** -- distinct additive constant for each step **
hjjeon 1:8ef7820bf777 15 ** -- round 4 added, working mod 7 **
hjjeon 1:8ef7820bf777 16 ***********************************************************************
hjjeon 1:8ef7820bf777 17 */
hjjeon 1:8ef7820bf777 18
hjjeon 1:8ef7820bf777 19 /*
hjjeon 1:8ef7820bf777 20 ***********************************************************************
hjjeon 1:8ef7820bf777 21 ** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
hjjeon 1:8ef7820bf777 22 ** **
hjjeon 1:8ef7820bf777 23 ** License to copy and use this software is granted provided that **
hjjeon 1:8ef7820bf777 24 ** it is identified as the "RSA Data Security, Inc. MD5 Message- **
hjjeon 1:8ef7820bf777 25 ** Digest Algorithm" in all material mentioning or referencing this **
hjjeon 1:8ef7820bf777 26 ** software or this function. **
hjjeon 1:8ef7820bf777 27 ** **
hjjeon 1:8ef7820bf777 28 ** License is also granted to make and use derivative works **
hjjeon 1:8ef7820bf777 29 ** provided that such works are identified as "derived from the RSA **
hjjeon 1:8ef7820bf777 30 ** Data Security, Inc. MD5 Message-Digest Algorithm" in all **
hjjeon 1:8ef7820bf777 31 ** material mentioning or referencing the derived work. **
hjjeon 1:8ef7820bf777 32 ** **
hjjeon 1:8ef7820bf777 33 ** RSA Data Security, Inc. makes no representations concerning **
hjjeon 1:8ef7820bf777 34 ** either the merchantability of this software or the suitability **
hjjeon 1:8ef7820bf777 35 ** of this software for any particular purpose. It is provided "as **
hjjeon 1:8ef7820bf777 36 ** is" without express or implied warranty of any kind. **
hjjeon 1:8ef7820bf777 37 ** **
hjjeon 1:8ef7820bf777 38 ** These notices must be retained in any copies of any part of this **
hjjeon 1:8ef7820bf777 39 ** documentation and/or software. **
hjjeon 1:8ef7820bf777 40 ***********************************************************************
hjjeon 1:8ef7820bf777 41 */
hjjeon 1:8ef7820bf777 42
hjjeon 1:8ef7820bf777 43 #include <stdint.h>
hjjeon 1:8ef7820bf777 44 #ifndef __MD5_H
hjjeon 1:8ef7820bf777 45 #define __MD5_H
hjjeon 1:8ef7820bf777 46
hjjeon 1:8ef7820bf777 47 /* Data structure for MD5 (Message-Digest) computation */
hjjeon 1:8ef7820bf777 48 typedef struct {
hjjeon 1:8ef7820bf777 49 uint32_t i[2]; /* number of _bits_ handled mod 2^64 */
hjjeon 1:8ef7820bf777 50 uint32_t buf[4]; /* scratch buffer */
hjjeon 1:8ef7820bf777 51 unsigned char in[64]; /* input buffer */
hjjeon 1:8ef7820bf777 52 unsigned char digest[16]; /* actual digest after MD5Final call */
hjjeon 1:8ef7820bf777 53 } MD5_CTX;
hjjeon 1:8ef7820bf777 54
hjjeon 1:8ef7820bf777 55 void MD5Init ( MD5_CTX *mdContext);
hjjeon 1:8ef7820bf777 56 void MD5Update( MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen);
hjjeon 1:8ef7820bf777 57 void MD5Final ( unsigned char hash[], MD5_CTX *mdContext);
hjjeon 1:8ef7820bf777 58
hjjeon 1:8ef7820bf777 59 #endif /* MD5_H */