pub struct OpteeConfiguration {
pub path: PathBuf,
pub release: bool,
pub linker: Option<String>,
pub ta_dev_kit_dir: PathBuf,
pub optee_signer: PathBuf,
pub ta_uuid: Uuid,
pub sign: bool,
}Expand description
All build + signing parameters for an OP-TEE Trusted Application.
Fields§
§path: PathBufPath to the Cargo project root.
release: boolBuild in release mode.
linker: Option<String>Optional explicit linker (e.g. the cross-compiler from the OP-TEE SDK).
ta_dev_kit_dir: PathBufPath to the OP-TEE TA dev-kit directory (TA_DEV_KIT_DIR).
optee_signer: PathBufPath to the OP-TEE signer script (e.g. sign_encrypt.py).
ta_uuid: UuidUUID assigned to this Trusted Application.
sign: boolSign the built ELF into a loadable <uuid>.ta. When false, the build
stops after producing (and verifying) the unsigned ELF and returns that
path — useful when the OP-TEE signer/keys are unavailable and you only
need to check that the TA compiles and links.
Auto Trait Implementations§
impl Freeze for OpteeConfiguration
impl RefUnwindSafe for OpteeConfiguration
impl Send for OpteeConfiguration
impl Sync for OpteeConfiguration
impl Unpin for OpteeConfiguration
impl UnsafeUnpin for OpteeConfiguration
impl UnwindSafe for OpteeConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more