Home
last modified time | relevance | path

Searched refs:hexlen (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/can/
H A Dcan327.c395 int hexlen; in can327_parse_frame() local
410 for (hexlen = 0; hexlen <= len; hexlen++) { in can327_parse_frame()
411 if (hex_to_bin(elm->rxbuf[hexlen]) < 0 && in can327_parse_frame()
412 elm->rxbuf[hexlen] != ' ') { in can327_parse_frame()
420 if (hexlen < len && !isdigit(elm->rxbuf[hexlen]) && in can327_parse_frame()
421 !isupper(elm->rxbuf[hexlen]) && '<' != elm->rxbuf[hexlen] && in can327_parse_frame()
422 ' ' != elm->rxbuf[hexlen]) { in can327_parse_frame()
449 if (hexlen < datastart) { in can327_parse_frame()
481 if (elm->rxfill >= hexlen + 3 && in can327_parse_frame()
482 !memcmp(&elm->rxbuf[hexlen], "RTR", 3)) { in can327_parse_frame()
[all …]
/openbmc/linux/crypto/asymmetric_keys/
H A Drestrict.c31 size_t hexlen = (strlen(str) - 3) / 2; in ca_keys_setup() local
34 if (hexlen == 0 || hexlen > sizeof(cakey.data)) { in ca_keys_setup()
39 ret = __asymmetric_key_hex_to_key_id(str + 3, p, hexlen); in ca_keys_setup()
H A Dasymmetric_keys.h14 size_t hexlen);
H A Dasymmetric_type.c225 size_t hexlen) in __asymmetric_key_hex_to_key_id() argument
227 match_id->len = hexlen; in __asymmetric_key_hex_to_key_id()
228 return hex2bin(match_id->data, id, hexlen); in __asymmetric_key_hex_to_key_id()