def ghash_field_xor_if.all

qasim-bend-kit@0.1.0.2 · libs/AES256GCMCore.bend:372

import qasim-bend-kit@0.1.0.2/libs/AES256GCMCore.bend as AES256GCMCore
import Base

372def ghash_field_xor_if.all(a: GhashField, b: GhashField, +yes: Bool) -> GhashField:
373    match a b:
374        case GhashField{a0, a1, a2, a3} GhashField{b0, b1, b2, b3}:
375            GhashField{ghash_field_xor_if(a0, b0, yes), ghash_field_xor_if(a1, b1, yes),
376                ghash_field_xor_if(a2, b2, yes), ghash_field_xor_if(a3, b3, yes)}

Uses (3)

Used by (1)