| /optee_rust/optee-utee/src/ |
| A D | net.rs | 62 raw::TEE_ISOCKET_ERROR_TIMEOUT => Err(io::Error::new( in connect_with_ip_version() 66 raw::TEE_ERROR_COMMUNICATION => Err(io::Error::new( in connect_with_ip_version() 122 raw::TEE_ISOCKET_ERROR_TIMEOUT => Err(io::Error::new( in read() 126 raw::TEE_ERROR_COMMUNICATION => Err(io::Error::new( in read() 134 raw::TEE_ISOCKET_ERROR_PROTOCOL => Err(io::Error::new( in read() 164 raw::TEE_ISOCKET_ERROR_TIMEOUT => Err(io::Error::new( in write() 172 raw::TEE_ISOCKET_ERROR_PROTOCOL => Err(io::Error::new( in write() 292 raw::TEE_ISOCKET_ERROR_TIMEOUT => Err(io::Error::new( in read() 296 raw::TEE_ERROR_COMMUNICATION => Err(io::Error::new( in read() 304 raw::TEE_ISOCKET_ERROR_PROTOCOL => Err(io::Error::new( in read() [all …]
|
| A D | error.rs | 34 pub struct Error { struct 150 impl Error { impls 151 pub fn new(kind: ErrorKind) -> Error { in new() argument 152 Error { code: kind as u32 } in new() 166 Error { code } in from_raw_error() 222 impl fmt::Debug for Error { implementation 228 impl fmt::Display for Error { implementation 234 impl std::error::Error for Error { implementation 240 impl From<ErrorKind> for Error { implementation 242 fn from(kind: ErrorKind) -> Error { in from() argument [all …]
|
| A D | time.rs | 18 use crate::{Error, Result}; 85 code => Err(Error::from_raw_error(code)), in wait() 116 code => Err(Error::from_raw_error(code)), in ta_time() 133 code => Err(Error::from_raw_error(code)), in set_ta_time()
|
| A D | object.rs | 18 use crate::{Error, Result}; 231 code => Err(Error::from_raw_error(code)), in info() 238 code => Err(Error::from_raw_error(code)), in restrict_usage() 253 code => Err(Error::from_raw_error(code)), in ref_attribute() 269 code => Err(Error::from_raw_error(code)), in value_attribute() 537 code => Err(Error::from_raw_error(code)), in allocate() 773 code => Err(Error::from_raw_error(code)), in copy_attribute_from() 924 Err(Error::from_raw_error(code)) in open() 1012 Err(Error::from_raw_error(code)) in create() 1057 code => Err(Error::from_raw_error(code)), in close_and_delete() [all …]
|
| A D | crypto_op.rs | 186 code => Err(Error::from_raw_error(code)), in allocate() 205 code => Err(Error::from_raw_error(code)), in info_multiple() 218 code => Err(Error::from_raw_error(code)), in set_key() 233 code => Err(Error::from_raw_error(code)), in is_algorithm_supported() 334 code => Err(Error::from_raw_error(code)), in do_final() 605 code => Err(Error::from_raw_error(code)), in update() 639 code => Err(Error::from_raw_error(code)), in do_final() 728 code => Err(Error::from_raw_error(code)), in set_key_2() 847 code => Err(Error::from_raw_error(code)), in compute_final() 882 code => Err(Error::from_raw_error(code)), in compare_final() [all …]
|
| A D | extension.rs | 18 use crate::{Error, Result, Uuid}; 49 code => Err(Error::from_raw_error(code)), in invoke()
|
| A D | uuid.rs | 38 pub fn parse_str(input: &str) -> Result<Uuid, uuid_crate::Error> { in parse_str() argument 71 pub fn from_slice(b: &[u8]) -> Result<Uuid, uuid_crate::Error> { in from_slice() argument
|
| A D | lib.rs | 18 pub use self::error::{Error, ErrorKind, Result};
|
| A D | parameter.rs | 18 use crate::{Error, ErrorKind, Result}; 116 _ => Err(Error::new(ErrorKind::BadParameters)), in as_value() 129 _ => Err(Error::new(ErrorKind::BadParameters)), in as_memref()
|
| /optee_rust/optee-teec/src/ |
| A D | error.rs | 37 pub struct Error { struct 119 impl Error { implementation 120 pub fn new(kind: ErrorKind) -> Error { in new() argument 121 Error { code: kind as u32 } in new() 134 Error { code } in from_raw_error() 182 impl fmt::Debug for Error { implementation 188 impl fmt::Display for Error { implementation 194 impl std::error::Error for Error { implementation 200 impl From<ErrorKind> for Error { implementation 202 fn from(kind: ErrorKind) -> Error { in from() argument [all …]
|
| A D | session.rs | 24 use crate::{Context, Error, Operation, Result, Uuid}; 76 code => Err(Error::from_raw_error(code)), in new() 101 code => Err(Error::from_raw_error(code)), in invoke_command()
|
| A D | extension.rs | 20 use crate::{Result, Error, ErrorKind}; 60 return Err(Error::new(ErrorKind::Security)); in set_buf_from_slice()
|
| A D | context.rs | 18 use crate::{Error, Operation, Result, Session, Uuid}; 54 code => Err(Error::from_raw_error(code)), in new_raw()
|
| A D | lib.rs | 19 pub use self::error::{Error, ErrorKind, Result};
|
| /optee_rust/examples/aes-rs/ta/src/ |
| A D | main.rs | 26 use optee_utee::{Error, ErrorKind, Parameters, Result}; 85 return Err(Error::new(ErrorKind::BadParameters)); in invoke_command() 95 _ => Err(Error::new(ErrorKind::BadParameters)), in ta2tee_algo_id() 102 _ => Err(Error::new(ErrorKind::BadParameters)), in ta2tee_key_size() 110 _ => Err(Error::new(ErrorKind::BadParameters)), in ta2tee_mode_id() 144 return Err(Error::new(ErrorKind::BadParameters)); in set_aes_key() 174 return Err(Error::new(ErrorKind::BadParameters)); in cipher_buffer()
|
| /optee_rust/examples/hello_world-rs/ta/src/ |
| A D | main.rs | 23 use optee_utee::{Error, ErrorKind, Parameters, Result}; 61 _ => Err(Error::new(ErrorKind::BadParameters)), in invoke_command()
|
| /optee_rust/examples/random-rs/ta/src/ |
| A D | main.rs | 23 use optee_utee::{Error, ErrorKind, Parameters, Result}; 68 return Err(Error::new(ErrorKind::BadParameters)); in invoke_command()
|
| /optee_rust/examples/time-rs/ta/src/ |
| A D | main.rs | 24 use optee_utee::{Error, ErrorKind, Parameters, Result}; 57 _ => Err(Error::new(ErrorKind::BadParameters)), in invoke_command()
|
| /optee_rust/examples/secure_storage-rs/ta/src/ |
| A D | main.rs | 24 use optee_utee::{Error, ErrorKind, Parameters, Result}; 63 return Err(Error::new(ErrorKind::NotSupported)); in invoke_command() 152 return Err(Error::new(ErrorKind::ShortBuffer)); in read_raw_object() 156 return Err(Error::new(ErrorKind::ExcessData)); in read_raw_object()
|
| /optee_rust/examples/supp_plugin-rs/ta/src/ |
| A D | main.rs | 23 use optee_utee::{Error, ErrorKind, Parameters, Result, Uuid}; 70 _ => Err(Error::new(ErrorKind::BadParameters)), in invoke_command()
|
| /optee_rust/examples/hotp-rs/host/src/ |
| A D | main.rs | 19 Context, Error, ErrorKind, Operation, ParamNone, ParamTmpRef, ParamType, ParamValue, Session, 59 return Err(Error::new(ErrorKind::Generic)); in get_hotp()
|
| /optee_rust/examples/udp_socket-rs/ta/src/ |
| A D | main.rs | 23 use optee_utee::{Error, ErrorKind, Parameters, Result}; 59 _ => Err(Error::new(ErrorKind::BadParameters)), in invoke_command()
|
| /optee_rust/examples/tcp_client-rs/ta/src/ |
| A D | main.rs | 23 use optee_utee::{Error, ErrorKind, Parameters, Result}; 59 _ => Err(Error::new(ErrorKind::BadParameters)), in invoke_command()
|
| /optee_rust/examples/serde-rs/ta/src/ |
| A D | main.rs | 23 use optee_utee::{Error, ErrorKind, Parameters, Result}; 83 _ => Err(Error::new(ErrorKind::BadParameters)), in invoke_command()
|
| /optee_rust/examples/digest-rs/host/src/ |
| A D | main.rs | 21 use optee_teec::{Error, ErrorKind}; 50 return Err(Error::new(ErrorKind::BadParameters)); in main()
|