security.json 5.3 KB
Newer Older
M
mamingshuai 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
{
  "components": [
    {
      "component": "hichainsdk",
      "description": "",
      "optional": "true",
      "dirs": [
        "base/security/deviceauth"
      ],
      "targets": [
        "//base/security/deviceauth/frameworks/deviceauth_lite:hichainsdk"
      ],
      "rom": "",
      "ram": "",
      "output": [ "libhichainsdk.so" ],
      "adapted_kernel": [
        "liteos_a",
        "liteos_m",
        "linux"
      ],
      "features": [],
      "deps": {
        "third_party": [
          "bounds_checking_function",
          "cjson"

        ],
Y
yangming_ha 已提交
28 29
        "kernel_special": {},
        "board_special": {},
M
mamingshuai 已提交
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
        "components": [
          "huks"
        ]
      }
    },
    {
      "component": "huks",
      "description": "",
      "optional": "true",
      "dirs": [
        "base/security/huks"
      ],
      "targets": [
        "//base/security/huks/frameworks/huks_lite:huks_sdk"
      ],
      "rom": "",
      "ram": "",
      "output": [ "libhuks.so" ],
      "adapted_kernel": [
        "liteos_a",
50
        "liteos_m",
M
mamingshuai 已提交
51 52
        "linux"
      ],
53 54 55 56
      "features": [
        "disable_huks_binary = false",
        "disable_authenticate = false"
      ],
M
mamingshuai 已提交
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
      "deps": {
        "third_party": [
          "mbedtls",
          "openssl",
          "bounds_checking_function"
        ],
        "components": []
      }
    },
    {
      "component": "secure_os",
      "description": "",
      "optional": "true",
      "dirs": [
        "device/hisilicon/itrustee/itrustee_ree_lite/"
      ],
      "targets": [
        "//device/hisilicon/itrustee/itrustee_ree_lite/services/teecd:teecd",
        "//device/hisilicon/itrustee/itrustee_ree_lite/frameworks/libteec:libteec_vendor"
      ],
      "rom": "400KB",
      "ram": "~4MB",
      "output": [
        "teecd",
        "libteecd_bin.a"
      ],
      "adapted_kernel": [ "liteos_a" ],
      "features": [
        "enable_tee_ree = false"
      ],
      "deps": {
        "third_party": [
          "bounds_checking_function"
        ],
        "components": []
      }
    },
    {
      "component": "permission",
      "description": "",
      "optional": "true",
      "dirs": [
        "base/security/permission"
      ],
      "targets": [
        "//base/security/permission/services/permission_lite:permission_lite"
      ],
      "rom": "100KB",
      "ram": "~90KB",
      "output": [ "libipc_auth_target.so" ],
      "adapted_kernel": [
        "liteos_a",
        "linux"
      ],
      "features": [],
      "deps": {
        "components": [
Y
yangming_ha 已提交
114 115 116
          "hilog",
          "samgr_lite",
          "ipc_lite"
M
mamingshuai 已提交
117 118 119 120 121 122 123 124
        ],
        "third_party": [
          "bounds_checking_function",
          "cjson"
        ]
      }
    },
    {
Y
yangming_ha 已提交
125
      "component": "appverify",
M
mamingshuai 已提交
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
      "description": "",
      "optional": "true",
      "dirs": [
        "base/security/appverify"
      ],
      "targets": [
        "//base/security/appverify/interfaces/innerkits/appverify_lite:verify"
      ],
      "rom": "",
      "ram": "",
      "output": [
        "libverify_base.so",
        "libverify.so"
      ],
      "adapted_kernel": [
        "liteos_a",
        "linux"
      ],
      "features": [],
      "deps": {
        "components": [
Y
yangming_ha 已提交
147 148
          "hilog",
          "syspara_lite"
M
mamingshuai 已提交
149 150 151 152 153 154 155 156 157
        ],
        "third_party": [
          "bounds_checking_function",
          "mbedtls",
          "cjson"
        ]
      }
    },
    {
Y
yangming_ha 已提交
158
      "component": "crypto_lite",
M
mamingshuai 已提交
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
      "description": "",
      "optional": "true",
      "dirs": [
        "base/security/huks/frameworks/crypto_lite"
      ],
      "targets": [
        "//base/security/huks/frameworks/crypto_lite/cipher:cipher_shared"
      ],
      "rom": "",
      "ram": "",
      "output": [ "cipher_shared.so" ],
      "adapted_kernel": [
        "liteos_a",
        "linux"
      ],
      "features": [],
      "deps": {
        "components": [
Y
yangming_ha 已提交
177
          "hilog"
M
mamingshuai 已提交
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
        ],
        "third_party": [
          "bounds_checking_function",
          "mbedtls"
        ]
      }
    },
    {
      "component": "dm-verity",
      "description": "",
      "optional": "true",
      "dirs": [ "//third_party/cryptsetup" ],
      "targets": [
        "//third_party/cryptsetup:veritysetup"
      ],
      "rom": "",
      "ram": "",
      "output": [ "veritysetup" ],
      "adapted_kernel": [ "linux" ],
      "features": [],
      "deps": {
        "components": [],
        "third_party": [
          "popt",
          "libuuid",
          "LVM2",
          "cjson"
        ]
      }
H
huzhonghua 已提交
207 208
    },
    {
209
      "component": "deviceauth_lite",
H
huzhonghua 已提交
210 211 212
      "description": "hichain3.0",
      "optional": "true",
      "dirs": [ "//base/security/deviceauth" ],
213
      "targets": [ "//base/security/deviceauth:deviceauth_lite" ],
H
huzhonghua 已提交
214 215 216 217
      "rom": "600K",
      "ram": "~80K",
      "output": [
        "libdeviceauth_sdk.so",
W
winnieHu 已提交
218 219
        "deviceauth_service",
        "deviceauth.a"
H
huzhonghua 已提交
220 221 222
      ],
      "adapted_kernel": [
        "liteos_a",
W
winnieHu 已提交
223
        "liteos_m",
H
huzhonghua 已提交
224 225 226 227 228 229 230 231 232 233 234 235
        "linux"
      ],
      "features": [ ],
      "deps": {
        "third_party": [
          "mbedtls",
          "openssl",
          "bounds_checking_function",
          "cjson"
        ],
        "components": []
      }
M
mamingshuai 已提交
236 237 238
    }
  ]
}