aboutsummaryrefslogtreecommitdiff
path: root/utils/last_gasp_default_pin
diff options
context:
space:
mode:
Diffstat (limited to 'utils/last_gasp_default_pin')
-rwxr-xr-xutils/last_gasp_default_pin4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/last_gasp_default_pin b/utils/last_gasp_default_pin
index e0d9839..c2ca965 100755
--- a/utils/last_gasp_default_pin
+++ b/utils/last_gasp_default_pin
@@ -56,6 +56,10 @@ parser.add_argument("-i", "--iterations",
type = int,
default = 100000,
help = "PBKDF2 iteration count")
+parser.add_argument("-d", "--derived-key-length",
+ type = int,
+ default = 64,
+ help = "length of BPKDF2 output (must match libhal)")
args = parser.parse_args()
def HMAC_SHA256(pin, salt):