From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 0578524F5A for ; Wed, 15 May 2019 04:01:20 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OrHdJWptmnEY for ; Wed, 15 May 2019 04:01:19 -0400 (EDT) Received: from smtp3.mail.ru (smtp3.mail.ru [94.100.179.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id B4B2523C49 for ; Wed, 15 May 2019 04:01:19 -0400 (EDT) Received: by smtp3.mail.ru with esmtpa (envelope-from ) id 1hQoqj-0005YH-R3 for tarantool-patches@freelists.org; Wed, 15 May 2019 11:01:18 +0300 From: =?utf-8?B?0JPQtdC+0YDQs9C40Lkg0JrQuNGA0LjRh9C10L3QutC+?= Subject: [tarantool-patches] Re: [PATCH v3 4/4] crypto: use crypto library in crypto.lua Date: Wed, 15 May 2019 11:01:17 +0300 Message-ID: <1679360.outRNIRxmt@home.lan> In-Reply-To: <470c7d23d93014f4c03bb7f1085a33cc8e249097.1557262174.git.v.shpilevoy@tarantool.org> References: <470c7d23d93014f4c03bb7f1085a33cc8e249097.1557262174.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart7708436.fHuroqeXFl"; micalg="pgp-sha256"; protocol="application/pgp-signature" Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org --nextPart7708436.fHuroqeXFl Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Looks good except this: (two points near cipher..c) > +c:init(nil, iv) > +cipher = c:update('plain ') > +cipher = cipher..c:update('next plain') > +cipher = cipher..c:result() > +crypto.cipher.aes128.cbc.decrypt(cipher, key, iv) > +-- Reuse. --nextPart7708436.fHuroqeXFl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEFB+nbqWGnp59Rk9ZFSyY70x8X3sFAlzbx00ACgkQFSyY70x8 X3uqHggAgKygmiAwU3/NAY5rjuzqVT7wU2+XjUsAvj84BPJYF83NJ9BDQw3sMHS7 4149fOTb7KLEpH1+D1XdMFqAXSmvkKFCgDTjolioFonKs1iA3cqu27XvVPCE/riI 7/OQDne1QNhO1+sqJDIacwJhdb0+MF31wy+KvDe+dXR1KQ/HnwSOyIoZx5jz8zEu lDDdqIDoHPjqu0Uif9hNYayf3Uo1WC/d56Q1jbwgqFs/99hVldn7CAfeC8kanbrH epCYWMfaxeRIfs5+ue1OlHx4/6HAZh006nk+2b2GFn2BI0So723suqA9FTcglvag vLjh+uckEUHxnOzPDNgvM5z6A7FIog== =xQX7 -----END PGP SIGNATURE----- --nextPart7708436.fHuroqeXFl--