main
1//go:build !noasm && gc && amd64
2// +build !noasm,gc,amd64
3
4package ubc
5
6func CalculateDvMaskAMD64(W [80]uint32) uint32
7
8// Check takes as input an expanded message block and verifies the unavoidable bitconditions
9// for all listed DVs. It returns a dvmask where each bit belonging to a DV is set if all
10// unavoidable bitconditions for that DV have been met.
11// Thus, one needs to do the recompression check for each DV that has its bit set.
12func CalculateDvMask(W [80]uint32) uint32 {
13 return CalculateDvMaskAMD64(W)
14}