Searched refs:MACBits (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/util/fipstools/acvp/acvptool/subprocess/ |
D | keyedMac.go | 36 MACBits uint32 `json:"macLen"` member 76 if group.MACBits%8 != 0 { 90 outputBytes := uint32le(group.MACBits / 8) 108 if macBits := uint32(len(test.MACHex)) * 4; macBits != group.MACBits { 109 …tains MAC of length %d bits, but expected %d-bit value", group.ID, test.ID, macBits, group.MACBits) 131 if len(calculatedMAC) != int(group.MACBits/8) { 141 if 8*len(expectedMAC) != int(group.MACBits) { 142 …ex in test case %d/%d is %x, but should be %d bits", group.ID, test.ID, expectedMAC, group.MACBits)
|
D | hmac.go | 36 MACBits int `json:"macLen"` // maximum possible value is 512 member 93 if group.MACBits > h.mdLen*8 { 94 …es MAC length should be %d, but maximum possible length is %d", group.ID, group.MACBits, h.mdLen*8) 117 MACHex: hex.EncodeToString(h.hmac(msg, key, group.MACBits, m)),
|