Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ssi_pka_hw_plat_defs.h Source File

ssi_pka_hw_plat_defs.h

Go to the documentation of this file.
00001 /**************************************************************************************
00002 * Copyright (c) 2016-2017, ARM Limited or its affiliates. All rights reserved         *
00003 *                                                                                     *
00004 * This file and the related binary are licensed under the following license:          *
00005 *                                                                                     *
00006 * ARM Object Code and Header Files License, v1.0 Redistribution.                      *
00007 *                                                                                     *
00008 * Redistribution and use of object code, header files, and documentation, without     *
00009 * modification, are permitted provided that the following conditions are met:         *
00010 *                                                                                     *
00011 * 1) Redistributions must reproduce the above copyright notice and the                *
00012 *    following disclaimer in the documentation and/or other materials                 *
00013 *    provided with the distribution.                                                  *
00014 *                                                                                     *
00015 * 2) Unless to the extent explicitly permitted by law, no reverse                     *
00016 *    engineering, decompilation, or disassembly of is permitted.                      *
00017 *                                                                                     *
00018 * 3) Redistribution and use is permitted solely for the purpose of                    *
00019 *    developing or executing applications that are targeted for use                   *
00020 *    on an ARM-based product.                                                         *
00021 *                                                                                     *
00022 * DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND                  *
00023 * CONTRIBUTORS "AS IS." ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT             *
00024 * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT,        *
00025 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE          *
00026 * COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,   *
00027 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED            *
00028 * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR              *
00029 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF              *
00030 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING                *
00031 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS                  *
00032 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                        *
00033 **************************************************************************************/
00034 
00035 
00036 
00037 #ifndef PKA_HW_PLAT_DEFS_H
00038 #define PKA_HW_PLAT_DEFS_H
00039 
00040 #ifdef __cplusplus
00041 extern "C"
00042 {
00043 #endif
00044 
00045 /*!
00046 @file
00047 @brief Contains the enums and definitions that are used in the PKA code (definitions that are platform dependent).
00048 @defgroup ssi_pka_hw_plat_defs CryptoCell PKA specific types and definitions
00049 @{
00050 @ingroup cryptocell_pka
00051 
00052 */
00053 
00054 /*! Size of PKA engine word.*/
00055 #define SASI_PKA_WORD_SIZE_IN_BITS  64
00056 /*! Maximal supported modulus size in bits. */
00057 #define CRYS_SRP_MAX_MODULUS_SIZE_IN_BITS       3072
00058 /*! Maximal supported modulus size in RSA in bits. */
00059 #define CRYS_RSA_MAX_VALID_KEY_SIZE_VALUE_IN_BITS       2048
00060 /*! Maximal supported key generation size in RSA in bits. */
00061 #define CRYS_RSA_MAX_KEY_GENERATION_HW_SIZE_BITS        2048
00062 
00063 /*! PKA operations maximal count of extra bits. */
00064 #define PKA_EXTRA_BITS  8
00065 /*! PKA operations number of memory registers. */
00066 #define PKA_MAX_COUNT_OF_PHYS_MEM_REGS  32
00067 
00068 
00069 #ifdef __cplusplus
00070 }
00071 #endif
00072 /**
00073 @}
00074  */
00075 #endif //PKA_HW_PLAT_DEFS_H
00076 
00077