Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(542)

Side by Side Diff: third_party/freetype/src/base/md5.h

Issue 815103002: Update freetype to 2.5.4. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Adjust GYP and GN Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/freetype/src/base/ftxf86.c ('k') | third_party/freetype/src/base/md5.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This is an OpenSSL-compatible implementation of the RSA Data Security, Inc. 2 * This is an OpenSSL-compatible implementation of the RSA Data Security, Inc.
3 * MD5 Message-Digest Algorithm (RFC 1321). 3 * MD5 Message-Digest Algorithm (RFC 1321).
4 * 4 *
5 * Homepage: 5 * Homepage:
6 * http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5 6 * http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5
7 * 7 *
8 * Author: 8 * Author:
9 * Alexander Peslyak, better known as Solar Designer <solar at openwall.com> 9 * Alexander Peslyak, better known as Solar Designer <solar at openwall.com>
10 * 10 *
(...skipping 21 matching lines...) Expand all
32 typedef unsigned int MD5_u32plus; 32 typedef unsigned int MD5_u32plus;
33 33
34 typedef struct { 34 typedef struct {
35 MD5_u32plus lo, hi; 35 MD5_u32plus lo, hi;
36 MD5_u32plus a, b, c, d; 36 MD5_u32plus a, b, c, d;
37 unsigned char buffer[64]; 37 unsigned char buffer[64];
38 MD5_u32plus block[16]; 38 MD5_u32plus block[16];
39 } MD5_CTX; 39 } MD5_CTX;
40 40
41 extern void MD5_Init(MD5_CTX *ctx); 41 extern void MD5_Init(MD5_CTX *ctx);
42 extern void MD5_Update(MD5_CTX *ctx, void *data, unsigned long size); 42 extern void MD5_Update(MD5_CTX *ctx, const void *data, unsigned long size);
43 extern void MD5_Final(unsigned char *result, MD5_CTX *ctx); 43 extern void MD5_Final(unsigned char *result, MD5_CTX *ctx);
44 44
45 #endif 45 #endif
OLDNEW
« no previous file with comments | « third_party/freetype/src/base/ftxf86.c ('k') | third_party/freetype/src/base/md5.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698