crc32_generic.go 400 B

123456789101112131415
  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. // +build 386 arm
  5. package crc32
  6. // The file contains the generic version of updateCastagnoli which just calls
  7. // the software implementation.
  8. func updateCastagnoli(crc uint32, p []byte) uint32 {
  9. return update(crc, castagnoliTable, p)
  10. }