libcommon: add bin2hex and tmp2_get_hexname

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2 files changed