summaryrefslogtreecommitdiff
path: root/src/hash/crc32/crc32_generic.go
blob: 1c7f806c605652547314d9404b32ae26e78da275 (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 power64 power64le

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)
}