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