From nobody@FreeBSD.org  Sun Dec 15 18:20:46 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id D74D1F3E
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Dec 2013 18:20:46 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id AAC681667
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Dec 2013 18:20:46 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rBFIKkUt039498
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Dec 2013 18:20:46 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rBFIKkse039476;
	Sun, 15 Dec 2013 18:20:46 GMT
	(envelope-from nobody)
Message-Id: <201312151820.rBFIKkse039476@oldred.freebsd.org>
Date: Sun, 15 Dec 2013 18:20:46 GMT
From: Lou <tplou@sonic.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: openssl aes-256-xts decrypt gives empty output
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         184783
>Category:       bin
>Synopsis:       openssl(1): openssl aes-256-xts decrypt gives empty output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 15 18:30:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Sun Apr 20 21:52:00 UTC 2014
>Originator:     Lou
>Release:        
>Organization:
>Environment:
FreeBSD 10.0-PRERELEASE r259100 amd64
>Description:
The aes-256-xts decryption produce empty output.
>How-To-Repeat:
The following produce nothing:

% echo "123" | openssl aes-256-xts -e -k hello | openssl aes-256-xts -d -k hello

If you change xts to cbc, you can 123 from stdout.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
