package gcm
import (
_
)
func () {
fips140.CAST("CounterKDF", func() error {
:= []byte{
0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,
0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10,
}
:= [12]byte{
0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28,
0x29, 0x2a, 0x2b, 0x2c,
}
:= [32]byte{
0xe6, 0x86, 0x96, 0x97, 0x08, 0xfc, 0x90, 0x30,
0x36, 0x1c, 0x65, 0x94, 0xb2, 0x62, 0xa5, 0xf7,
0xcb, 0x9d, 0x93, 0x94, 0xda, 0xf1, 0x94, 0x09,
0x6a, 0x27, 0x5e, 0x85, 0x22, 0x5e, 0x7a, 0xee,
}
, := aes.New()
if != nil {
return
}
:= NewCounterKDF().DeriveKey(0xFF, )
if != {
return errors.New("unexpected result")
}
return nil
})
}