Home
last modified time | relevance | path

Searched refs:sw_enforced_ (Results 1 – 4 of 4) sorted by relevance

/system/keymaster/include/keymaster/
Dkey.h44 AuthProxy authorizations() const { return AuthProxy(hw_enforced_, sw_enforced_); } in authorizations()
46 const AuthorizationSet& sw_enforced() const { return sw_enforced_; } in sw_enforced()
48 AuthorizationSet& sw_enforced() { return sw_enforced_; } in sw_enforced()
57 AuthorizationSet&& sw_enforced_move() { return move(sw_enforced_); } in sw_enforced_move()
66 : hw_enforced_(move(hw_enforced)), sw_enforced_(move(sw_enforced)), in Key()
71 AuthorizationSet sw_enforced_; variable
Doperation.h93 : purpose_(purpose), hw_enforced_(move(hw_enforced)), sw_enforced_(move(sw_enforced)) {} in Operation()
105 AuthProxy authorizations() const { return AuthProxy(hw_enforced_, sw_enforced_); } in authorizations()
126 AuthorizationSet sw_enforced_; variable
Dauthorization_set.h692 : hw_enforced_(hw_enforced), sw_enforced_(sw_enforced) {} in AuthProxy()
696 sw_enforced_.Contains(forward<ARGS>(args)...); in Contains()
701 sw_enforced_.GetTagValue(forward<ARGS>(args)...); in GetTagValue()
705 return AuthProxyIterator(hw_enforced_, sw_enforced_); in begin()
710 size_t size() const { return hw_enforced_.size() + sw_enforced_.size(); } in size()
714 if ((pos - hw_enforced_.size()) < sw_enforced_.size()) {
715 return sw_enforced_[pos - hw_enforced_.size()];
722 const AuthorizationSet& sw_enforced_; variable
/system/keymaster/tests/
Dkey_blob_test.cpp53 sw_enforced_.push_back(TAG_ACTIVE_DATETIME, 10); in KeyBlobTest()
54 sw_enforced_.push_back(TAG_ORIGINATION_EXPIRE_DATETIME, 100); in KeyBlobTest()
55 sw_enforced_.push_back(TAG_CREATION_DATETIME, 10); in KeyBlobTest()
68 return OcbEncryptKey(hw_enforced_, sw_enforced_, hidden_, master_key_, key_material_, in Encrypt()
73 return OcbDecryptKey(hw_enforced_, sw_enforced_, hidden_, master_key_, ciphertext_, nonce_, in Decrypt()
78 return SerializeAuthEncryptedBlob(ciphertext_, hw_enforced_, sw_enforced_, nonce_, tag_, in Serialize()
84 &sw_enforced_, &nonce_, &tag_); in Deserialize()
88 AuthorizationSet sw_enforced_; member in keymaster::test::KeyBlobTest
121 EXPECT_EQ(sw_enforced_, sw2); in TEST_F()
198 OcbDecryptKey(hw_enforced_, sw_enforced_, hidden_, wrong_master, ciphertext_, nonce_, in TEST_F()
[all …]