Lines Matching defs:nonce
72 if (mode->ivsize < offsetofend(union fscrypt_iv, nonce)) {
253 * @nonce: nonce to use
256 * encryption policy. @nonce must be a new random nonce.
262 const u8 nonce[FSCRYPT_FILE_NONCE_SIZE])
280 memcpy(ctx->nonce, nonce, FSCRYPT_FILE_NONCE_SIZE);
296 memcpy(ctx->nonce, nonce, FSCRYPT_FILE_NONCE_SIZE);
392 u8 nonce[FSCRYPT_FILE_NONCE_SIZE];
430 get_random_bytes(nonce, FSCRYPT_FILE_NONCE_SIZE);
431 ctxsize = fscrypt_new_context(&ctx, policy, nonce);
552 /* FS_IOC_GET_ENCRYPTION_NONCE: retrieve file's encryption nonce for testing */