Lines Matching refs:std
40 static void zeroize_vector(std::vector<uint8_t>& vec) { in zeroize_vector()
46 const std::string& func_name) { in logKeystore2ExceptionIfPresent()
88 std::string* key) { in generateKey()
91 .alias = std::nullopt, in generateKey()
93 .blob = std::nullopt, in generateKey()
97 in_key, std::nullopt, inParams.vector_data(), 0, {}, &keyMetadata); in generateKey()
101 if (keyMetadata.key.blob == std::nullopt) { in generateKey()
107 std::string(keyMetadata.key.blob->begin(), keyMetadata.key.blob->end()); in generateKey()
114 const std::string& key, std::string* outKeyBlob) { in importKey()
117 .alias = std::nullopt, in importKey()
119 .blob = std::nullopt, in importKey()
121 std::vector<uint8_t> key_vec(key.begin(), key.end()); in importKey()
124 key_desc, std::nullopt, inParams.vector_data(), 0, key_vec, &keyMetadata); in importKey()
128 if (keyMetadata.key.blob == std::nullopt) { in importKey()
135 std::string(keyMetadata.key.blob->begin(), keyMetadata.key.blob->end()); in importKey()
140 bool Keymaster::exportKey(const std::string& kmKey, std::string* key) { in exportKey()
144 .alias = std::nullopt, in exportKey()
148 std::make_optional<std::vector<uint8_t>>(kmKey.begin(), kmKey.end()); in exportKey()
155 *key = std::string(ephemeral_key_response.ephemeralKey.begin(), in exportKey()