Searched refs:keyfile (Results 1 - 2 of 2) sorted by relevance

/systemd/src/cryptsetup/
H A Dcryptsetup-generator.c41 char *keyfile; member in struct:crypto_device
242 free(d->keyfile);
264 d->keyfile = d->options = d->name = NULL;
334 free(d->keyfile);
335 d->keyfile = uuid_value;
385 _cleanup_free_ char *name = NULL, *device = NULL, *keyfile = NULL, *options = NULL; local
396 k = sscanf(l, "%ms %ms %ms %ms", &name, &device, &keyfile, &options);
415 r = create_disk(name, device, keyfile, (d && d->options) ? d->options : options);
455 r = create_disk(d->name, device, d->keyfile ?: arg_default_keyfile, options);
/systemd/test/TEST-02-CRYPTSETUP/
H A Dtest.sh14 cryptsetup luksOpen ${LOOPDEV}p2 varcrypt <$TESTDIR/keyfile
38 echo -n test >$TESTDIR/keyfile
39 cryptsetup -q luksFormat ${LOOPDEV}p2 $TESTDIR/keyfile
40 cryptsetup luksOpen ${LOOPDEV}p2 varcrypt <$TESTDIR/keyfile

Completed in 12 milliseconds