andre@0: /* This Source Code Form is subject to the terms of the Mozilla Public
andre@0:  * License, v. 2.0. If a copy of the MPL was not distributed with this
andre@0:  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
andre@0: 
andre@0: #ifndef _SHA_256_H_
andre@0: #define _SHA_256_H_
andre@0: 
andre@0: #include "prtypes.h"
andre@0: 
andre@0: struct SHA256ContextStr {
andre@0:     union {
andre@0: 	PRUint32 w[64];	    /* message schedule, input buffer, plus 48 words */
andre@0: 	PRUint8  b[256];
andre@0:     } u;
andre@0:     PRUint32 h[8];		/* 8 state variables */
andre@0:     PRUint32 sizeHi,sizeLo;	/* 64-bit count of hashed bytes. */
andre@0: };
andre@0: 
andre@0: #endif /* _SHA_256_H_ */