sha_256_ctx_8_init : ONE |- CTX8 * where * CTX8 = (TWO^8)^<64 * TWO^64 * TWO^256 */
| 1231 | * CTX8 = (TWO^8)^<64 * TWO^64 * TWO^256 |
| 1232 | */ |
| 1233 | bool simplicity_sha_256_ctx_8_init(frameItem* dst, frameItem src, const txEnv* env) { |
| 1234 | (void) env; /* env is unused. */ |
| 1235 | (void) src; /* env is unused. */ |
| 1236 | |
| 1237 | uint32_t iv[8]; |
| 1238 | sha256_context ctx = sha256_init(iv); |
| 1239 | |
| 1240 | return simplicity_write_sha256_context(dst, &ctx); |
| 1241 | } |
| 1242 | |
| 1243 | /* sha_256_ctx_8_add_n : CTX8 * (TWO^8)^n |- CTX8 |
| 1244 | * where |
nothing calls this directly
no test coverage detected