Annotation of pgp/rsaref/source/md2.h, revision 1.1.1.1

1.1       root        1: /* MD2.H - header file for MD2C.C
                      2:  */
                      3: 
                      4: /* Copyright (C) 1990-2, RSA Data Security, Inc. Created 1990. All
                      5:    rights reserved.
                      6: 
                      7:    License to copy and use this software is granted for
                      8:    non-commercial Internet Privacy-Enhanced Mail provided that it is
                      9:    identified as the "RSA Data Security, Inc. MD2 Message Digest
                     10:    Algorithm" in all material mentioning or referencing this software
                     11:    or this function.
                     12: 
                     13:    RSA Data Security, Inc. makes no representations concerning either
                     14:    the merchantability of this software or the suitability of this
                     15:    software for any particular purpose. It is provided "as is"
                     16:    without express or implied warranty of any kind.
                     17: 
                     18:    These notices must be retained in any copies of any part of this
                     19:    documentation and/or software.  
                     20:  */
                     21: 
                     22: #ifndef _MD2_H_
                     23: #define _MD2_H_ 1
                     24: 
                     25: #ifdef __cplusplus
                     26: extern "C" {
                     27: #endif
                     28: 
                     29: typedef struct {
                     30:   unsigned char state[16];                                 /* state */
                     31:   unsigned char checksum[16];                           /* checksum */
                     32:   unsigned int count;                 /* number of bytes, modulo 16 */
                     33:   unsigned char buffer[16];                         /* input buffer */
                     34: } MD2_CTX;
                     35: 
                     36: void MD2Init PROTO_LIST ((MD2_CTX *));
                     37: void MD2Update PROTO_LIST
                     38:   ((MD2_CTX *, unsigned char *, unsigned int));
                     39: void MD2Final PROTO_LIST ((unsigned char [16], MD2_CTX *));
                     40: 
                     41: #ifdef __cplusplus
                     42: }
                     43: #endif
                     44: 
                     45: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.