From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from APC01-PU1-obe.outbound.protection.outlook.com (mail-pu1apc01on0046.outbound.protection.outlook.com [104.47.126.46]) by dpdk.org (Postfix) with ESMTP id A7EB18025 for ; Fri, 8 Jul 2016 16:48:59 +0200 (CEST) Received: from PS1PR03MB1883.apcprd03.prod.outlook.com (10.167.49.153) by PS1PR03MB1882.apcprd03.prod.outlook.com (10.167.49.152) with Microsoft SMTP Server (TLS) id 15.1.534.14; Fri, 8 Jul 2016 14:48:56 +0000 Received: from PS1PR03MB1883.apcprd03.prod.outlook.com ([10.167.49.153]) by PS1PR03MB1883.apcprd03.prod.outlook.com ([10.167.49.153]) with mapi id 15.01.0534.020; Fri, 8 Jul 2016 14:48:56 +0000 From: To: Thread-Topic: [dpdk] [Snow 3g Hash API] Thread-Index: AdHZJrDM1/j/ZLUSQZySZ00Rnm4XDw== Date: Fri, 8 Jul 2016 14:48:56 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=amartya.das@wipro.com; x-originating-ip: [125.16.242.6] x-ms-office365-filtering-correlation-id: d3520455-02c7-4f6e-4d11-08d3a73efd33 x-microsoft-exchange-diagnostics: 1; PS1PR03MB1882; 6:FdXmpxL6e01NBT8+Cly/+w3X736H1D5QqiqA3oDcPt6ZLVHRC5wA7p1nAPWR9Zy3jFHYE1Vt02E5ttmWvkreaHC+4CeBIT00rj2fHGxd3HeBnMdf6bS4XetxkWzcdVUgVRZUAi3Y0L3A+N6aX1fi3MnsfpZEeBwG/LIjJ3cHmkTCxyT2skNlvTGGZDtS1D3Ct+Sz92oy21FkGEQsWwzMx4ZIK4ZAr7OIGmHSQJOH2pB3tb7c/N3af5s+uv/+kNKQ5XjZ5SJpcYb7aF+hCmGxIEyd9cW8uVzYep+ZM7JAA+EX8H/U4DWkVa8ZnP/xr93fkl1yX7HsyfCfiVYrgA+z/w==; 5:RbnBESVkg6I7SUBCE/Z2aDZeuzBDmJ6Aj6DqJgp6f5ZJ+a/Ew9eF67wzexVkmnDu9bZS8vjU3wJjejVRW/YWwZA+R7t4VwdABKKk4kAFdYNtCmU+LPllJpumUZIGsu28byKM4bjaGch7NPA5jcHThA==; 24:wrGdYQWe1qcNKpn5cH4iMSBtEgmLN9z729I99XIIbV3z1MC0IahbVAtSImwmcx0StXn/kEeMJ6NaJADa2MGpPbx8H8ubveGP2MVmSE6rT0Q=; 7:jCRUbBOLs0t8oT+aZ6z+5Xlp1l7UCWcfgqwtMpx53G9BaEqRbis5U5CrOnItteWrOMHdxeor3EMbGuGMbeqJ27ThQCW5g1j5uiaIwgxxZ12a2Dsy62WQ+pNFXMh9fgR1CZ02j0g12M4n2gPcKxEpN4D9kVt4rps2SiCrhbT6CKeOf/Pm0CZHKaAwZ09n4DMF8EzXwaB41xd8ZF/8DgNO7XpjzawDYMJKwBwS1mKuPSUWS3vkFSd6axxI7CWQ7thx x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:PS1PR03MB1882; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(267259832677123)(62627912741753)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(61426038)(61427038); SRVR:PS1PR03MB1882; BCL:0; PCL:0; RULEID:; SRVR:PS1PR03MB1882; x-forefront-prvs: 0997523C40 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(51874003)(189002)(199003)(7846002)(9686002)(5003600100003)(15974865002)(92566002)(7736002)(7696003)(3660700001)(76576001)(3280700002)(2900100001)(11100500001)(87936001)(189998001)(6116002)(586003)(790700001)(19300405004)(3846002)(102836003)(10400500002)(81156014)(68736007)(110136002)(19580395003)(8676002)(81166006)(2906002)(107886002)(74316002)(50986999)(66066001)(54356999)(97736004)(9326002)(1730700003)(8936002)(5630700001)(5640700001)(19625215002)(2351001)(106356001)(229853001)(5890100001)(77096005)(5002640100001)(122556002)(33656002)(15975445007)(450100001)(16236675004)(101416001)(105586002)(86362001)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:PS1PR03MB1882; H:PS1PR03MB1883.apcprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: wipro.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: wipro.com X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2016 14:48:56.6580 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 258ac4e4-146a-411e-9dc8-79a9e12fd6da X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR03MB1882 X-MS-Exchange-CrossPremises-AuthAs: Internal X-MS-Exchange-CrossPremises-AuthMechanism: 04 X-MS-Exchange-CrossPremises-AuthSource: PS1PR03MB1883.apcprd03.prod.outlook.com X-MS-Exchange-CrossPremises-SCL: 1 X-MS-Exchange-CrossPremises-messagesource: StoreDriver X-MS-Exchange-CrossPremises-BCC: X-MS-Exchange-CrossPremises-originalclientipaddress: 125.16.242.6 X-MS-Exchange-CrossPremises-avstamp-service: 1.0 X-MS-Exchange-CrossPremises-disclaimer-hash: ef6ed6a830673538406bd527e716551fd2daba1e446b50e7f1f30c79ce70f874 X-MS-Exchange-CrossPremises-antispam-scancontext: DIR:Originating; SFV:NSPM; SKIP:0; X-MS-Exchange-CrossPremises-processed-by-journaling: Journal Agent X-OrganizationHeadersPreserved: PS1PR03MB1882.apcprd03.prod.outlook.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] [dpdk] [Snow 3g Hash API] X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2016 14:49:00 -0000 Hi, I am trying to integrate Snow3G API in our stack. I have made a below data = dump to be used for unit test: struct snow3g_hash_test_data snow3g_hash_test_case_2 =3D { .key =3D { .data =3D {0xe4,0xa8,0x46,0x48,0x1e,0xbd,0x= 10,0x26,0x70,0xe2,0x3a,0xc0,0x32,0xfb,0xca,0xe0}, .len =3D 16 }, .aad =3D { .data =3D { 0x00, 0x00, 0x00, 0x00, 0x0= 0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0= 0, 0x00, 0x00, 0x00 }, .len =3D 16 }, .plaintext =3D { .data =3D {0x83, 0x32, 0x00, 0x10}, .len =3D 32 }, .validAuthLenInBits =3D { .len =3D 32 }, .validAuthOffsetLenInBits =3D { .len =3D 128 }, .digest =3D { .data =3D {0x38, 0xB5, 0x54, 0xC0 }, .len =3D 4 } }; However, I want to test with count =3D 1024, dir =3D 01, fresh =3D 0 as per= 3gpp test vector . In that case aad.data value will be changed. It will be a great help, if anybody could tell what will be add.data value = for that and logic to put the data accordingly. Thanks in advance. BRs Amartya The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and ma= y contain proprietary, confidential or privileged information. If you are n= ot the intended recipient, you should not disseminate, distribute or copy t= his e-mail. Please notify the sender immediately and destroy all copies of = this message and any attachments. WARNING: Computer viruses can be transmit= ted via email. The recipient should check this email and any attachments fo= r the presence of viruses. The company accepts no liability for any damage = caused by any virus transmitted by this email. www.wipro.com