[#SignatureCache-ComputeEntryECDSA]
= xref:SignatureCache.adoc[SignatureCache]::ComputeEntryECDSA
:relfileprefix: ../
:mrdocs:

Compute the cache entry for an ECDSA signature check&period;

== Synopsis

Declared in `&lt;script&sol;sigcache&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
ComputeEntryECDSA(
    xref:uint256.adoc[uint256]& entry,
    xref:uint256.adoc[uint256] const& hash,
    std::vector&lt;unsigned char&gt; const& vchSig,
    xref:CPubKey.adoc[CPubKey] const& pubkey) const;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *entry*
| Output cache entry (salted hash of the inputs)&period;
| *hash*
| The signature hash that was signed&period;
| *vchSig*
| The ECDSA signature bytes&period;
| *pubkey*
| The public key the signature is checked against&period;
|===


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