Skip to content
Snippets Groups Projects
Select Git revision
  • 398f003182a6edebbc4a98c63b2a83a29ae31f0f
  • master default protected
2 results

generate-reference-output.c

Blame
  • generate-reference-output.c 368 B
    /*
     * Copyright (c) 2018-2020, University of Southampton.
     * All rights reserved.
     *
     * SPDX-License-Identifier: BSD-3-Clause
     */
    
    #include <stdint.h>
    #include <stdio.h>
    
    #define NOLIBIC
    #include "crc.h"
    
    #define MMDATA
    #include "lipsum.h"
    
    typedef unsigned char u8;
    
    int main(int argc, char **argv) {
        printf("%08x\n", (unsigned)crc32buf(input, sizeof(input)));
    }