Lines Matching refs:nonce
112 if (mode->ivsize < offsetofend(union fscrypt_iv, nonce)) {
318 * @nonce: nonce to use
321 * encryption policy. @nonce must be a new random nonce.
327 const u8 nonce[FSCRYPT_FILE_NONCE_SIZE])
345 memcpy(ctx->nonce, nonce, FSCRYPT_FILE_NONCE_SIZE);
362 memcpy(ctx->nonce, nonce, FSCRYPT_FILE_NONCE_SIZE);
459 u8 nonce[FSCRYPT_FILE_NONCE_SIZE];
497 get_random_bytes(nonce, FSCRYPT_FILE_NONCE_SIZE);
498 ctxsize = fscrypt_new_context(&ctx, policy, nonce);
619 /* FS_IOC_GET_ENCRYPTION_NONCE: retrieve file's encryption nonce for testing */
737 * @inode: inode from which to fetch policy and nonce