diff options
Diffstat (limited to 'rlz/lib/crc8.h')
-rw-r--r-- | rlz/lib/crc8.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/rlz/lib/crc8.h b/rlz/lib/crc8.h deleted file mode 100644 index 6c3c848..0000000 --- a/rlz/lib/crc8.h +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// Crc8 utility functions. - -#ifndef RLZ_LIB_CRC8_H_ -#define RLZ_LIB_CRC8_H_ - -namespace rlz_lib { -// CRC-8 methods: -class Crc8 { - public: - static bool Generate(const unsigned char* data, - int length, - unsigned char* check_sum); - static bool Verify(const unsigned char* data, - int length, - unsigned char checksum, - bool * matches); -}; -}; // namespace rlz_lib - -#endif // RLZ_LIB_CRC8_H_ |