Add an 'confidential' asset to be consumed by an ongoing SHA-256 evaluation. * * Precondition: NULL != ctx; * NULL != asset; */
| 25 | * NULL != asset; |
| 26 | */ |
| 27 | void 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 | * |
no test coverage detected