• Home
  • Raw
  • Download

Lines Matching refs:hex_string

1163     char hex_string[(size) * 2 + 1];  in ifapi_json_TPMU_HA_serialize()  local
1165 sprintf(&hex_string[off], "%02x", buffer[i]); in ifapi_json_TPMU_HA_serialize()
1166 hex_string[(size) * 2] = '\0'; in ifapi_json_TPMU_HA_serialize()
1167 *jso = json_object_new_string(hex_string); in ifapi_json_TPMU_HA_serialize()
1225 char hex_string[((size_t)in->size)*2+1]; in ifapi_json_TPM2B_DIGEST_serialize() local
1228 sprintf(&hex_string[off], "%02x", in->buffer[i]); in ifapi_json_TPM2B_DIGEST_serialize()
1229 hex_string[(in->size)*2] = '\0'; in ifapi_json_TPM2B_DIGEST_serialize()
1230 *jso = json_object_new_string (hex_string); in ifapi_json_TPM2B_DIGEST_serialize()
1255 char hex_string[sizeof(TPMT_HA)*2+1]; in ifapi_json_TPM2B_DATA_serialize() local
1258 sprintf(&hex_string[off], "%02x", in->buffer[i]); in ifapi_json_TPM2B_DATA_serialize()
1259 hex_string[(in->size)*2] = '\0'; in ifapi_json_TPM2B_DATA_serialize()
1260 *jso = json_object_new_string (hex_string); in ifapi_json_TPM2B_DATA_serialize()
1315 char hex_string[((size_t)in->size)*2+1]; in ifapi_json_TPM2B_EVENT_serialize() local
1318 sprintf(&hex_string[off], "%02x", in->buffer[i]); in ifapi_json_TPM2B_EVENT_serialize()
1319 hex_string[(in->size)*2] = '\0'; in ifapi_json_TPM2B_EVENT_serialize()
1320 *jso = json_object_new_string (hex_string); in ifapi_json_TPM2B_EVENT_serialize()
1345 char hex_string[((size_t)in->size)*2+1]; in ifapi_json_TPM2B_MAX_NV_BUFFER_serialize() local
1348 sprintf(&hex_string[off], "%02x", in->buffer[i]); in ifapi_json_TPM2B_MAX_NV_BUFFER_serialize()
1349 hex_string[(in->size)*2] = '\0'; in ifapi_json_TPM2B_MAX_NV_BUFFER_serialize()
1350 *jso = json_object_new_string (hex_string); in ifapi_json_TPM2B_MAX_NV_BUFFER_serialize()
1375 char hex_string[((size_t)in->size)*2+1]; in ifapi_json_TPM2B_NAME_serialize() local
1378 sprintf(&hex_string[off], "%02x", in->name[i]); in ifapi_json_TPM2B_NAME_serialize()
1379 hex_string[(in->size)*2] = '\0'; in ifapi_json_TPM2B_NAME_serialize()
1380 *jso = json_object_new_string (hex_string); in ifapi_json_TPM2B_NAME_serialize()
3043 char hex_string[((size_t)in->size)*2+1]; in ifapi_json_TPM2B_PUBLIC_KEY_RSA_serialize() local
3046 sprintf(&hex_string[off], "%02x", in->buffer[i]); in ifapi_json_TPM2B_PUBLIC_KEY_RSA_serialize()
3047 hex_string[(in->size)*2] = '\0'; in ifapi_json_TPM2B_PUBLIC_KEY_RSA_serialize()
3048 *jso = json_object_new_string (hex_string); in ifapi_json_TPM2B_PUBLIC_KEY_RSA_serialize()
3089 char hex_string[((size_t)in->size)*2+1]; in ifapi_json_TPM2B_ECC_PARAMETER_serialize() local
3092 sprintf(&hex_string[off], "%02x", in->buffer[i]); in ifapi_json_TPM2B_ECC_PARAMETER_serialize()
3093 hex_string[(in->size)*2] = '\0'; in ifapi_json_TPM2B_ECC_PARAMETER_serialize()
3094 *jso = json_object_new_string (hex_string); in ifapi_json_TPM2B_ECC_PARAMETER_serialize()
3440 char hex_string[((size_t)in->size)*2+1]; in ifapi_json_TPM2B_ENCRYPTED_SECRET_serialize() local
3443 sprintf(&hex_string[off], "%02x", in->secret[i]); in ifapi_json_TPM2B_ENCRYPTED_SECRET_serialize()
3444 hex_string[(in->size)*2] = '\0'; in ifapi_json_TPM2B_ENCRYPTED_SECRET_serialize()
3445 *jso = json_object_new_string (hex_string); in ifapi_json_TPM2B_ENCRYPTED_SECRET_serialize()
3769 char hex_string[((size_t)in->size)*2+1]; in ifapi_json_TPM2B_PRIVATE_serialize() local
3772 sprintf(&hex_string[off], "%02x", in->buffer[i]); in ifapi_json_TPM2B_PRIVATE_serialize()
3773 hex_string[(in->size)*2] = '\0'; in ifapi_json_TPM2B_PRIVATE_serialize()
3774 *jso = json_object_new_string (hex_string); in ifapi_json_TPM2B_PRIVATE_serialize()