1
0
mirror of https://github.com/fumiama/simple-crypto.git synced 2026-06-19 12:50:24 +08:00

md5 reduce malloc

This commit is contained in:
源文雨
2022-04-04 15:25:55 +08:00
parent 634b4c1426
commit 740276005f
2 changed files with 3 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
// ---------------MD5 area---------------
// return 128bit(16bytes) digest
uint8_t* md5(const uint8_t *data, size_t data_len);
uint8_t* md5(const uint8_t *data, size_t data_len, uint8_t digest[16]);
// ---------------MD5 area---------------