Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/can/
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 …]
/linux-6.1.9/crypto/asymmetric_keys/
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()
Dasymmetric_keys.h14 size_t hexlen);
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()