| 1 | /* |
| 2 | * This is an OpenSSL-compatible implementation of the RSA Data Security, Inc. |
| 3 | * MD5 Message-Digest Algorithm (RFC 1321). |
| 4 | * |
| 5 | * Homepage: |
| 6 | * http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5 |
| 7 | * |
| 8 | * Author: |
| 9 | * Alexander Peslyak, better known as Solar Designer <solar at openwall.com> |
| 10 | * |
| 11 | * This software was written by Alexander Peslyak in 2001. No copyright is |
| 12 | * claimed, and the software is hereby placed in the public domain. |
| 13 | * In case this attempt to disclaim copyright and place the software in the |
| 14 | * public domain is deemed null and void, then the software is |
| 15 | * Copyright (c) 2001 Alexander Peslyak and it is hereby released to the |
| 16 | * general public under the following terms: |
| 17 | * |
| 18 | * Redistribution and use in source and binary forms, with or without |
| 19 | * modification, are permitted. |
| 20 | * |
| 21 | * There's ABSOLUTELY NO WARRANTY, express or implied. |
| 22 | * |
| 23 | * See md5.c for more information. |
| 24 | */ |
| 25 | |
| 26 | #ifndef _CRYPT_ALG_MD5_H |
| 27 | #define _CRYPT_ALG_MD5_Hcxx . . $ `lib/alg-md5.h:27:9`! 1 |
| 28 | |
| 29 | /* Any 32-bit or wider unsigned integer data type will do */ |
| 30 | typedef uint32_tcxx . . $ uint32_t# MD5_u32pluscxx . . $ MD5_u32plus#; |
| 31 | |
| 32 | typedef structcxx . . $ $anonymous_type_c24e6e208d6fc441_0# { |
| 33 | MD5_u32pluscxx . . $ MD5_u32plus# locxx . . $ $anonymous_type_c24e6e208d6fc441_0#lo., hicxx . . $ $anonymous_type_c24e6e208d6fc441_0#hi.; |
| 34 | MD5_u32pluscxx . . $ MD5_u32plus# acxx . . $ $anonymous_type_c24e6e208d6fc441_0#a., bcxx . . $ $anonymous_type_c24e6e208d6fc441_0#b., ccxx . . $ $anonymous_type_c24e6e208d6fc441_0#c., dcxx . . $ $anonymous_type_c24e6e208d6fc441_0#d.; |
| 35 | uint8_tcxx . . $ uint8_t# buffercxx . . $ $anonymous_type_c24e6e208d6fc441_0#buffer.[64]; |
| 36 | MD5_u32pluscxx . . $ MD5_u32plus# blockcxx . . $ $anonymous_type_c24e6e208d6fc441_0#block.[16]; |
| 37 | } MD5_CTXcxx . . $ MD5_CTX#; |
| 38 | |
| 39 | extern void MD5_Initcxx . . $ `lib/crypt-port.h:350:9`!(MD5_CTXcxx . . $ MD5_CTX# *ctx); |
| 40 | extern void MD5_Updatecxx . . $ `lib/crypt-port.h:351:9`!(MD5_CTXcxx . . $ MD5_CTX# *ctx, const void *data, size_t size); |
| 41 | extern void MD5_Finalcxx . . $ `lib/crypt-port.h:352:9`!(uint8_tcxx . . $ uint8_t# result[16], MD5_CTXcxx . . $ MD5_CTX# *ctx); |
| 42 | |
| 43 | #endif /* alg-md5.h */ |