aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsm/auth_xor.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2023-02-21 22:24:15 +0100
committerHarald Welte <laforge@osmocom.org>2023-02-22 09:45:15 +0100
commit9b7c9ae6ca576b4b821871c9576de9ee4ab9c14c (patch)
tree37d5212c5c29c9cb4eae03ff3b44b0fcf274cf34 /src/gsm/auth_xor.c
parent4cc60a166cccc24e4611e6d9c5a2e4f063fe5fa0 (diff)
Rename OSMO_AUTH_ALG_XOR to OSMO_AUTH_ALG_XOR_3G
Let's disambiguate. Our existing OSMO_AUTH_ALG_XOR was always only the XOR-3G algorithm. Now that we recently introduced XOR-2G, let's rename (with backwards compatibility #define). Change-Id: I446e54d0ddf4a18c46ee022b1249af73552e3ce1
Diffstat (limited to 'src/gsm/auth_xor.c')
-rw-r--r--src/gsm/auth_xor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsm/auth_xor.c b/src/gsm/auth_xor.c
index 45075421..81076bda 100644
--- a/src/gsm/auth_xor.c
+++ b/src/gsm/auth_xor.c
@@ -168,8 +168,8 @@ static int xor_gen_vec_auts(struct osmo_auth_vector *vec,
}
static struct osmo_auth_impl xor_alg = {
- .algo = OSMO_AUTH_ALG_XOR,
- .name = "XOR (libosmogsm built-in)",
+ .algo = OSMO_AUTH_ALG_XOR_3G,
+ .name = "XOR-3G (libosmogsm built-in)",
.priority = 1000,
.gen_vec = &xor_gen_vec,
.gen_vec_auts = &xor_gen_vec_auts,