aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/osmo-auc-gen.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/utils/osmo-auc-gen.c b/utils/osmo-auc-gen.c
index b026e283..3b3e5577 100644
--- a/utils/osmo-auc-gen.c
+++ b/utils/osmo-auc-gen.c
@@ -48,18 +48,18 @@ static void dump_triplets_dat(struct osmo_auth_vector *vec)
static void dump_auth_vec(struct osmo_auth_vector *vec)
{
- printf("RAND:\t%s\n", osmo_hexdump(vec->rand, sizeof(vec->rand)));
+ printf("RAND:\t%s\n", osmo_hexdump_nospc(vec->rand, sizeof(vec->rand)));
if (vec->auth_types & OSMO_AUTH_TYPE_UMTS) {
- printf("AUTN:\t%s\n", osmo_hexdump(vec->autn, sizeof(vec->autn)));
- printf("IK:\t%s\n", osmo_hexdump(vec->ik, sizeof(vec->ik)));
- printf("CK:\t%s\n", osmo_hexdump(vec->ck, sizeof(vec->ck)));
- printf("RES:\t%s\n", osmo_hexdump(vec->res, vec->res_len));
+ printf("AUTN:\t%s\n", osmo_hexdump_nospc(vec->autn, sizeof(vec->autn)));
+ printf("IK:\t%s\n", osmo_hexdump_nospc(vec->ik, sizeof(vec->ik)));
+ printf("CK:\t%s\n", osmo_hexdump_nospc(vec->ck, sizeof(vec->ck)));
+ printf("RES:\t%s\n", osmo_hexdump_nospc(vec->res, vec->res_len));
}
if (vec->auth_types & OSMO_AUTH_TYPE_GSM) {
- printf("SRES:\t%s\n", osmo_hexdump(vec->sres, sizeof(vec->sres)));
- printf("Kc:\t%s\n", osmo_hexdump(vec->kc, sizeof(vec->kc)));
+ printf("SRES:\t%s\n", osmo_hexdump_nospc(vec->sres, sizeof(vec->sres)));
+ printf("Kc:\t%s\n", osmo_hexdump_nospc(vec->kc, sizeof(vec->kc)));
}
}