ANSI C hexstrtobyte() implementation if not available natively on a given platform. Used in sample programs to convert a hex string to an array of byte values.