Searched refs:hex_str (Results 1 – 3 of 3) sorted by relevance
33 int crypt_dump_hex_string(const char *hex_str, char **ret_dump_str) { in crypt_dump_hex_string() argument39 assert(hex_str); in crypt_dump_hex_string()42 len = strlen(hex_str) >> 1; in crypt_dump_hex_string()50 "%.2s", hex_str + (i<<1)); in crypt_dump_hex_string()
38 int crypt_dump_hex_string(const char *hex_str, char **ret_dump_str);
62 static const char hex_str[]="0123456789abcdef"; variable487 serial[0] = hex_str[id_search->id_type]; in check_fill_0x83_id()513 serial[j++] = hex_str[(page_83[i] & 0xf0) >> 4]; in check_fill_0x83_id()514 serial[j++] = hex_str[page_83[i] & 0x0f]; in check_fill_0x83_id()537 serial[0] = hex_str[SCSI_ID_NAA]; in check_fill_0x83_prespc3()542 serial[j++] = hex_str[(page_83[4+i] & 0xf0) >> 4]; in check_fill_0x83_prespc3()543 serial[j++] = hex_str[ page_83[4+i] & 0x0f]; in check_fill_0x83_prespc3()679 serial[0] = hex_str[SCSI_ID_NAA]; in do_scsi_page83_prespc3_inquiry()691 serial[j++] = hex_str[(page_83[i] & 0xf0) >> 4]; in do_scsi_page83_prespc3_inquiry()692 serial[j++] = hex_str[page_83[i] & 0x0f]; in do_scsi_page83_prespc3_inquiry()