1 /****************************************************************************** 2 * Filename: standalone_rom_crypto.h 3 * Revised: $Date: 2015-03-19 15:37:11 +0100 (to, 19 mar 2015) $ 4 * Revision: $Revision: 43051 $ 5 * 6 * Description: Provide a simple initialization the common ROM-RAM system 7 * needed prior to using the ROM Encryption functions 8 * (ref. <driverlib/RomEncryption.h>) 9 * 10 * Copyright (c) 2015, Texas Instruments Incorporated 11 * All rights reserved. 12 * 13 * Redistribution and use in source and binary forms, with or without 14 * modification, are permitted provided that the following conditions are met: 15 * 16 * 1) Redistributions of source code must retain the above copyright notice, 17 * this list of conditions and the following disclaimer. 18 * 19 * 2) Redistributions in binary form must reproduce the above copyright notice, 20 * this list of conditions and the following disclaimer in the documentation 21 * and/or other materials provided with the distribution. 22 * 23 * 3) Neither the name of the ORGANIZATION nor the names of its contributors may 24 * be used to endorse or promote products derived from this software without 25 * specific prior written permission. 26 * 27 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 28 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 29 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 30 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 31 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 32 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 33 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 34 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 35 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 36 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 37 * POSSIBILITY OF SUCH DAMAGE. 38 * 39 ******************************************************************************/ 40 41 #ifndef __STANDALONE_ROM_CRYPTO__ 42 #define __STANDALONE_ROM_CRYPTO__ 43 44 //***************************************************************************** 45 // 46 // If building with a C++ compiler, make all of the definitions in this header 47 // have a C binding. 48 // 49 //***************************************************************************** 50 #ifdef __cplusplus 51 extern "C" 52 { 53 #endif 54 55 //***************************************************************************** 56 // 57 //! \brief Simplified initialization of the common ROM-RAM system needed prior to using the RomEncryption functions. 58 //! 59 //! This simplified initialization shall not be used if using the stack software. 60 //! The stack software implies calling the function CommonROM_Init() replacing 61 //! this simplified method. 62 //! 63 //! \note SRAM area 0x20004F2C-0x20004FFF will be allocated (COMMON_RAM_BASE_ADDR region). 64 //! 65 //! \param None 66 //! 67 //! \return None 68 //! 69 //! \sa RomEncryption.h 70 // 71 //***************************************************************************** 72 extern void StandaloneRomCryptoInit( void ); 73 74 //***************************************************************************** 75 // 76 // Mark the end of the C bindings section for C++ compilers. 77 // 78 //***************************************************************************** 79 #ifdef __cplusplus 80 } 81 #endif 82 83 #endif // __STANDALONE_ROM_CRYPTO__ 84