git/sha256/block/sha256.c

#include "git-compat-util.h"
#include "./sha256.h"

#undef RND
#undef BLKSIZE

#define BLKSIZE

void blk_SHA256_Init(blk_SHA256_CTX *ctx)
{}

static inline uint32_t ror(uint32_t x, unsigned n)
{}

static inline uint32_t ch(uint32_t x, uint32_t y, uint32_t z)
{}

static inline uint32_t maj(uint32_t x, uint32_t y, uint32_t z)
{}

static inline uint32_t sigma0(uint32_t x)
{}

static inline uint32_t sigma1(uint32_t x)
{}

static inline uint32_t gamma0(uint32_t x)
{}

static inline uint32_t gamma1(uint32_t x)
{}

static void blk_SHA256_Transform(blk_SHA256_CTX *ctx, const unsigned char *buf)
{}

void blk_SHA256_Update(blk_SHA256_CTX *ctx, const void *data, size_t len)
{}

void blk_SHA256_Final(unsigned char *digest, blk_SHA256_CTX *ctx)
{}