Searched refs:hw_enforced_ (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/tests/ |
D | key_blob_test.cpp | 45 hw_enforced_.push_back(TAG_ALGORITHM, KM_ALGORITHM_RSA); in KeyBlobTest() 46 hw_enforced_.push_back(TAG_KEY_SIZE, 256); in KeyBlobTest() 47 hw_enforced_.push_back(TAG_BLOB_USAGE_REQUIREMENTS, KM_BLOB_STANDALONE); in KeyBlobTest() 48 hw_enforced_.push_back(TAG_MIN_SECONDS_BETWEEN_OPS, 10); in KeyBlobTest() 49 hw_enforced_.push_back(TAG_ALL_USERS); in KeyBlobTest() 50 hw_enforced_.push_back(TAG_NO_AUTH_REQUIRED); in KeyBlobTest() 51 hw_enforced_.push_back(TAG_ORIGIN, KM_ORIGIN_GENERATED); 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() [all …]
|
/system/keymaster/include/keymaster/ |
D | key.h | 44 AuthProxy authorizations() const { return AuthProxy(hw_enforced_, sw_enforced_); } in authorizations() 45 const AuthorizationSet& hw_enforced() const { return hw_enforced_; } in hw_enforced() 47 AuthorizationSet& hw_enforced() { return hw_enforced_; } in hw_enforced() 56 AuthorizationSet&& hw_enforced_move() { return move(hw_enforced_); } in hw_enforced_move() 66 : hw_enforced_(move(hw_enforced)), sw_enforced_(move(sw_enforced)), in Key() 70 AuthorizationSet hw_enforced_;
|
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() 128 AuthorizationSet hw_enforced_; variable
|
D | authorization_set.h | 702 : hw_enforced_(hw_enforced), sw_enforced_(sw_enforced) {} in AuthProxy() 705 return hw_enforced_.Contains(forward<ARGS>(args)...) || in Contains() 710 return hw_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() 723 if (pos < hw_enforced_.size()) return hw_enforced_[pos]; 724 if ((pos - hw_enforced_.size()) < sw_enforced_.size()) { 725 return sw_enforced_[pos - hw_enforced_.size()]; 731 const AuthorizationSet& hw_enforced_;
|