Lines Matching refs:SHA256_DIGEST_LENGTH
399 sha256_hash(unsigned char hash[SHA256_DIGEST_LENGTH],
400 char out[SHA256_DIGEST_LENGTH * 2 + 1])
404 for (i = 0; i < SHA256_DIGEST_LENGTH; i++)
407 out[SHA256_DIGEST_LENGTH * 2] = '\0';
411 sha256_buf(char *buf, size_t len, char out[SHA256_DIGEST_LENGTH * 2 + 1])
413 unsigned char hash[SHA256_DIGEST_LENGTH];
425 sha256_fd(int fd, char out[SHA256_DIGEST_LENGTH * 2 + 1])
430 unsigned char hash[SHA256_DIGEST_LENGTH];
519 char sha256[(SHA256_DIGEST_LENGTH * 2) + 2];
738 char hash[SHA256_DIGEST_LENGTH * 2 + 1];