mbedtls_internal_sha512_process() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesmbedTLSmbedtls_internal_sha512_process()

mbedtls_internal_sha512_process() function

This function processes a single data block within the ongoing SHA-512 computation.

Syntax

int mbedtls_internal_sha512_process( mbedtls_sha512_context *ctx,     const unsigned char data[128] );
Implemented in sha512.c:217

Arguments

ctx

The SHA-512 context. This must be initialized.

data

The buffer holding one block of data. This must be a readable buffer of length \c 128 Bytes.

Return value

\c 0 on success. A negative error code on failure.

References

LocationReferrerText
sha512.c:217
int mbedtls_internal_sha512_process( mbedtls_sha512_context *ctx,
sha512.h:155
int mbedtls_internal_sha512_process( mbedtls_sha512_context *ctx,
md_wrap.c:539sha384_process_wrap()
return( mbedtls_internal_sha512_process( (mbedtls_sha512_context *) ctx,
sha512.c:297mbedtls_sha512_process()
mbedtls_internal_sha512_process( ctx, data );
sha512.c:331mbedtls_sha512_update_ret()
if( ( ret = mbedtls_internal_sha512_process( ctx, ctx->buffer ) ) != 0 )
sha512.c:341mbedtls_sha512_update_ret()
if( ( ret = mbedtls_internal_sha512_process( ctx, input ) ) != 0 )
sha512.c:393mbedtls_sha512_finish_ret()
if( ( ret = mbedtls_internal_sha512_process( ctx, ctx->buffer ) ) != 0 )
sha512.c:409mbedtls_sha512_finish_ret()
if( ( ret = mbedtls_internal_sha512_process( ctx, ctx->buffer ) ) != 0 )

Call Tree

Functions calling mbedtls_internal_sha512_process()
mbedtls_internal_sha512_process()
Data read by mbedtls_internal_sha512_process()
Data written by mbedtls_internal_sha512_process()
mbedtls_internal_sha512_process()::i
mbedtls_internal_sha512_process()::temp1
mbedtls_internal_sha512_process()::temp2
mbedtls_internal_sha512_process()::W
mbedtls_internal_sha512_process()::A
mbedtls_internal_sha512_process()::B
mbedtls_internal_sha512_process()::C
mbedtls_internal_sha512_process()::D
mbedtls_internal_sha512_process()::E
mbedtls_internal_sha512_process()::F
mbedtls_internal_sha512_process()::G
mbedtls_internal_sha512_process()::H
all items filtered out
mbedtls_internal_sha512_process()
mbedtls_internal_sha512_process()::i
mbedtls_internal_sha512_process()::temp1
mbedtls_internal_sha512_process()::temp2
mbedtls_internal_sha512_process()::A
mbedtls_internal_sha512_process()::B
mbedtls_internal_sha512_process()::C
mbedtls_internal_sha512_process()::D
mbedtls_internal_sha512_process()::E
mbedtls_internal_sha512_process()::F
mbedtls_internal_sha512_process()::G
mbedtls_internal_sha512_process()::H
all items filtered out
Type of mbedtls_internal_sha512_process()
mbedtls_internal_sha512_process()
uint64_t
all items filtered out