1*55e291a4SJuan Castillo /* 2*55e291a4SJuan Castillo * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved. 3*55e291a4SJuan Castillo * 4*55e291a4SJuan Castillo * Redistribution and use in source and binary forms, with or without 5*55e291a4SJuan Castillo * modification, are permitted provided that the following conditions are met: 6*55e291a4SJuan Castillo * 7*55e291a4SJuan Castillo * Redistributions of source code must retain the above copyright notice, this 8*55e291a4SJuan Castillo * list of conditions and the following disclaimer. 9*55e291a4SJuan Castillo * 10*55e291a4SJuan Castillo * Redistributions in binary form must reproduce the above copyright notice, 11*55e291a4SJuan Castillo * this list of conditions and the following disclaimer in the documentation 12*55e291a4SJuan Castillo * and/or other materials provided with the distribution. 13*55e291a4SJuan Castillo * 14*55e291a4SJuan Castillo * Neither the name of ARM nor the names of its contributors may be used 15*55e291a4SJuan Castillo * to endorse or promote products derived from this software without specific 16*55e291a4SJuan Castillo * prior written permission. 17*55e291a4SJuan Castillo * 18*55e291a4SJuan Castillo * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19*55e291a4SJuan Castillo * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20*55e291a4SJuan Castillo * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21*55e291a4SJuan Castillo * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 22*55e291a4SJuan Castillo * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23*55e291a4SJuan Castillo * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24*55e291a4SJuan Castillo * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25*55e291a4SJuan Castillo * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26*55e291a4SJuan Castillo * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27*55e291a4SJuan Castillo * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28*55e291a4SJuan Castillo * POSSIBILITY OF SUCH DAMAGE. 29*55e291a4SJuan Castillo */ 30*55e291a4SJuan Castillo 31*55e291a4SJuan Castillo #ifndef TBB_KEY_H_ 32*55e291a4SJuan Castillo #define TBB_KEY_H_ 33*55e291a4SJuan Castillo 34*55e291a4SJuan Castillo #include "key.h" 35*55e291a4SJuan Castillo 36*55e291a4SJuan Castillo /* 37*55e291a4SJuan Castillo * Enumerate the keys that are used to establish the chain of trust 38*55e291a4SJuan Castillo */ 39*55e291a4SJuan Castillo enum { 40*55e291a4SJuan Castillo ROT_KEY, 41*55e291a4SJuan Castillo TRUSTED_WORLD_KEY, 42*55e291a4SJuan Castillo NON_TRUSTED_WORLD_KEY, 43*55e291a4SJuan Castillo BL30_KEY, 44*55e291a4SJuan Castillo BL31_KEY, 45*55e291a4SJuan Castillo BL32_KEY, 46*55e291a4SJuan Castillo BL33_KEY 47*55e291a4SJuan Castillo }; 48*55e291a4SJuan Castillo 49*55e291a4SJuan Castillo #endif /* TBB_KEY_H_ */ 50