[#SHA1_Update]
= SHA1&lowbar;Update
:mrdocs:

Absorb `len` bytes at `data` into a SHA&hyphen;1 context (deprecated&semi; prefer EVP&lowbar;DigestUpdate)&period;

== Synopsis

Declared in `&lt;openssl&sol;sha&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
SHA1&lowbar;Update(
    xref:SHA_CTX.adoc[SHA&lowbar;CTX]* c,
    void const* data,
    size&lowbar;t len);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *c*
| Context previously initialized with SHA1&lowbar;Init()&period;
| *data*
| Message bytes to hash&period;
| *len*
| Number of bytes at `data&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
