aboutsummaryrefslogtreecommitdiff
path: root/gocryptfs-xray/xray_main.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-10-04 00:12:29 +0200
committerJakob Unterwurzacher2016-10-04 00:16:56 +0200
commitbb52937834e8adb8e746a1951aba633e02dc87f2 (patch)
tree3bf2cc8318ea56467868cadb2f64a8ac5fba2d09 /gocryptfs-xray/xray_main.go
parent46018785b41cac7cfd79174e7f7ca41443a7231a (diff)
cryptocore: derive 512-bit key for AES-SIV
AES-SIV uses 1/2 of the key for authentication, 1/2 for encryption, so we need a 64-byte key for AES-256. Derive it from the master key by hashing it with SHA-512.
Diffstat (limited to 'gocryptfs-xray/xray_main.go')
0 files changed, 0 insertions, 0 deletions