Lines Matching refs:sha256
2 * public domain sha256 crypt implementation
16 /* public domain sha256 implementation based on fips180-3 */
18 struct sha256 {
43 static void processblock(struct sha256 *s, const uint8_t *buf)
86 static void pad(struct sha256 *s)
109 static void sha256_init(struct sha256 *s)
122 static void sha256_sum(struct sha256 *s, uint8_t *md)
135 static void sha256_update(struct sha256 *s, const void *m, unsigned long len)
178 static void hashmd(struct sha256 *s, unsigned int n, const void *md)
189 struct sha256 ctx;