blob: 3ba59bff1d73e1a4956590a54d13e0690e392745 [file] [log] [blame]
#
# Copyright (C) 2024 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[package]
name = "ta"
version = "0.1.0"
edition = "2021"
[features]
dev = []
[dependencies]
der = { version = "^0.7.2", features = ["alloc", "derive"] }
ed25519-dalek = { version = "2.1.1", default-features = false }
hex = { version = "0.4", default-features = false }
kmr-common = "*"
kmr-ta = "*"
kmr-wire = "*"
log = "0.4"
optee-logger = { path = "optee-logger" }
optee-utee = { path = "optee-utee", default-features = false }
optee-utee-sys = { path = "optee-utee/optee-utee-sys", default-features = false }
pkcs1 = { version = "^0.7.5", features = ["alloc", "pkcs8"] }
pkcs8 = "^0.10.2"
sec1 = { version = "0.7.3", features = ["alloc", "der", "pkcs8", "point"] }
spin = { version = "0.9.8", default-features = false, features = ["once", "mutex", "spin_mutex"] }
typenum = "1.17.0"
uuid = { version = "0.8", default-features = false }
x25519-dalek = { version = "2.0.1", features = ["static_secrets"] }
zeroize = { version = "^1.5.6", features = ["alloc", "zeroize_derive"] }
[patch.crates-io]
kmr-common = { path = "../../../../system/keymint/common" }
kmr-derive = { path = "../../../../system/keymint/derive" }
kmr-ta = { path = "../../../../system/keymint/ta" }
kmr-wire = { path = "../../../../system/keymint/wire" }
[profile.release]
panic = "abort"
lto = true
opt-level = 1