Lines Matching refs:key
55 std::string* key) { in generateKey() argument
61 if (key) in generateKey()
62 key->assign(reinterpret_cast<const char*>(&keyBlob[0]), keyBlob.size()); in generateKey()
78 km::KeyFormat format, const std::string& key, in importKey() argument
91 const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(key.data())), in importKey()
92 static_cast<size_t>(key.size())); in importKey()
107 bool Keymaster::exportKey(const std::string& kmKey, std::string* key) { in exportKey() argument
115 if (key) in exportKey()
116 key->assign(reinterpret_cast<const char*>(&exportedKeyBlob[0]), in exportKey()
132 bool Keymaster::deleteKey(const std::string& key) { in deleteKey() argument
133 auto keyBlob = km::support::blob2hidlVec(key); in deleteKey()