24 lines
383 B
Protocol Buffer
24 lines
383 B
Protocol Buffer
|
// Copyright (C) 2019 Storj Labs, Inc.
|
||
|
// See LICENSE for copying information.
|
||
|
|
||
|
syntax = "proto3";
|
||
|
option go_package = "pb";
|
||
|
|
||
|
package encryption;
|
||
|
|
||
|
message EncryptionParameters {
|
||
|
CipherSuite cipher_suite = 1;
|
||
|
int64 block_size = 2;
|
||
|
}
|
||
|
|
||
|
message CipherSuite {
|
||
|
enum Type {
|
||
|
ENC_UNSPECIFIED = 0;
|
||
|
ENC_NULL = 1;
|
||
|
ENC_AESGCM = 2;
|
||
|
ENC_SECRETBOX = 3;
|
||
|
}
|
||
|
|
||
|
Type type = 1;
|
||
|
}
|