Searched refs:nokey_name (Results 1 – 1 of 1) sorted by relevance
375 struct fscrypt_nokey_name nokey_name; in fscrypt_fname_disk_to_usr() local401 nokey_name.dirhash[0] = hash; in fscrypt_fname_disk_to_usr()402 nokey_name.dirhash[1] = minor_hash; in fscrypt_fname_disk_to_usr()404 if (iname->len <= sizeof(nokey_name.bytes)) { in fscrypt_fname_disk_to_usr()405 memcpy(nokey_name.bytes, iname->name, iname->len); in fscrypt_fname_disk_to_usr()408 memcpy(nokey_name.bytes, iname->name, sizeof(nokey_name.bytes)); in fscrypt_fname_disk_to_usr()410 sha256(&iname->name[sizeof(nokey_name.bytes)], in fscrypt_fname_disk_to_usr()411 iname->len - sizeof(nokey_name.bytes), in fscrypt_fname_disk_to_usr()412 nokey_name.sha256); in fscrypt_fname_disk_to_usr()415 oname->len = fscrypt_base64url_encode((const u8 *)&nokey_name, size, in fscrypt_fname_disk_to_usr()[all …]