github.com/akaros/go-akaros@v0.0.0-20181004170632-85005d477eab/src/cmd/gc/md5.h (about)

     1  // Copyright 2009 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  
     5  typedef struct MD5 MD5;
     6  struct MD5
     7  {
     8  	uint32 s[4];
     9  	uchar x[64];
    10  	int nx;
    11  	uint64 len;
    12  };
    13  
    14  void md5reset(MD5*);
    15  void md5write(MD5*, uchar*, int);
    16  uint64 md5sum(MD5*, uint64*);