Searched refs:sw_enforced_ (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/include/keymaster/ |
D | key.h | 44 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
|
D | operation.h | 96 : 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() 129 AuthorizationSet sw_enforced_; variable
|
D | authorization_set.h | 702 : hw_enforced_(hw_enforced), sw_enforced_(sw_enforced) {} in AuthProxy() 706 sw_enforced_.Contains(forward<ARGS>(args)...); in Contains() 711 sw_enforced_.GetTagValue(forward<ARGS>(args)...); in GetTagValue() 715 return AuthProxyIterator(hw_enforced_, sw_enforced_); in begin() 720 size_t size() const { return hw_enforced_.size() + sw_enforced_.size(); } in size() 724 if ((pos - hw_enforced_.size()) < sw_enforced_.size()) { 725 return sw_enforced_[pos - hw_enforced_.size()]; 732 const AuthorizationSet& sw_enforced_; variable
|
/system/keymaster/tests/ |
D | key_blob_test.cpp | 53 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 …]
|