[#SHA512state_st]
= SHA512state&lowbar;st
:mrdocs:

Incremental SHA&hyphen;384 &sol; SHA&hyphen;512 digest state (also typedef&apos;d as SHA512&lowbar;CTX)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct SHA512state&lowbar;st;
----

== Types

[cols="1,4"]
|===
| Name| Description
| xref:SHA512state_st/_01record.adoc[`Unnamed union`] 
| Current message block viewed as 64&hyphen;bit words (`d)` or bytes (`p)&period;`
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:SHA512state_st/Nh.adoc[`Nh`] 
| High 64 bits of the bit&hyphen;length counter&period;
| xref:SHA512state_st/Nl.adoc[`Nl`] 
| Low 64 bits of the bit&hyphen;length counter&period;
| xref:SHA512state_st/h.adoc[`h`] 
| Working hash state H0&period;&period;H7 (eight 64&hyphen;bit words)&period;
| xref:SHA512state_st/md_len.adoc[`md&lowbar;len`] 
| Digest output length in bytes (SHA384&lowbar;DIGEST&lowbar;LENGTH or SHA512&lowbar;DIGEST&lowbar;LENGTH)&period;
| xref:SHA512state_st/num.adoc[`num`] 
| Number of bytes currently buffered in u&period;p toward a full block&period;
| xref:SHA512state_st/u.adoc[`u`] 
| Current message block viewed as 64&hyphen;bit words (`d)` or bytes (`p)&period;`
|===



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