def choose

mylsm-lsm-store@0.6.0.1 · src/hub_sha/core.bend:48

import mylsm-lsm-store@0.6.0.1/src/hub_sha/core.bend as Core
import Base

48# Handle choose in the SHA-256 compression implementation.
49def choose(+word_x: U32, word_y: U32, word_z: U32) -> U32:
50  ((word_x .&. word_y) .^. (U32.not(word_x) .&. word_z) : U32)

Uses (4)

Used by (1)