Lines Matching refs:proto_key
142 google::crypto::tink::Ed25519PublicKey proto_key; in ParsePublicKey() local
145 if (!proto_key.ParseFromString(std::string( in ParsePublicKey()
150 if (proto_key.version() != 0) { in ParsePublicKey()
167 return Ed25519PublicKey::Create(*parameters, proto_key.key_value(), in ParsePublicKey()
183 google::crypto::tink::Ed25519PrivateKey proto_key; in ParsePrivateKey() local
186 if (!proto_key.ParseFromString( in ParsePrivateKey()
191 if (proto_key.version() != 0) { in ParsePrivateKey()
209 *parameters, proto_key.public_key().key_value(), in ParsePrivateKey()
216 *public_key, RestrictedData(proto_key.key_value(), *token), in ParsePrivateKey()
238 google::crypto::tink::Ed25519PublicKey proto_key; in SerializePublicKey() local
239 proto_key.set_version(0); in SerializePublicKey()
241 proto_key.set_key_value( in SerializePublicKey()
251 proto_key.SerializeAsString(), InsecureSecretKeyAccess::Get()); in SerializePublicKey()