Re: Hifn 7955/7956 crypto accelerator questions



On Tue, Oct 31, 2006 at 04:29:01PM -0500, Nicolas Blais wrote:
Hi,

I'm looking to get a couple of Soekris vpn1401 (hifn 7955) or vpn1461 (hifn
7956) to do some performance tests in a military environment with FreeBSD
systems. Since this is a big project and I don't want to jump in something
destined to fail, I'll ask your expertise.

1. After searching the mailing lists for reports of performance with openssl
and cryptop accelerators, I did not find anything that showed an increase in
performance with the cards (though some posts date back to FBSD4.8). Does
openssl today make correct use of the crypto hardware?

I believe it can in modern versions.

2. From what I understand, ssh is supposed to increase in performance with
those cards. Assuming two FreeBSD computers with crypto accelerators are
transfering big files (say sftp) in a cipher that the card and driver
supports, would the transfer rate be at or near clear-text speed (in a
100mbps link)?

It all depends on your CPU and your algorithm. For example, looking
the data from the HPN-SSH project, you'll see they are getting >100Mbps
throughput with SCP encrypted with AES. That meets your requirements
below, but that's with a fairly fast CPU. If you need to use a slow CPU
an accelerator may help.

http://www.psc.edu/networking/projects/hpn-ssh/

3. How does GEOM_ELI uses crypto hardware to accelerate working with encrypted
partitions? Again, with big file systems, would a gain in performance be
noticeable?

Yes and maybe. Again, it depends. With a modern CPU the older hifn
cards probably won't show much benefit.

4. Also, it seems that asymmetric crypto support is not yet implemented in the
hifn driver (according to the man page). Is it safe to assume that pgp will
not be accelerated? Any plans to support it? (perhaps this is an OpenBSD
question...)

PGP mostly uses an asymmetric cypher encrypted using RSA or DSA because
they are too slow to encrypt even a small file otherwise. If PGP used
OpenSSL for that part and the OpenSSL supported acceleration, and PGP was
configured to use an accelerated symmetric cipher then you would see
some speedup. You'd still have the cost of generating the random
symmetric key and encrypting it, but for large files the cost would be
reduced.

The whole idea is to reduce conversion and transfer time with highly
sensitive, huge files (> 1 GB, sometimes near 10 GB). We currently use a
commercial software compatible with PGP, but there are security and
logistical issues with it (the commercial software, not PGP). Encrypting a
2GB file with PGP, even on a modern machine, takes a long time. I've done
tests with geli and am so far satisfied with it, but it is a storage
encryption and doesn't allow us to safely transfer data unless we physically
transfert the disk or use ssh. With geli, you also have to make sure that the
created partition is only readable/writeable by the user you want access
allowed to which reduces the total security of the information due to human
negligeance.

Assuming non-trivial bandwidth-delay products, you'll definitely want to
look at HPN-SSH and understand what it does even if you don't end up
using it.

-- Brooks

Attachment: pgpPJNVyREMJ3.pgp
Description: PGP signature



Relevant Pages

  • NTFS and PGP interact to expose EFS encrypted data
    ... NTFS and PGP interact to expose EFS encrypted data ... As explorer works it's way through the file system encrypting the ... The permissions on the temp file are set to a very ... Do not enable PGP's Wipe Deleted Files option if you are using ...
    (NT-Bugtraq)
  • NTFS and PGP interact to expose EFS encrypted data
    ... NTFS and PGP interact to expose EFS encrypted data ... As explorer works it's way through the file system encrypting the ... The permissions on the temp file are set to a very ... Do not enable PGP's Wipe Deleted Files option if you are using ...
    (Bugtraq)
  • Re: PGP
    ... Subject: PGP ... > encrypting an email with PGP, then providing the key to decrypt it is ... Anyone can use that key to decrypt the email. ... Only the recipient's private key (which is not [and should not ...
    (Security-Basics)
  • RE: PGP scripting...
    ... I would assume that the main reason you're encrypting the data on disk ... likely can access the key files that you said are also locally on disk. ... At a very minimum, I would explain this to your client, and if they ... Just my $0.02 Whatever you do, if you learn of a Java-based PGP ...
    (SecProg)
  • Re: Where to store id/password on the net?
    ... > I would recommend using a plain text file and encrypting it ... > Your only problem then is computers without PGP installed. ... I agree that a USB key is a good solution, and that if I encrypt my ... my small personal site, something just like ...
    (comp.security.misc)

Quantcast