blob: 094d3a020b4ceaad4c0d0b696a8185b121c25958 [file] [log] [blame]
/*
* Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
*/
syntax = "proto3";
package ts_crypto;
enum Opcode {
NOP = 0x0000;
GENERATE_KEY = 0x0101;
DESTROY_KEY = 0x0102;
EXPORT_KEY = 0x0105;
EXPORT_PUBLIC_KEY = 0x0106;
IMPORT_KEY = 0x0107;
SIGN_HASH = 0x0108;
VERIFY_HASH = 0x0109;
ASYMMETRIC_DECRYPT = 0x010a;
ASYMMETRIC_ENCRYPT = 0x010b;
GENERATE_RANDOM = 0x010c;
}