git: kern: Further clean up md5c.c and <sys/md5.h>

Aaron LI aly at crater.dragonflybsd.org
Tue Oct 13 04:50:41 PDT 2026


commit 800dd614640a61d7210f6d23cad7964797d09f22
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Oct 13 13:45:03 2026 +0800

    kern: Further clean up md5c.c and <sys/md5.h>
    
    * No need to rename MD5Transform() and MD5Pad() to avoid libmd conflict,
      because libmd has been removed in 2019.
    * Use explicit_bzero() to zero sensitive 'x'.
    * Remove unnecessary casts.
    * Use standard 'uint32_t' instead of 'u_int32_t'.
    * Remove obsolete code and comment from <sys/md5.h>.

Summary of changes:
 sys/kern/md5c.c | 50 ++++++++++++++++++++++++--------------------------
 sys/sys/md5.h   | 18 +++---------------
 2 files changed, 27 insertions(+), 41 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/800dd614640a61d7210f6d23cad7964797d09f22


-- 
DragonFly BSD source repository


More information about the Commits mailing list