/system/security/keystore2/src/crypto/ |
D | zvec.rs | 36 pub enum Error { enum 44 pub fn new(size: usize) -> Result<Self, Error> { in new() argument 64 pub fn try_clone(&self) -> Result<Self, Error> { in try_clone() argument 111 type Error = Error; typedef 113 fn try_from(v: &[u8]) -> Result<Self, Self::Error> { in try_from() argument 123 type Error = Error; typedef 125 fn try_from(mut v: Vec<u8>) -> Result<Self, Self::Error> { in try_from() argument
|
D | lib.rs | 67 pub fn generate_random_data(size: usize) -> Result<Vec<u8>, Error> { in generate_random_data() argument 78 pub fn hmac_sha256(key: &[u8], msg: &[u8]) -> Result<Vec<u8>, Error> { in hmac_sha256() argument 99 pub fn aes_gcm_decrypt(data: &[u8], iv: &[u8], tag: &[u8], key: &[u8]) -> Result<ZVec, Error> { in aes_gcm_decrypt() argument 141 pub fn aes_gcm_encrypt(plaintext: &[u8], key: &[u8]) -> Result<(Vec<u8>, Vec<u8>, Vec<u8>), Error> { in aes_gcm_encrypt() argument 200 pub fn derive_key(&self, salt: Option<&[u8]>, key_length: usize) -> Result<ZVec, Error> { in derive_key() argument 234 pub fn try_clone(&self) -> Result<Password<'static>, Error> { in try_clone() argument 240 pub fn hkdf_extract(secret: &[u8], salt: &[u8]) -> Result<ZVec, Error> { in hkdf_extract() argument 270 pub fn hkdf_expand(out_len: usize, prk: &[u8], info: &[u8]) -> Result<ZVec, Error> { in hkdf_expand() argument 333 pub fn ecdh_compute_key(pub_key: &EC_POINT, priv_key: &ECKey) -> Result<ZVec, Error> { in ecdh_compute_key() argument 365 pub fn ec_key_marshal_private_key(key: &ECKey) -> Result<ZVec, Error> { in ec_key_marshal_private_key() argument [all …]
|
D | error.rs | 20 pub enum Error { enum
|
/system/security/keystore2/src/ |
D | error.rs | 45 pub enum Error { enum 64 impl Error { impl 86 pub fn map_km_error<T>(r: BinderResult<T>) -> Result<T, Error> { in map_km_error() argument 114 pub fn map_rem_prov_error<T>(r: BinderResult<T>) -> Result<T, Error> { in map_rem_prov_error() argument 124 pub fn map_binder_status<T>(r: BinderResult<T>) -> Result<T, Error> { in map_binder_status() argument 139 pub fn map_binder_status_code<T>(r: Result<T, StatusCode>) -> Result<T, Error> { in map_binder_status_code() argument 216 F1: FnOnce(anyhow::Error) -> anyhow::Error, in map_err_with()
|
D | key_parameter.rs | 221 type Error = PrimitiveError; typedef 223 fn try_from(p: Primitive) -> Result<i64, Self::Error> { in try_from() 231 type Error = PrimitiveError; typedef 233 fn try_from(p: Primitive) -> Result<i32, Self::Error> { in try_from() 241 type Error = PrimitiveError; typedef 243 fn try_from(p: Primitive) -> Result<Vec<u8>, Self::Error> { in try_from()
|
D | apc.rs | 43 pub enum Error { enum 53 impl Error { impl
|
D | operation.rs | 261 fn prune(&self, last_usage: Instant) -> Result<(), Error> { in prune() argument 304 err: Result<T, Error>, in update_outcome() argument 615 pub fn prune(&self, caller: u32, forced: bool) -> Result<(), Error> { in prune() argument
|
D | enforcements.rs | 82 receiver: Receiver<Result<TimeStampToken, Error>>, in timestamp() argument 220 fn get_timestamp_token(challenge: i64) -> Result<TimeStampToken, Error> { in get_timestamp_token() argument 228 fn timestamp_token_request(challenge: i64, sender: Sender<Result<TimeStampToken, Error>>) { in timestamp_token_request() argument
|
D | authorization.rs | 42 pub enum Error { enum
|
D | raw_device.rs | 262 F: Fn(&[u8]) -> Result<T, Error>, in upgrade_keyblob_if_required_with() argument
|
/system/teeui/libteeui/include/teeui/ |
D | error.h | 43 constexpr Error() noexcept : v_(OK) {} in Error() function 44 constexpr Error(error_e v) noexcept : v_(v) {} in Error() function
|
D | cbor.h | 46 enum class Error : uint32_t { enum
|
/system/security/diced/src/ |
D | error_vendor.rs | 26 pub enum Error { enum 81 F1: FnOnce(anyhow::Error) -> anyhow::Error, in map_err_with()
|
D | error.rs | 26 pub enum Error { enum 82 F1: FnOnce(anyhow::Error) -> anyhow::Error, in map_err_with()
|
/system/core/debuggerd/rust/tombstoned_client/src/ |
D | lib.rs | 25 pub struct Error; struct 63 pub fn connect(pid: i32, dump_type: DebuggerdDumpType) -> Result<Self, Error> { in connect() argument 81 pub fn notify_completion(&self) -> Result<(), Error> { in notify_completion() argument
|
/system/core/fs_mgr/libfiemap/include/libfiemap/ |
D | fiemap_status.h | 47 static FiemapStatus Error() { return FiemapStatus(ErrorCode::ERROR); } in Error() function
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | return.h | 43 static Return Error() { return Return(ErrorCode::ERROR); } in Error() function
|
/system/unwinding/libunwindstack/ |
D | LogStdout.cpp | 57 void Error(const char* format, ...) { in Error() function
|
D | LogAndroid.cpp | 62 void Error(const char* format, ...) { in Error() function
|
/system/security/keystore2/selinux/src/ |
D | lib.rs | 69 pub enum Error { enum 78 impl Error { implementation
|
/system/keymaster/android_keymaster/ |
D | logger.cpp | 72 int Logger::Error(const char* fmt, ...) { in Error() function in keymaster::Logger
|
/system/security/keystore2/src/crypto/include/ |
D | certificate_utils.h | 49 enum Error { enum
|
/system/security/keystore2/legacykeystore/ |
D | lib.rs | 176 pub enum Error { enum 179 Error(i32), enumerator 185 impl Error { impl
|
/system/core/fs_mgr/ |
D | file_wait.cpp | 82 enum class Result { Success, Timeout, Error }; enumerator
|
/system/incremental_delivery/incfs/include/ |
D | incfs.h | 241 enum class WaitResult { HaveData, Timeout, Error }; enumerator
|