lkml.org 
[lkml]   [2003]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH CIFS] use CryptoAPI MD4/MD5
what about CryptoAPI is so expensive that you can't use a stack-based
context?

this seems pretty dumb converting a stack-based md5 context to multiple
instances in multiple structures.

the stack is almost guaranteed to be in L1 cache.

multiplying that structure by N connections is just a waste of memory
bandwidth. not to mention the locking crud you seem to need to do... the
stack is implicitly locked.

is CryptoAPI really this broken?

-dean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.084 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site