---
name: "crypto_shash_init"
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_init"
---

# crypto\_shash\_init(9)

(re)initialize message digest

## NAME

crypto\_shash\_init - (re)initialize message digest

## SYNOPSIS

**int crypto\_shash\_init(struct shash\_desc \*** *desc***);**

## ARGUMENTS

*desc*

operational state handle that is already filled

## DESCRIPTION

The call (re-)initializes the message digest referenced by the operational state handle. Any potentially existing state created by previous operations is discarded.

## RETURN

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

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
