comparison mcabber/libjabber/libxode.h @ 722:9054697b1a06

Sync with upstream libjabber amd64 jab auth patch [libjabber @ 2006-01-02 11:10:35 by konst]
author Mikael Berthe <mikael@lilotux.net>
date Sun, 05 Mar 2006 10:43:36 +0100
parents c3ae9251c197
children
comparison
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);