[vlc-devel] [PATCH v4 00/14] New MD5 API

Marvin Scholz epirat07 at gmail.com
Wed Apr 15 13:35:15 CEST 2020


- Added a convenience macro that can do the hash
  finishing and return hex in a way not tied to
  a specific hash algo API, in case we add others.
- Removed the vlc_hash_md5_Init call in vlc_hash_md5_Finish

Marvin Scholz (14):
  strings: add function to hex-encode binary data
  src: add cleaner md5 API
  test: md5: update test to use new md5 hash API
  src: http_auth: use new md5 API
  audioscrobbler: use new md5 API
  stats: use new md5 API
  lua: sd: use new md5 API
  rand: use new md5 API
  rand: simplify
  input: use new md5 API
  preparser: art: use new md5 API
  test_input_stream: use new md5 API
  src: remove old md5 API
  check_symbols: Remove MD5 exception

 include/vlc_common.h          |   2 +-
 include/vlc_hash.h            | 147 ++++++++++++++++++++++++++++++++++
 include/vlc_md5.h             |  59 --------------
 include/vlc_strings.h         |  12 +++
 modules/lua/libs/sd.c         |  17 ++--
 modules/misc/audioscrobbler.c |  38 +++------
 modules/stream_out/stats.c    |  25 +++---
 po/POTFILES.in                |   1 -
 src/Makefile.am               |   2 +-
 src/check_symbols             |   2 +-
 src/input/input.c             |  14 ++--
 src/libvlccore.sym            |   7 +-
 src/misc/md5.c                |  18 +++--
 src/network/http_auth.c       | 137 ++++++++++++++-----------------
 src/posix/rand.c              |  32 ++++----
 src/preparser/art.c           |  16 ++--
 src/test/md5.c                |  14 ++--
 src/text/strings.c            |  10 +++
 test/src/input/stream.c       |  16 ++--
 19 files changed, 324 insertions(+), 245 deletions(-)
 create mode 100644 include/vlc_hash.h
 delete mode 100644 include/vlc_md5.h

-- 
2.24.1 (Apple Git-126)



More information about the vlc-devel mailing list