#
#  Copyright 2020 The FLEX Authors. All Rights Reserved.
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#

# Crypto
CRYPTO_PAILLIER = 'paillier'
CRYPTO_AES = 'aes'
CRYPTO_SM4 = 'sm4'
CRYPTO_SHA256 = 'sha256'
CRYPTO_KEY_EXCHANGE = 'key_exchange'
CRYPTO_HMAC_DRBG = "hmac_drbg"
CRYPTO_FF1 = 'ff1'

# Role
GUEST = 'guest'
HOST = 'host'
COORD = 'coordinator'
SERVER = 'server'
CLIENT = 'client'

# Phase
TRAIN = 'train'
PREDICTION = 'prediction'

# Invisible Inquiry
OT_INV = 'ot_inv'

# Linear Regression
HE_LINEAR_FT = 'he_linear_ft'

# Logistic Regression
HE_OTP_LR_FT1 = 'he_otp_lr_ft1'
HE_OTP_LR_FT2 = 'he_otp_lr_ft2'

# Iv FFS
IV_FFS = 'iv_ffs'

# Secure Aggregation
OTP_SA_FT = 'otp_sa_ft'
HE_SA_FT = 'he_sa_ft'

# Tree
CS_GB_FT = 'cs_gb_ft'
HE_GB_FT = 'he_gb_ft'

# Secure Alignment
SAL = 'sal'

# Federated Prediction
HE_LR_FP = 'he_lr_fp'

#
#  Copyright 2020 The FLEX Authors. All Rights Reserved.
#
#  Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
#  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#

# Crypto
CRYPTO_PAILLIER = 'paillier'
CRYPTO_AES = 'aes'
CRYPTO_SM4 = 'sm4'
CRYPTO_SHA256 = 'sha256'
CRYPTO_KEY_EXCHANGE = 'key_exchange'
CRYPTO_HMAC_DRBG = "hmac_drbg"
CRYPTO_FF1 = 'ff1'

# Role
GUEST = 'guest'
HOST = 'host'
COORD = 'coordinator'
SERVER = 'server'
CLIENT = 'client'

# Phase
TRAIN = 'train'
PREDICTION = 'prediction'

# Invisible Inquiry
OT_INV = 'ot_inv'

# Linear Regression
HE_LINEAR_FT = 'he_linear_ft'

# Logistic Regression
HE_OTP_LR_FT1 = 'he_otp_lr_ft1'
HE_OTP_LR_FT2 = 'he_otp_lr_ft2'

# Iv FFS
IV_FFS = 'iv_ffs'

# Secure Aggregation
OTP_SA_FT = 'otp_sa_ft'
HE_SA_FT = 'he_sa_ft'

# Tree
CS_GB_FT = 'cs_gb_ft'
HE_GB_FT = 'he_gb_ft'

# Secure Alignment
SAL = 'sal'

# Federated Prediction
HE_LR_FP = 'he_lr_fp'

# #  Copyright 2020 The FLEX Authors. All Rights Reserved. # #  Licensed under the Apache License, Version 2.0 (the "License"); #  you may not use this file except in compliance with the License. #  You may obtain a copy of the License at # #      http://www.apache.org/licenses/LICENSE-2.0 # #  Unless required by applicable law or agreed to in writing, software #  distributed under the License is distributed on an "AS IS" BASIS, #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #  See the License for the specific language governing permissions and #  limitations under the License. # # Crypto # Role # Phase # Invisible Inquiry # Linear Regression # Logistic Regression # Iv FFS # Secure Aggregation # Tree # Secure Alignment # Federated Prediction