mcabber/libjabber/libxode.h
changeset 722 9054697b1a06
parent 417 c3ae9251c197
equal deleted inserted replaced
721:9cf31c9b1dc4 722:9054697b1a06
   444  * may use your version of this file under either the MPL or the
   444  * may use your version of this file under either the MPL or the
   445  * GPL.
   445  * GPL.
   446  */
   446  */
   447 
   447 
   448 typedef struct {
   448 typedef struct {
   449   unsigned long H[5];
   449   uint32_t H[5];
   450   unsigned long W[80];
   450   uint32_t W[80];
   451   int lenW;
   451   int lenW;
   452   unsigned long sizeHi,sizeLo;
   452   uint32_t sizeHi,sizeLo;
   453 } SHA_CTX;
   453 } SHA_CTX;
   454 
   454 
   455 
   455 
   456 void shaInit(SHA_CTX *ctx);
   456 void shaInit(SHA_CTX *ctx);
   457 void shaUpdate(SHA_CTX *ctx, unsigned char *dataIn, int len);
   457 void shaUpdate(SHA_CTX *ctx, unsigned char *dataIn, int len);