1 /* 2 * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef _CC_FIPS_DEFS_H 8 #define _CC_FIPS_DEFS_H 9 10 //empty macro since FIPS not supported 11 #define CHECK_AND_RETURN_ERR_UPON_FIPS_ERROR() 12 #define CHECK_AND_RETURN_UPON_FIPS_ERROR() 13 #define CHECK_AND_RETURN_UPON_FIPS_STATE() 14 #define CHECK_FIPS_SUPPORTED(supported) {supported = false;} 15 #define FIPS_RSA_VALIDATE(rndContext_ptr,pCcUserPrivKey,pCcUserPubKey,pFipsCtx) (CC_OK) 16 #define FIPS_ECC_VALIDATE(pRndContext, pUserPrivKey, pUserPublKey, pFipsCtx) (CC_OK) 17 #define CC_FIPS_SET_RND_CONT_ERR() 18 19 #endif // _CC_FIPS_DEFS_H 20 21