23#ifndef MBEDTLS_SHA512_ALT_SW_H
24#define MBEDTLS_SHA512_ALT_SW_H
26#if defined(MBEDTLS_SHA512_ALT)
41 unsigned char buffer[128];
44mbedtls_sha512_sw_context;
51void mbedtls_sha512_sw_init( mbedtls_sha512_sw_context *ctx );
58void mbedtls_sha512_sw_free( mbedtls_sha512_sw_context *ctx );
66void mbedtls_sha512_sw_clone( mbedtls_sha512_sw_context *dst,
67 const mbedtls_sha512_sw_context *src );
75void mbedtls_sha512_sw_starts( mbedtls_sha512_sw_context *ctx,
int is384 );
84void mbedtls_sha512_sw_update( mbedtls_sha512_sw_context *ctx,
const unsigned char *input,
93void mbedtls_sha512_sw_finish( mbedtls_sha512_sw_context *ctx,
unsigned char output[64] );
96void mbedtls_sha512_sw_process( mbedtls_sha512_sw_context *ctx,
const unsigned char data[128] );