1// Copyright 2021 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14// 15/////////////////////////////////////////////////////////////////////////////// 16syntax = "proto3"; 17 18package google.crypto.tink; 19 20// Protos for FalconDigital Signature Algorithm. 21// See https://falcon-sign.info/ for more details. 22message FalconKeyFormat { 23 uint32 version = 1; 24 // Required. 25 int32 key_size = 2; 26} 27 28// key_type: type.googleapis.com/google.crypto.tink.FalconPublicKey 29message FalconPublicKey { 30 // Required. 31 uint32 version = 1; 32 // Required. 33 bytes key_value = 2; 34} 35 36// key_type: type.googleapis.com/google.crypto.tink.FalconPrivateKey 37message FalconPrivateKey { 38 // Required. 39 uint32 version = 1; 40 // Required. 41 bytes key_value = 2; 42 // The corresponding public key. 43 FalconPublicKey public_key = 3; 44} 45