Revision 01cc6288 libavutil/sha1.c

View differences:

libavutil/sha1.c
25 25

  
26 26
/** hash context */
27 27
typedef struct AVSHA1 {
28
    uint8_t  digest_len;  ///< digest length in 32-bit words
28 29
    uint64_t count;       ///< number of bytes in buffer
29 30
    uint8_t buffer[64];   ///< 512-bit buffer of input values used in hash updating
30
    uint32_t state[5];    ///< current hash value
31
    uint32_t state[8];    ///< current hash value
31 32
} AVSHA1;
32 33

  
33 34
const int av_sha1_size = sizeof(AVSHA1);

Also available in: Unified diff