Home
last modified time | relevance | path

Searched refs:cfa_blob (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/fs/ceph/
H A Dcrypto.h53 u8 cfa_blob[FSCRYPT_SET_CONTEXT_MAX_SIZE]; member
61 return offsetof(struct ceph_fscrypt_auth, cfa_blob) + ctxsize; in ceph_fscrypt_auth_len()
H A Dcrypto.c78 if (!cfa || (ci->fscrypt_auth_len < (offsetof(struct ceph_fscrypt_auth, cfa_blob) + 1))) in ceph_crypt_get_context()
89 memcpy(ctx, cfa->cfa_blob, ctxlen); in ceph_crypt_get_context()
112 memcpy(cfa->cfa_blob, ctx, len); in ceph_crypt_set_context()
169 ctxsize = fscrypt_context_for_new_inode(as->fscrypt_auth->cfa_blob, in ceph_fscrypt_prepare_context()