Home
last modified time | relevance | path

Searched refs:Nonce (Results 1 – 14 of 14) sorted by relevance

/system/teeui/libteeui/include/secure_input/
Dsecure_input_proto.h58 using Nonce = teeui::Array<uint8_t, kNonceBytes>; variable
65 using InputHandshakeResponse = teeui::Message<teeui::ResponseCode, Nonce>;
73 using FinalizeInputSessionHandshake = teeui::Message<CmdFinalizeInputSession, Nonce, Signature>;
82 using DeliverInputEvent = teeui::Message<CmdDeliverInputEvent, DTupKeyEvent, Nonce>;
Dsecure_input_device.h35 using HsBeginCb = std::function<std::tuple<teeui::ResponseCode, Nonce>()>;
36 using HsFinalizeCb = std::function<teeui::ResponseCode(const Signature&, const Nonce&)>;
/system/core/trusty/confirmationui/
DNotSoSecureInput.cpp64 Nonce generateNonce() { in generateNonce()
76 Nonce result{0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, in generateNonce()
170 Nonce nCo; in performDTUPHandshake()
194 Nonce nCi_;
DTrustyConfirmationUI.cpp219 auto hsBegin = [&]() -> std::tuple<TeeuiRc, Nonce> { in promptUserConfirmation_()
232 auto hsFinalize = [&](const Signature& sig, const Nonce& nCi) -> TeeuiRc { in promptUserConfirmation_()
/system/keymint/wire/src/
Dkeymint.rs375 Nonce(Vec<u8>), enumerator
439 KeyParam::Nonce(_) => Tag::Nonce, in tag()
579 Tag::Nonce => KeyParam::Nonce(<Vec<u8>>::from_cbor_value(raw)?), in from_cbor_value()
669 KeyParam::Nonce(v) => (Tag::Nonce, v.to_cbor_value()?), in to_cbor_value()
899 Tag::Nonce as i32, in cddl_schema()
1044 Nonce = -1879047191, enumerator
/system/keymint/ta/src/
Doperation.rs233 let caller_nonce = get_opt_tag_value!(&params, Nonce)?; in begin_operation()
253 ret_params.try_push(KeyParam::Nonce(try_to_vec(n)?))? in begin_operation()
256 ret_params.try_push(KeyParam::Nonce(try_to_vec(n)?))? in begin_operation()
263 ret_params.try_push(KeyParam::Nonce(try_to_vec(n)?))? in begin_operation()
291 let caller_nonce = get_opt_tag_value!(&params, Nonce)?; in begin_operation()
310 ret_params.try_push(KeyParam::Nonce(try_to_vec(n)?))? in begin_operation()
/system/keymint/common/src/tag/
Dlegacy.rs134 | KeyParam::Nonce(v) in serialize()
230 | KeyParam::Nonce(v) in serialize()
485 Tag::Nonce => KeyParam::Nonce(consume_blob(data, &mut next_blob_offset, blob_data)?), in deserialize()
574 (KeyParam::Nonce(l), KeyParam::Nonce(r)) => l.cmp(r), in param_compare()
Dtests.rs10 (vec![KeyParam::Nonce(vec![1, 2])], "not a valid key characteristic"), in test_characteristics_invalid()
Dinfo.rs999 Tag::Nonce,
/system/keymint/hal/src/
Dhal.rs358 KeyParam::Nonce(v) => (Tag::NONCE, KeyParameterValue::Blob(v)), in fromm()
669 keymint::Tag::Tag::NONCE => Some(KeyParam::Nonce(clone_blob!(val)?)), in try_fromm()
/system/security/keystore2/src/
Dsuper_key.rs211 KeyParameterValue::Nonce(self.nonce.clone()), in decrypt()
Dkey_parameter.rs1001 Nonce(Vec<u8>),
Ddatabase.rs5288 KeyParameterValue::Nonce(vec![4u8, 3u8, 1u8, 2u8]), in make_test_params()
/system/keymint/common/src/
Dtag.rs969 let nonce = get_opt_tag_value!(params, Nonce)?; in check_begin_params()