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

Function simplicity_sha256_confAsset

src/simplicity/elements/ops.c:27–29  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

25 * NULL != asset;
26 */
27void simplicity_sha256_confAsset(sha256_context* ctx, const confidential* asset) {
28 simplicity_sha256_confidential(0x0a, 0x0b, ctx, asset);
29}
30
31/* Add an 'confidential' nonce to be consumed by an ongoing SHA-256 evaluation.
32 *

Callers 4

simplicity_output_hashFunction · 0.85
simplicity_issuance_hashFunction · 0.85

Calls 1

Tested by

no test coverage detected