sha1: Add functions, macros for converting digests to and from strings.
authorBen Pfaff <blp@nicira.com>
Wed, 4 Nov 2009 23:12:54 +0000 (15:12 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 4 Nov 2009 23:24:40 +0000 (15:24 -0800)
commite7f1bf58e44a3449ba6dcf637a51191006bd2324
treef78774467343fa23961fece9082336ae27e4c47d
parent0611aea043269d0e3dad7090b590b196aa378382
sha1: Add functions, macros for converting digests to and from strings.

These will be used in the upcoming OVSDB.

The SHA1_FMT and SHA1_ARGS macros are arguably absurd, but they are
also convenient.
lib/sha1.c
lib/sha1.h