From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KSEwrFD8OvpC for ; Fri, 20 Apr 2012 11:28:56 +0200 (CEST) Received: from mail-iy0-f178.google.com (mail-iy0-f178.google.com [209.85.210.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Fri, 20 Apr 2012 11:28:56 +0200 (CEST) Received: by iakl21 with SMTP id l21so17026820iak.37 for ; Fri, 20 Apr 2012 02:28:54 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 20 Apr 2012 17:28:54 +0800 Message-ID: From: Rodel Miguel Content-Type: multipart/alternative; boundary=14dae934045bcf8bdb04be18ea52 Subject: [dm-crypt] why nbytes for block cipher encrypt/decrypt is only 512 bytes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Cc: Rodel Miguel --14dae934045bcf8bdb04be18ea52 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am implementing a hardware encryption driver but I am having some performance issues. One of the areas of performance improvement that I am thinking is to increase the number of bytes (unsigned int nbytes) that my block cipher driver's encrypt/decrypt function gets; from 512 to 4096 bytes. My hardware can be maximized to 4kbytes. Do you have any suggestions how I can maximize the en/decrypt performance by getting more than 512 bytes of data every time the block cipher's encrypt/decrypt is called? Thank you very much for your help! Kind Regards, Rodel --14dae934045bcf8bdb04be18ea52 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I am implementing a hardware encryption driver but I= am having some performance issues. =A0One of the areas of performance impr= ovement that I am thinking is to increase the number of bytes (unsigned int= nbytes) that my block cipher driver's encrypt/decrypt function gets; f= rom 512 to 4096 bytes. =A0My hardware can be maximized to 4kbytes. =A0Do yo= u have any suggestions how I can maximize the en/decrypt performance by get= ting more than 512 bytes of data every time the block cipher's encrypt/= decrypt is called?

Thank you very much for your help!

=
Kind Regards,
Rodel
--14dae934045bcf8bdb04be18ea52--