1 /* 2 * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 8 #ifndef CC_ECPKI_DOMAIN_H 9 #define CC_ECPKI_DOMAIN_H 10 11 12 /*! 13 @file 14 @brief This file defines the ecpki build domain API. 15 @defgroup cc_ecpki_domain CryptoCell ECC domain APIs 16 @{ 17 @ingroup cryptocell_ecpki 18 19 */ 20 21 22 #include "cc_error.h" 23 #include "cc_ecpki_types.h" 24 25 #ifdef __cplusplus 26 extern "C" 27 { 28 #endif 29 30 31 32 33 /********************************************************************************** 34 * CC_EcpkiGetEcDomain function * 35 **********************************************************************************/ 36 37 /*! 38 * @brief The function returns a pointer to an ECDSA saved domain (one of the supported domains). 39 * 40 * @return Domain pointer on success. 41 * @return NULL on failure. 42 */ 43 44 const CCEcpkiDomain_t *CC_EcpkiGetEcDomain(CCEcpkiDomainID_t domainId /*!< [in] Index of one of the domain Id (must be one of the supported domains). */); 45 46 #ifdef __cplusplus 47 } 48 #endif 49 50 #endif 51 52