Revision 0d73abb8

View differences:

libavutil/sha1.c
49 49

  
50 50
/* Hash a single 512-bit block. This is the core of the algorithm. */
51 51

  
52
static void transform(uint32_t state[5], const uint8_t buffer[64])
52
static void sha1_transform(uint32_t state[5], const uint8_t buffer[64])
53 53
{
54 54
    uint32_t block[80];
55 55
    unsigned int i, a, b, c, d, e;
......
134 134
    ctx->state[2] = 0x98BADCFE;
135 135
    ctx->state[3] = 0x10325476;
136 136
    ctx->state[4] = 0xC3D2E1F0;
137
    ctx->transform = transform;
137
    ctx->transform = sha1_transform;
138 138
    ctx->count    = 0;
139 139
}
140 140

  

Also available in: Unified diff