Lines Matching refs:crypto_buf
411 &fname->crypto_buf.len)) in fscrypt_setup_filename()
413 fname->crypto_buf.name = kmalloc(fname->crypto_buf.len, in fscrypt_setup_filename()
415 if (!fname->crypto_buf.name) in fscrypt_setup_filename()
418 ret = fscrypt_fname_encrypt(dir, iname, fname->crypto_buf.name, in fscrypt_setup_filename()
419 fname->crypto_buf.len); in fscrypt_setup_filename()
422 fname->disk_name.name = fname->crypto_buf.name; in fscrypt_setup_filename()
423 fname->disk_name.len = fname->crypto_buf.len; in fscrypt_setup_filename()
438 fname->crypto_buf.name = kmalloc(FSCRYPT_NOKEY_NAME_MAX, GFP_KERNEL); in fscrypt_setup_filename()
439 if (fname->crypto_buf.name == NULL) in fscrypt_setup_filename()
442 ret = base64_decode(iname->name, iname->len, fname->crypto_buf.name); in fscrypt_setup_filename()
449 fname->crypto_buf.len = ret; in fscrypt_setup_filename()
451 nokey_name = (void *)fname->crypto_buf.name; in fscrypt_setup_filename()
463 kfree(fname->crypto_buf.name); in fscrypt_setup_filename()
486 (const void *)fname->crypto_buf.name; in fscrypt_match_name()