---
name: "crypto_shash_update"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/crypto_shash_update"
---

# crypto\_shash\_update(9)

add data to message digest for processing

## NAME

crypto\_shash\_update - add data to message digest for processing

## SYNOPSIS

**int crypto\_shash\_update(struct shash\_desc \*** *desc***, const u8 \*** *data***, unsigned int** *len***);**

## ARGUMENTS

*desc*

operational state handle that is already initialized

*data*

input data to be added to the message digest

*len*

length of the input data

## DESCRIPTION

Updates the message digest state of the operational state handle.

## RETURN

0 if the message digest update was successful; \< 0 if an error occurred

## AUTHORS

**Stephan Mueller** \<smueller@chronox.de\>

Author.

**Marek Vasut** \<marek@denx.de\>

Author.

## COPYRIGHT
