MCPcopy Create free account
hub / github.com/ElementsProject/elements / simplicity_sha256_confNonce

Function simplicity_sha256_confNonce

src/simplicity/elements/ops.c:36–38  ·  view source on GitHub ↗

Add an 'confidential' nonce to be consumed by an ongoing SHA-256 evaluation. * * Precondition: NULL != ctx; * NULL != nonce; */

Source from the content-addressed store, hash-verified

34 * NULL != nonce;
35 */
36void simplicity_sha256_confNonce(sha256_context* ctx, const confidential* nonce) {
37 simplicity_sha256_confidential(0x02, 0x03, ctx, nonce);
38}
39
40/* Add an 'confidential' amount to be consumed by an ongoing SHA-256 evaluation.
41 *

Callers 2

simplicity_output_hashFunction · 0.85

Calls 1

Tested by

no test coverage detected