Searched refs:Nonce (Results 1 – 14 of 14) sorted by relevance
/system/teeui/libteeui/include/secure_input/ |
D | secure_input_proto.h | 58 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>;
|
D | secure_input_device.h | 35 using HsBeginCb = std::function<std::tuple<teeui::ResponseCode, Nonce>()>; 36 using HsFinalizeCb = std::function<teeui::ResponseCode(const Signature&, const Nonce&)>;
|
/system/core/trusty/confirmationui/ |
D | NotSoSecureInput.cpp | 64 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_;
|
D | TrustyConfirmationUI.cpp | 219 auto hsBegin = [&]() -> std::tuple<TeeuiRc, Nonce> { in promptUserConfirmation_() 232 auto hsFinalize = [&](const Signature& sig, const Nonce& nCi) -> TeeuiRc { in promptUserConfirmation_()
|
/system/keymint/wire/src/ |
D | keymint.rs | 375 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/ |
D | operation.rs | 233 let caller_nonce = get_opt_tag_value!(¶ms, 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!(¶ms, Nonce)?; in begin_operation() 310 ret_params.try_push(KeyParam::Nonce(try_to_vec(n)?))? in begin_operation()
|
/system/keymint/common/src/tag/ |
D | legacy.rs | 134 | 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()
|
D | tests.rs | 10 (vec![KeyParam::Nonce(vec![1, 2])], "not a valid key characteristic"), in test_characteristics_invalid()
|
D | info.rs | 999 Tag::Nonce,
|
/system/keymint/hal/src/ |
D | hal.rs | 358 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/ |
D | super_key.rs | 211 KeyParameterValue::Nonce(self.nonce.clone()), in decrypt()
|
D | key_parameter.rs | 1001 Nonce(Vec<u8>),
|
D | database.rs | 5288 KeyParameterValue::Nonce(vec![4u8, 3u8, 1u8, 2u8]), in make_test_params()
|
/system/keymint/common/src/ |
D | tag.rs | 969 let nonce = get_opt_tag_value!(params, Nonce)?; in check_begin_params()
|