Back to home page

Nginx displayed by LXR

Source navigation ]
Diff markup ]
Identifier search ]
general search ]
 
 
Version: nginx-1.13.12 ]​[ nginx-1.12.2 ]​

0001 
0002 /*
0003  * Copyright (C) Igor Sysoev
0004  * Copyright (C) Nginx, Inc.
0005  */
0006 
0007 
0008 #ifndef _NGX_MD5_H_INCLUDED_
0009 #define _NGX_MD5_H_INCLUDED_
0010 
0011 
0012 #include <ngx_config.h>
0013 #include <ngx_core.h>
0014 
0015 
0016 typedef struct {
0017     uint64_t  bytes;
0018     uint32_t  a, b, c, d;
0019     u_char    buffer[64];
0020 } ngx_md5_t;
0021 
0022 
0023 void ngx_md5_init(ngx_md5_t *ctx);
0024 void ngx_md5_update(ngx_md5_t *ctx, const void *data, size_t size);
0025 void ngx_md5_final(u_char result[16], ngx_md5_t *ctx);
0026 
0027 
0028 #endif /* _NGX_MD5_H_INCLUDED_ */