aboutsummaryrefslogtreecommitdiff
path: root/protocols/service/crypto/protobuf/asymmetric_encrypt.proto
blob: c85b9da1834a4f01f20efff8c33cc46c6202936c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
 * SPDX-License-Identifier: BSD-3-Clause
 */
syntax = "proto3";

package ts_crypto;

message AsymmetricEncryptIn {
  uint32 handle = 1;
  uint32 alg = 2;
  bytes plaintext = 3;
  bytes salt = 4;
}

message AsymmetricEncryptOut {
  bytes ciphertext = 1;
}