Commit 2099858f authored by Lionel Gauthier's avatar Lionel Gauthier

Hss now can take OPC key as argument in config file

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7460 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 721081d7
......@@ -56,7 +56,10 @@ function help()
echo_error " -h, --help Print this 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 (if not specified, default is 11111111111111111111111111111111, see CMakelists.txt)."
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 " -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 " -s, --transport-sctp-only Diameter use SCTP (TCP disabled)."
......@@ -121,6 +124,11 @@ 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;
......
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