OSDN Git Service

Update Go library to r60.
[pf3gnuchains/gcc-fork.git] / libgo / go / hash / crc32 / crc32_generic.go
1 // Copyright 2011 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package crc32
6
7 // The file contains the generic version of updateCastagnoli which just calls
8 // the software implementation.
9
10 func updateCastagnoli(crc uint32, p []byte) uint32 {
11         return update(crc, castagnoliTable, p)
12 }