xref: /rk3399_rockchip-uboot/include/android_avb/libavb_user.h (revision 6c551138ca32fe8065f37a7a1dc1a0f3491313f1)
1*6c551138SJason Zhu /*
2*6c551138SJason Zhu  * Copyright (C) 2016 The Android Open Source Project
3*6c551138SJason Zhu  *
4*6c551138SJason Zhu  * Permission is hereby granted, free of charge, to any person
5*6c551138SJason Zhu  * obtaining a copy of this software and associated documentation
6*6c551138SJason Zhu  * files (the "Software"), to deal in the Software without
7*6c551138SJason Zhu  * restriction, including without limitation the rights to use, copy,
8*6c551138SJason Zhu  * modify, merge, publish, distribute, sublicense, and/or sell copies
9*6c551138SJason Zhu  * of the Software, and to permit persons to whom the Software is
10*6c551138SJason Zhu  * furnished to do so, subject to the following conditions:
11*6c551138SJason Zhu  *
12*6c551138SJason Zhu  * The above copyright notice and this permission notice shall be
13*6c551138SJason Zhu  * included in all copies or substantial portions of the Software.
14*6c551138SJason Zhu  *
15*6c551138SJason Zhu  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16*6c551138SJason Zhu  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17*6c551138SJason Zhu  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18*6c551138SJason Zhu  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
19*6c551138SJason Zhu  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
20*6c551138SJason Zhu  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21*6c551138SJason Zhu  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22*6c551138SJason Zhu  * SOFTWARE.
23*6c551138SJason Zhu  */
24*6c551138SJason Zhu 
25*6c551138SJason Zhu #ifndef LIBAVB_USER_H_
26*6c551138SJason Zhu #define LIBAVB_USER_H_
27*6c551138SJason Zhu 
28*6c551138SJason Zhu #include <android_avb/libavb_ab.h>
29*6c551138SJason Zhu 
30*6c551138SJason Zhu /* The AVB_INSIDE_LIBAVB_USER_H preprocessor symbol is used to enforce
31*6c551138SJason Zhu  * library users to include only this file. All public interfaces, and
32*6c551138SJason Zhu  * only public interfaces, must be included here.
33*6c551138SJason Zhu  */
34*6c551138SJason Zhu 
35*6c551138SJason Zhu #define AVB_INSIDE_LIBAVB_USER_H
36*6c551138SJason Zhu #include <android_avb/avb_ops_user.h>
37*6c551138SJason Zhu #include <android_avb/avb_user_verification.h>
38*6c551138SJason Zhu #include <android_avb/avb_user_verity.h>
39*6c551138SJason Zhu #undef AVB_INSIDE_LIBAVB_USER_H
40*6c551138SJason Zhu 
41*6c551138SJason Zhu #endif /* LIBAVB_USER_H_ */
42