AES-CCM [Was: Re: Question performnace of SSH v1 vs SSH v2]

This is a discussion on AES-CCM [Was: Re: Question performnace of SSH v1 vs SSH v2] within the OpenSSH Development forums, part of the Networking and Network Related category; >> I have looked at implementing AES CCM, which could be much faster, >> particularly on platforms with ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2005
Andy Polyakov
 
Posts: n/a
Default AES-CCM [Was: Re: Question performnace of SSH v1 vs SSH v2]

>> I have looked at implementing AES CCM, which could be much faster,
>> particularly on platforms with AES implemented in CPU instructions, but
>> it doesn't fit nicely in the cipher and MAC negotiation mechanism.

>
> That would actually be amazingly cool.


Keep in mind that CCM mode calls encryption function twice per each
block, meaning that it's ~2 as slow as encryption alone. Therefore
performance gain can be observed only if hash function is slower than
AES, which is not necessarily case. At least it's not the case with
currently widely used hash functions. As of now hardware AES is
virtually the only occasion, when it's beneficial to favor CCM over
combination with e.g. SHA1 [provided that SHA1 is implemented in
software], but as new slower hash functions are adopted, CCM becomes
more attractive even for software-only systems. It makes sense to
implement the mode algorithm at OpenSSL level [it would be possible to
optimize it at lower level in both hardware and software cases], so
when/if you figure out negotiation, give me a note. A.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:36 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0