Home
last modified time | relevance | path

Searched refs:hex_string (Results 1 – 6 of 6) sorted by relevance

/openbmc/libcper/
H A Dcper-utils.c470 size_t hex_string_to_bytes(const char *hex_string, size_t hex_string_len, in cper_printable_string_length()
473 if (hex_string == NULL || bytes == NULL) { in cper_printable_string_length()
480 char c = hex_string[index]; in cper_printable_string_length()
612 const char *hex_string = json_object_get_string(value); in get_value_hex_8()
613 if (!hex_string) { in get_value_hex_8()
617 size_t hex_string_len = strlen(hex_string); in get_value_hex_32()
621 if (hex_string[0] != '0' || hex_string[1] != 'x') { in get_value_hex_32()
625 if (hex_string_to_bytes(hex_string + 2, hex_string_len - 2, &byte, 1) != in get_value_hex_32()
640 const char *hex_string in get_value_hex_32()
488 hex_string_to_bytes(const char * hex_string,size_t hex_string_len,UINT8 * bytes,size_t bytes_len) hex_string_to_bytes() argument
596 const char *hex_string = json_object_get_string(value); get_value_hex_8() local
624 const char *hex_string = json_object_get_string(value); get_value_hex_32() local
652 const char *hex_string = json_object_get_string(value); get_value_hex_64() local
[all...]
/openbmc/qemu/tests/unit/
H A Dtest-crypto-afsplit.c115 static char *hex_string(const uint8_t *bytes, in hex_string() function
149 expect = hex_string(data->key, data->blocklen); in test_afsplit()
150 actual = hex_string(key, data->blocklen); in test_afsplit()
166 expect = hex_string(data->key, data->blocklen); in test_afsplit()
167 actual = hex_string(key, data->blocklen); in test_afsplit()
H A Dtest-crypto-pbkdf.c372 static char *hex_string(const uint8_t *bytes, in hex_string() function
401 expect = hex_string((const uint8_t *)data->out, data->nout); in test_pbkdf()
402 actual = hex_string(out, nout); in test_pbkdf()
H A Dtest-crypto-cipher.c634 static char *hex_string(const uint8_t *bytes, in hex_string() function
713 outtexthex = hex_string(outtext, nciphertext); in test_cipher()
730 outtexthex = hex_string(outtext, nplaintext); in test_cipher()
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dnic-power-fault59 hex_string=$1
/openbmc/libcper/include/libcper/
H A Dcper-utils.h67 size_t hex_string_to_bytes(const char *hex_string, size_t hex_string_len,