xref: /rk3399_ARM-atf/tools/cert_create/include/tbbr/tbb_cert.h (revision cebe1f238fff5ad7eadb42dd1abd3ec897c27e64)
155e291a4SJuan Castillo /*
255e291a4SJuan Castillo  * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved.
355e291a4SJuan Castillo  *
455e291a4SJuan Castillo  * Redistribution and use in source and binary forms, with or without
555e291a4SJuan Castillo  * modification, are permitted provided that the following conditions are met:
655e291a4SJuan Castillo  *
755e291a4SJuan Castillo  * Redistributions of source code must retain the above copyright notice, this
855e291a4SJuan Castillo  * list of conditions and the following disclaimer.
955e291a4SJuan Castillo  *
1055e291a4SJuan Castillo  * Redistributions in binary form must reproduce the above copyright notice,
1155e291a4SJuan Castillo  * this list of conditions and the following disclaimer in the documentation
1255e291a4SJuan Castillo  * and/or other materials provided with the distribution.
1355e291a4SJuan Castillo  *
1455e291a4SJuan Castillo  * Neither the name of ARM nor the names of its contributors may be used
1555e291a4SJuan Castillo  * to endorse or promote products derived from this software without specific
1655e291a4SJuan Castillo  * prior written permission.
1755e291a4SJuan Castillo  *
1855e291a4SJuan Castillo  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1955e291a4SJuan Castillo  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2055e291a4SJuan Castillo  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2155e291a4SJuan Castillo  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
2255e291a4SJuan Castillo  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2355e291a4SJuan Castillo  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2455e291a4SJuan Castillo  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2555e291a4SJuan Castillo  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2655e291a4SJuan Castillo  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2755e291a4SJuan Castillo  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2855e291a4SJuan Castillo  * POSSIBILITY OF SUCH DAMAGE.
2955e291a4SJuan Castillo  */
3055e291a4SJuan Castillo 
3155e291a4SJuan Castillo #ifndef TBB_CERT_H_
3255e291a4SJuan Castillo #define TBB_CERT_H_
3355e291a4SJuan Castillo 
3455e291a4SJuan Castillo #include "cert.h"
3555e291a4SJuan Castillo 
3655e291a4SJuan Castillo /*
3755e291a4SJuan Castillo  * Enumerate the certificates that are used to establish the chain of trust
3855e291a4SJuan Castillo  */
3955e291a4SJuan Castillo enum {
4055e291a4SJuan Castillo 	BL2_CERT,
4155e291a4SJuan Castillo 	TRUSTED_KEY_CERT,
4255e291a4SJuan Castillo 	BL30_KEY_CERT,
4355e291a4SJuan Castillo 	BL30_CERT,
4455e291a4SJuan Castillo 	BL31_KEY_CERT,
4555e291a4SJuan Castillo 	BL31_CERT,
4655e291a4SJuan Castillo 	BL32_KEY_CERT,
4755e291a4SJuan Castillo 	BL32_CERT,
4855e291a4SJuan Castillo 	BL33_KEY_CERT,
49*cebe1f23SYatharth Kochar 	BL33_CERT,
50*cebe1f23SYatharth Kochar 	FWU_CERT
5155e291a4SJuan Castillo };
5255e291a4SJuan Castillo 
5355e291a4SJuan Castillo #endif /* TBB_CERT_H_ */
54