Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752656AbcLGMoE (ORCPT ); Wed, 7 Dec 2016 07:44:04 -0500 Received: from szxga01-in.huawei.com ([58.251.152.64]:41306 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751631AbcLGMoD (ORCPT ); Wed, 7 Dec 2016 07:44:03 -0500 Message-ID: <584803E4.1040704@huawei.com> Date: Wed, 7 Dec 2016 20:43:16 +0800 From: "Longpeng (Mike)" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: , , CC: Gonglei , "Zhoujian (jay, Euler)" , "Wubin (H)" , , Subject: Question about ctr mode 3des-ede IV len Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.246.209] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 264 Lines: 12 Hi Jussi and Herbert, I saw serveral des3-ede testcases(in crypto/testmgr.h) has 16-bytes IV, and the libgcrypt/nettle/RFC1851 said the IV-len is 8-bytes. Would you please tell me why these testcases has 16-bytes IV ? Thank you. :) -- Regards, Longpeng(Mike)