summaryrefslogtreecommitdiff
path: root/src/hash/crc32/crc32_generic.go
blob: 6f597f556b30bf0a25282c55b832b916b2cf9c4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build 386 arm ppc64 ppc64le

package crc32

// The file contains the generic version of updateCastagnoli which just calls
// the software implementation.

func updateCastagnoli(crc uint32, p []byte) uint32 {
	return update(crc, castagnoliTable, p)
}