Lines Matching defs:nonce
112 if (mode->ivsize < offsetofend(union fscrypt_iv, nonce)) {
293 * @nonce: nonce to use
296 * encryption policy. @nonce must be a new random nonce.
302 const u8 nonce[FSCRYPT_FILE_NONCE_SIZE])
320 memcpy(ctx->nonce, nonce, FSCRYPT_FILE_NONCE_SIZE);
336 memcpy(ctx->nonce, nonce, FSCRYPT_FILE_NONCE_SIZE);
432 u8 nonce[FSCRYPT_FILE_NONCE_SIZE];
470 get_random_bytes(nonce, FSCRYPT_FILE_NONCE_SIZE);
471 ctxsize = fscrypt_new_context(&ctx, policy, nonce);
592 /* FS_IOC_GET_ENCRYPTION_NONCE: retrieve file's encryption nonce for testing */
710 * @inode: inode from which to fetch policy and nonce