Commit 58f0fbc1 authored by gauthier's avatar gauthier

OPc in database (computed by HSS if OP provided)

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7478 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 2d18c815
......@@ -57,13 +57,10 @@ function help()
echo_error " -i, --check-installed-software Check installed software packages necessary to build and run HSS (support Ubuntu 14.04)."
echo_error " -I, --install-hss-files Install HSS database if necessary."
echo_error " -k, --operator-key key Operator key of the HSS."
echo_error " If not specified, default is 11111111111111111111111111111111 if operator ckey is not specified also."
echo_error " -K, --operator-ckey ciph. key Operator ciphered key of the HSS (Could be 8E27B6AF0E692E750F32667A3B14605D=OPC(11111111111111111111111111111111))."
echo_error " ( OPC()=RijndaelEncrypt(operator-key) Xor operator-key, LTE-K (prov database) scheduled in Rijndael algo before RijndaelEncrypt)."
echo_error " Note that you can have the RijndaelEncrypt() at http://extranet.cryptomathic.com/aescalc or"
echo_error " at http://www.hanewin.net/encrypt/aes/aes-test.htm."
echo_error " If filled, then OPc key in table users for all subscribers (IMSI) will be computed."
echo_error " -m, --connect-to-mme fqdn MME act as a S6A server, HSS as a client (reversed situation but allows MME and HSS be on the same host) ."
echo_error " -r, --realm realm Realm of the HSS (optional parameter)."
echo_error " -R, --random boolean If false HSS random function returns always 0 (allowed values: {true, false})."
echo_error " -s, --transport-sctp-only Diameter use SCTP (TCP disabled)."
echo_error " -t, --transport-tcp-only Diameter use TCP (SCTP disabled)."
echo_error " -T, --transport-prefer-tcp Diameter prefer TCP."
......@@ -126,11 +123,6 @@ function main()
cmake_args="$cmake_args -DOPERATOR_key=$2"
shift 2;
;;
-K | --operator-ckey)
echo "Operator ciphered key of the HSS: $2"
cmake_args="$cmake_args -DOPERATOR_ckey=$2"
shift 2;
;;
-m | --connect-to-mme)
mme_fqdn=$2
shift 2;
......@@ -140,6 +132,11 @@ function main()
cmake_args="$cmake_args -DREALM=$2"
shift 2;
;;
-R | --random)
echo "Random function: $2"
cmake_args="$cmake_args -DRANDOM_boolean=$2"
shift 2;
;;
-s | --transport-sctp-only)
echo "Diameter use SCTP (TCP disabled), this is the default option."
cmake_args="$cmake_args -DTRANSPORT_option=No_TCP"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment