default engine as engine-cudamrg

27 views
Skip to first unread message

jsia

unread,
Jun 22, 2011, 6:16:11 AM6/22/11
to Engine-cudamrg discussion group
Hi,

After installing engine-cuda how could I configure openssl to use
engine-cudamrg by default? Python has its ssl library I think its
tied up with openssl, I like it to use engine cuda by default coz I
could not see any available parameters to pass for it to change
engines. Anyone have any ideas?

Paolo Margara

unread,
Jun 23, 2011, 10:01:14 AM6/23/11
to engine-...@googlegroups.com
Hi,
the instruction for configure openssl for using by default a specific
engine are written into the "Installation & Configuration" page of the
project's wiki
(http://code.google.com/p/engine-cuda/wiki/installationAndConfiguration?wl=en),
the paragraph that describes this operation is this one:
http://code.google.com/p/engine-cuda/wiki/installationAndConfiguration?wl=en#Using_Engine_cudamrg_with_the_openssl_config_file

An example of the directives to include into the configuration file of
openssl is provided with the source tarball and reached here:
http://code.google.com/p/engine-cuda/source/browse/trunk/openssl.cnf.example

If you experience any trouble during this procedure please report them.

Please remember that this engine support only ECB and CBC block mode.
With the ECB block mode both the encryption and decryption are computed
by the GPU. With the default build options the CBC block mode is
accomplished by the GPU only in decryption, encryption are done by the CPU.

In addition I should say that, for better performance, you should pass
to the engine a chunk of data bigger than usually, as you can see into
the benchmark page
(http://code.google.com/p/engine-cuda/wiki/benchmarkVersion011?wl=en).

Depending by the data you are trying to encrypt/decrypt you may have
best performance by building the engine with the option
"--disable-ttableconstant", if you want to give it a try.

Out of curiosity: what release of openssl are you using?

Regards,
Paolo Margara

Reply all
Reply to author
Forward
0 new messages