diff options
author | Christian Pointner <equinox@anytun.org> | 2017-09-17 15:19:10 +0200 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2017-09-17 15:19:10 +0200 |
commit | b04024bd2de0382388d4222c903fd0018cc67d02 (patch) | |
tree | 77edb1b94bc881877ab3001a200d9ef199b32b56 /satp | |
parent | minor refactoring (diff) |
changed KeyDerivation Interface to use provided memory rather then allocatiing one
Diffstat (limited to 'satp')
-rw-r--r-- | satp/crypto-kd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/satp/crypto-kd.go b/satp/crypto-kd.go index b2b63df..39a3d01 100644 --- a/satp/crypto-kd.go +++ b/satp/crypto-kd.go @@ -51,7 +51,7 @@ const ( ) type KeyDerivation interface { - Generate(dir KeyDirection, usage KeyUsage, sequenceNumber uint32) ([]byte, error) + Generate(dir KeyDirection, usage KeyUsage, sequenceNumber uint32, out []byte) error } func getLabel(dir KeyDirection, usage KeyUsage) uint32 { |