Home
last modified time | relevance | path

Searched refs:KeyBits (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/util/fipstools/acvp/acvptool/subprocess/
DkeyedMac.go35 KeyBits uint32 `json:"keyLen"` member
70 if group.KeyBits%8 != 0 {
71 … fmt.Errorf("%d bit key in test group %d: fractional bytes not supported", group.KeyBits, group.ID)
74 ….Errorf("%d bit message in test group %d: fractional bytes not supported", group.KeyBits, group.ID)
77 … fmt.Errorf("%d bit MAC in test group %d: fractional bytes not supported", group.KeyBits, group.ID)
96 if keyBits := uint32(len(test.KeyHex)) * 4; keyBits != group.KeyBits {
97 …tains key of length %d bits, but expected %d-bit value", group.ID, test.ID, keyBits, group.KeyBits)
Daead.go38 KeyBits int `json:"keyLen"` member
94 if group.KeyBits%8 != 0 || group.KeyBits < 0 {
95 … nil, fmt.Errorf("test group %d contains non-byte-multiple key length %d", group.ID, group.KeyBits)
97 keyBytes := group.KeyBits / 8
106 …ngth %d, but expected %d-bit key", group.ID, test.ID, test.KeyHex, len(test.KeyHex), group.KeyBits)
Dblock.go251 KeyBits int `json:"keylen"` member
334 if group.KeyBits == 0 {
336 group.KeyBits = 192
339 if group.KeyBits%8 != 0 {
340 … nil, fmt.Errorf("test group %d contains non-byte-multiple key length %d", group.ID, group.KeyBits)
342 keyBytes := group.KeyBits / 8
355 …ngth %d, but expected %d-bit key", group.ID, test.ID, test.KeyHex, len(test.KeyHex), group.KeyBits)
Dhmac.go35 KeyBits int `json:"keyLen"` // maximum possible value is 524288 member
106 if len(test.KeyHex)*4 != group.KeyBits {
107 …of length %d but specifies a bit length of %d", group.ID, test.ID, len(test.KeyHex), group.KeyBits)