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