SHA1_Update

Absorb len bytes at data into a SHA-1 context (deprecated; prefer EVP_DigestUpdate).

Synopsis

Declared in <openssl/sha.h>

[[deprecated]]
int
SHA1_Update(
    SHA_CTX* c,
    void const* data,
    size_t len);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
cContext previously initialized with SHA1_Init().
dataMessage bytes to hash.
lenNumber of bytes at data.