Lines Matching refs:prep
65 struct key_preparsed_payload *prep) in fscrypt_key_instantiate() argument
67 key->payload.data[0] = (struct fscrypt_master_key *)prep->data; in fscrypt_key_instantiate()
103 struct key_preparsed_payload *prep) in fscrypt_user_key_instantiate() argument
504 static int fscrypt_provisioning_key_preparse(struct key_preparsed_payload *prep) in fscrypt_provisioning_key_preparse() argument
506 const struct fscrypt_provisioning_key_payload *payload = prep->data; in fscrypt_provisioning_key_preparse()
508 if (prep->datalen < sizeof(*payload) + FSCRYPT_MIN_KEY_SIZE || in fscrypt_provisioning_key_preparse()
509 prep->datalen > sizeof(*payload) + FSCRYPT_MAX_KEY_SIZE) in fscrypt_provisioning_key_preparse()
519 prep->payload.data[0] = kmemdup(payload, prep->datalen, GFP_KERNEL); in fscrypt_provisioning_key_preparse()
520 if (!prep->payload.data[0]) in fscrypt_provisioning_key_preparse()
523 prep->quotalen = prep->datalen; in fscrypt_provisioning_key_preparse()
528 struct key_preparsed_payload *prep) in fscrypt_provisioning_key_free_preparse() argument
530 kfree_sensitive(prep->payload.data[0]); in fscrypt_provisioning_key_free_preparse()