Searched refs:hd2num (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c951 #define hd2num(hd) (((hd) >= '0' && (hd) <= '9') ? ((hd) - '0') : \ macro
1014 *keyp = (hd2num(input[i]) << 4);
1016 *keyp |= hd2num(input[i + 1]);
H A Dipseckey.c818 #define hd2num(hd) (((hd) >= '0' && (hd) <= '9') ? ((hd) - '0') : \ macro
904 *key = (hd2num(input[i]) << 4);
906 *key |= hd2num(input[i + 1]);

Completed in 55 milliseconds