Lines Matching refs:sha512
2 * public domain sha512 crypt implementation
16 /* public domain sha512 implementation based on fips180-3 */
19 struct sha512 {
56 static void processblock(struct sha512 *s, const uint8_t *buf)
103 static void pad(struct sha512 *s)
126 static void sha512_init(struct sha512 *s)
139 static void sha512_sum(struct sha512 *s, uint8_t *md)
156 static void sha512_update(struct sha512 *s, const void *m, unsigned long len)
199 static void hashmd(struct sha512 *s, unsigned int n, const void *md)
210 struct sha512 ctx;