push other necessary state into stack
()
| 176 | |
| 177 | /// push other necessary state into stack |
| 178 | pub fn sha256_k() -> Vec<Script> { |
| 179 | let mut state: [u32; 64] = K; |
| 180 | state.reverse(); |
| 181 | state.iter().map(|x: &u32| u32_push(*x)).collect::<Vec<_>>() |
| 182 | } |
| 183 | |
| 184 | /// sha256 transform |
| 185 | /// input: [m[15], m[14], ..., m[0], state[7], state[6], ..., state[0]] |
nothing calls this directly
no test coverage detected