aboutsummaryrefslogtreecommitdiff
path: root/cmd/fscrypt
diff options
context:
space:
mode:
authorJoe Richey <joerichey@google.com>2017-03-02 17:32:50 -0800
committerJoe Richey joerichey@google.com <joerichey@google.com>2017-05-02 13:39:18 -0700
commit3f9c09b1e0901248c96c47e392a2888c40b2f182 (patch)
treeabdf39c4db24c9b44826ab1838b609d4463ffb8d /cmd/fscrypt
parentee10adc91e79bca395a6b069797a99863fc957dd (diff)
crypto: passphrase hashing with Argon2
This commit adds in the PassphraseHash function which hashes the provided passphrase (in key form) using Argon2id. This cost parameters for Argon2id and that salt are both fed into the function. It also includes tests and benchmarks for the passphrase hashing. Change-Id: I060db3e71213c756d45ce5603a0a59d3d7a1e609
Diffstat (limited to 'cmd/fscrypt')
0 files changed, 0 insertions, 0 deletions