Commit 1fc74895 authored by chiaming2000's avatar chiaming2000
Browse files

Added support for both CRC32 and CRC32C.

parent f400a537
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ option java_outer_classname = "Kinetic";
// the protocol version number by building this message
// and then reading the value.
message Local {
	optional string protocolVersion = 1 [default = "3.0.6"];
	optional string protocolVersion = 1 [default = "3.0.7"];
}

// THe message is an authorization and command bytes.
@@ -678,8 +678,9 @@ message Command {
		SHA1 = 1; // see NIST
		SHA2 = 2; // see NIST
		SHA3 = 3; // see NIST. The length of the tag determined the length of the hash
		CRC32 = 4; // the CRC32 is the standard Ethernet CRC32. See IEEE
		CRC64 = 5; // The CRC is ...
		CRC32C = 4; // CRC32C
		CRC64 = 5; // CRC64
		CRC32 = 6; // the CRC32 is the standard Ethernet CRC32. See IEEE
		// 7-99 are reserved.
		// 100-inf are private algorithms.
	}