def aes_expand_key
import qasim-bend-kit@0.1.0.2/libs/AES256GCMCore.bend as AES256GCMCoreimport Base
113# An abstract key remains neutral. The explicit fuel parameter also lets
114# computation certificates compose without unfolding all 52 expansion steps.
115def aes_expand_key(+fuel: Nat, +key: List<&2, U32>) -> List<&2, U32>:
116 match key:
117 case Nil{}: aes_expand.go(fuel, 8, 1, aes_words(key))
118 case head <> tail: aes_expand.go(fuel, 8, 1, aes_words(key))