caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Jehan Pagès" <jehan.marmottard@gmail.com>
To: Francis Dupont <Francis.Dupont@fdupont.fr>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Ocaml and cryptography
Date: Sat, 26 Mar 2011 15:47:41 +0900	[thread overview]
Message-ID: <AANLkTimg4Q6rucJjfKjgtLiLo2NX-oRLEGFXGv+h7VDd@mail.gmail.com> (raw)
In-Reply-To: <201103241651.p2OGpuSK090082@givry.fdupont.fr>

Hi,

I see. Indeed I checked OpenSSL, it is using massively assembly code
for SHA1 and many other (all?) crypto code...

And my tests on a 64 bits machine and the huge improvement for OpenSSL
there makes me think that they must be making very good use of the 64
bits register for saving the 32 bits words of SHA1 algorithm (they
probably make some calculation on 2 words at once thanks to this).

Jehan

2011/3/25 Francis Dupont <Francis.Dupont@fdupont.fr>:
> This is not the first study about crypto implementation speeds.
> Usually the winner for heavily used algorithms is OpenSSL,
> BTW not because it is well written but simply because it is
> optmized in assembly for common platforms (including SSE* & co
> on x86).
>
> Regards
>
> Francis.Dupont@fdupont.fr
>

  reply	other threads:[~2011-03-26  6:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-24 12:17 Jehan Pagès
2011-03-24 13:26 ` Gerd Stolpmann
2011-03-26  6:44   ` Jehan Pagès
2011-03-28 19:13     ` Gerd Stolpmann
2011-03-24 16:51 ` Francis Dupont
2011-03-26  6:47   ` Jehan Pagès [this message]
2011-03-26  9:06     ` Anil Madhavapeddy
2011-03-26 11:53       ` Jehan Pagès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimg4Q6rucJjfKjgtLiLo2NX-oRLEGFXGv+h7VDd@mail.gmail.com \
    --to=jehan.marmottard@gmail.com \
    --cc=Francis.Dupont@fdupont.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).