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.h96 : purpose_(purpose), hw_enforced_(move(hw_enforced)), sw_enforced_(move(sw_enforced)) {} in Operation()
108 AuthProxy authorizations() const { return AuthProxy(hw_enforced_, sw_enforced_); } in authorizations()
110 AuthorizationSet sw_enforced() const { return sw_enforced_; } in sw_enforced()
151 AuthorizationSet sw_enforced_; variable
Dauthorization_set.h698 : hw_enforced_(hw_enforced), sw_enforced_(sw_enforced) {} in AuthProxy()
702 sw_enforced_.Contains(forward<ARGS>(args)...); in Contains()
707 sw_enforced_.GetTagValue(forward<ARGS>(args)...); in GetTagValue()
712 sw_enforced_.GetTagCount(forward<ARGS>(args)...); in GetTagCount()
715 AuthProxyIterator begin() const { return AuthProxyIterator(hw_enforced_, sw_enforced_); } in begin()
719 size_t size() const { return hw_enforced_.size() + sw_enforced_.size(); } in size()
723 if ((pos - hw_enforced_.size()) < sw_enforced_.size()) {
724 return sw_enforced_[pos - hw_enforced_.size()];
731 const AuthorizationSet& sw_enforced_; variable
/system/keymaster/tests/
Dkey_blob_test.cpp57 sw_enforced_.push_back(TAG_ACTIVE_DATETIME, 10); in KeyBlobTest()
58 sw_enforced_.push_back(TAG_ORIGINATION_EXPIRE_DATETIME, 100); in KeyBlobTest()
59 sw_enforced_.push_back(TAG_CREATION_DATETIME, 10); in KeyBlobTest()
67 encrypted_key_ = EncryptKey(key_material_, format, hw_enforced_, sw_enforced_, hidden_, in Encrypt()
81 SerializeAuthEncryptedBlob(encrypted_key_, hw_enforced_, sw_enforced_, &error); in Serialize()
93 AuthorizationSet sw_enforced_; member in keymaster::test::KeyBlobTest
131 EXPECT_EQ(sw_enforced_, deserialized.sw_enforced); in TEST_F()
239 size_t sw_enforced_size = sw_enforced_.SerializedSize(); in TEST_F()
241 sw_enforced_.Serialize(sw_enforced_data.get(), sw_enforced_data.get() + sw_enforced_size); in TEST_F()
319 &sw_enforced_)); in TEST_F()
[all …]