Messages in this thread | | | Date | Sat, 4 Oct 2003 11:00:01 -0700 (PDT) | From | dean gaudet <> | Subject | Re: [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/
| |