Lines Matching refs:fscrypt_nokey_name
29 * struct fscrypt_nokey_name - identifier for directory entry when key is absent
58 struct fscrypt_nokey_name {
67 * sizeof(struct fscrypt_nokey_name), as the padding at the end isn't included.
69 #define FSCRYPT_NOKEY_NAME_MAX offsetofend(struct fscrypt_nokey_name, sha256)
364 * encode it for presentation in fscrypt_nokey_name format.
365 * See struct fscrypt_nokey_name for details.
375 struct fscrypt_nokey_name nokey_name;
392 * Sanity check that struct fscrypt_nokey_name doesn't have padding
395 BUILD_BUG_ON(offsetofend(struct fscrypt_nokey_name, dirhash) !=
396 offsetof(struct fscrypt_nokey_name, bytes));
397 BUILD_BUG_ON(offsetofend(struct fscrypt_nokey_name, bytes) !=
398 offsetof(struct fscrypt_nokey_name, sha256));
406 size = offsetof(struct fscrypt_nokey_name, bytes[iname->len]);
437 * decode it to get the struct fscrypt_nokey_name. Non-@lookup operations will
447 struct fscrypt_nokey_name *nokey_name;
497 if (ret < (int)offsetof(struct fscrypt_nokey_name, bytes[1]) ||
498 (ret > offsetof(struct fscrypt_nokey_name, sha256) &&
512 ret - offsetof(struct fscrypt_nokey_name, bytes);
532 * we'll need to match against a fscrypt_nokey_name that includes a strong hash.
539 const struct fscrypt_nokey_name *nokey_name =