Initialise a SHA‐256 digest context (deprecated; prefer EVP_DigestInit_ex).

Synopsis

Declared in <openssl/sha.h>

[[deprecated]]
int
SHA256_Init(SHA256_CTX* c);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

c

Context to initialise.

Created with MrDocs