From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from APC01-HK2-obe.outbound.protection.outlook.com (mail-hk2apc01on0052.outbound.protection.outlook.com [104.47.124.52]) by dpdk.org (Postfix) with ESMTP id EBA709616 for ; Fri, 8 Jul 2016 16:57:50 +0200 (CEST) Received: from PS1PR03MB1883.apcprd03.prod.outlook.com (10.167.49.153) by PS1PR03MB1881.apcprd03.prod.outlook.com (10.167.49.151) with Microsoft SMTP Server (TLS) id 15.1.534.14; Fri, 8 Jul 2016 14:57:47 +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:57:47 +0000 From: To: Thread-Topic: dpdk-users] [Snow 3g Hash API] Thread-Index: AdHZKQxqKk0ynvrhSPm1Hx6v9MJ9iA== Date: Fri, 8 Jul 2016 14:57:47 +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: 29566d8c-5767-4e3d-bad8-08d3a740397b x-microsoft-exchange-diagnostics: 1; PS1PR03MB1881; 6:UOkl6w2IfxtwlSvLQeH+HPzCdMmdobocSHv1UJNPwxYqJLYme3PJnosd0im28Mwbh/DNc/9b9FGnNqhCS02C2Cl1yrrIj5kI3uHkDDyuV0aXCXAesC44gyhH7o8GDQav+xlCRv20KH4zETuBYcaxxj/Qm2BBkiamFT2jJwBmciWGOMWnTjksiJHfuN+4kUcHG3KLRoNV7D9tWR84nnmToSimzDRvJ2/d0LrEfThrUYduRl3EQ5aL61cILifAhXxWJyiXmZv+8Y07BrowZypuY1Qcge1E0vzcj649/5Wn6FgXbgxxWfALTqHRdv6RSf//8WHEiAWa7Wc21gUT7ZimrA==; 5:CuqnA52ucQVvNM8rH4LvpJyS0DJ7TG5XWbiPDDWCMmjekpOIPaBGmxuPfci89ShyUao70VKENU9RTz7ozxetSh9XwP0OmDFMaJY37cdaUGJDzonmzG+5J3L/z5SSIvJ3cm+MX0m40INi/Dcan+zczg==; 24:GmO8AvtRu4B2gmbjLswTlztEI91FAo0dLCkS40MlbglyT6uFGzVHXCvHh1IJ1ZsbF46BRlPG9dFuD0M24/PstFJVMGgAjRQG3Wwp5sGNq7E=; 7:2UX/+dMFlBlRhjZQEbbYHIgUkbld/7r0L989ZMu+D2JtkU0IPJcPXe7eb7dsMh0iRAtF1XsTDNWKdq2HP/VJjo0bYhcaZ8iqIjoC3Mu35CH8tam5xKs8R6266dgUjG+d2R2XxOllrpdUNiAQS0XdgatxFNXnFb3C4VBSGGTz5sd9idpI7qEYdS4bViHi0HQ7laQrnPyhuV3j2X9sJy90JJI1GUw1UD0PxFODIWOCgRxnm8654d3L+S9iWEjzhNWO x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:PS1PR03MB1881; 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)(5005006)(8121501046)(10201501046)(3002001)(6055026)(61426038)(61427038); SRVR:PS1PR03MB1881; BCL:0; PCL:0; RULEID:; SRVR:PS1PR03MB1881; x-forefront-prvs: 0997523C40 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(51874003)(189002)(199003)(7846002)(5003600100003)(9686002)(15974865002)(92566002)(7736002)(3660700001)(76576001)(3280700002)(2900100001)(11100500001)(87936001)(189998001)(7696003)(6116002)(102836003)(790700001)(19300405004)(3846002)(586003)(10400500002)(81156014)(8676002)(19580395003)(68736007)(97736004)(81166006)(2906002)(107886002)(74316002)(19625215002)(50986999)(54356999)(66066001)(8936002)(9326002)(101416001)(1730700003)(110136002)(5630700001)(5640700001)(2351001)(106356001)(229853001)(5890100001)(77096005)(5002640100001)(122556002)(33656002)(15975445007)(450100001)(16236675004)(105586002)(86362001)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:PS1PR03MB1881; 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:57:47.2616 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 258ac4e4-146a-411e-9dc8-79a9e12fd6da X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR03MB1881 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: PS1PR03MB1881.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-users] [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:57:52 -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