diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2008-04-04 13:16:33 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-04-04 13:16:33 +0000 |
commit | 1bee6f9b9c456854feff78a72d7ac3fb915454af (patch) | |
tree | 448492c1ffb708629bdb4a82295c906525dbac59 /payloads/coreinfo/pci_module.c | |
parent | 3995593b6861e62b6a97207d5d6e28385be229bf (diff) |
Add BIN2HEX and HEX2BIN macros (trivial).
They're generally useful for lots of stuff, but especially for converting
to/from the compact 160 bit (20 byte) representation of SHA-1 hashes to
the "hex" representation (same as 'sha1sum' output), which is 40 bytes long.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3213 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/coreinfo/pci_module.c')
0 files changed, 0 insertions, 0 deletions