CRC Implementation Code in C.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>