/
niceSOFT
/
libsolv
Обзор
Документация
Войти
/
niceSOFT
/
libsolv
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/md5.h
21 строка
648 B
Michael Schroeder
use size_t in solv_MD5_Update()
28 апр 2026, 15:21
Не верифицирован
28 апр 2026, 15:21
289d884
Код
Авторство
О чём код?
/* * This is an OpenSSL-compatible implementation of the RSA Data Security, * Inc. MD5 Message-Digest Algorithm. * * Written by Solar Designer <solar@openwall.com> in 2001, and placed in * the public domain. See md5.c for more information. */ /* Any 32-bit or wider unsigned integer data type will do */ typedef unsigned long MD5_u32plus; typedef struct { MD5_u32plus lo, hi; MD5_u32plus a, b, c, d; unsigned char buffer[64]; MD5_u32plus block[16]; } MD5_CTX; extern void solv_MD5_Init(MD5_CTX *ctx); extern void solv_MD5_Update(MD5_CTX *ctx, void *data, size_t size); extern void solv_MD5_Final(unsigned char *result, MD5_CTX *ctx);