[Mono-devel-list] plans for a native AES wrapper.

Allan Hsu allan at counterpop.net
Mon Jul 18 16:03:08 EDT 2005


     After last week's AES benchmarking, we've decided to write a  
managed->native wrapper around the openssl libcrypto library for the  
sake of performance. From my experience with embedded mono, it seems  
straightforward enough to write a RijndaelNative class that contains  
method declarations marked as internal calls that I will register at  
runtime. This will work fine for the cases where I'm embedding mono  
inside a native application, but I don't know enough about mono to  
know if I can use this same strategy for situations in which I'm not  
embedding mono. Is it possible to register internal calls at runtime  
when running mono like a normal, sane person? Will this be any faster  
than using p/Invoke?

     -Allan
--
Allan Hsu <allan at counterpop dot net>
1E64 E20F 34D9 CBA7 1300  1457 AC37 CBBB 0E92 C779





More information about the Mono-devel-list mailing list