blob: c512f1be89790d93918cb4f43d4218f260fa7da0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// +build !enable_trezor
package readpassword
import (
"os"
"github.com/rfjakob/gocryptfs/internal/tlog"
)
const (
// TrezorPayloadLen is the length of the payload data passed to Trezor's
// CipherKeyValue function.
TrezorPayloadLen = 32
)
// Trezor determinitically derives 32 bytes from the payload and the connected
// USB security module.
func Trezor(payload []byte) []byte {
tlog.Fatal.Printf("\"-trezor\" is not implemented yet.")
os.Exit(1)
return nil
}
|