[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IPsec and TCP
> >This is interesting. I knew that TCP/IP will be miserably slow when
> >you throw DES into it (about 1 Mbit/sec @ 200 Mhz on a Pentium) but I
>
> I don't know where you get such pessimistic figures. My own DES
> (in a mix of C and 386 assembler) gets 15.9 megabits/sec on a 133
> (not 200) MHz Pentium, and in triple DES mode gets about 6
> megabits as I recall. The source is free by email to anybody who
> will state that they're a US citizen or permanent resident
> physically in the US.
>
This is what I get on a 133 under NeXTSTEP 3.3 against libdes-3.23
> > % speed
> > Doing set_key for 10 seconds
> > 819602 set_key's in 8.77 seconds
> > Doing des_ecb_encrypt's for 10 seconds
> > 1277920 des_ecb_encrypt's in 8.84 second
> > Doing des_cbc_encrypt on 8192 byte blocks for 10 seconds
> > 1307 des_cbc_encrypt's of 8192 byte blocks in 9.31 second
> > Doing des_ede_cbc_encrypt on 8192 byte blocks for 10 seconds
> > 485 des_ede_cbc_encrypt's of 8192 byte blocks in 9.34 second
> > Doing crypt for 10 seconds
> > 47930 crypts in 9.31 second
> > set_key per sec = 93501.83 ( 10.7uS)
> > DES ecb bytes per sec = 1155998.30 ( 6.9uS)
> > DES cbc bytes per sec = 1149738.95 ( 7.0uS)
> > DES ede cbc bytes per sec = 425216.86 ( 18.8uS)
> > crypt per sec = 5146.85 (194.3uS)
> >
>
-dpg
References: