Docunext


Geode AES OpenSSL and Cryptodev for linux

February 14th, 2009

I've used OCF linux before and it is very cool, however its BSD license taints the linux kernel.

http://www.logix.cz/michal/devel/cryptodev/index.xp?show_selected=1&msgid=4534

Of course this patch is for 2.6.8 and I'm using 2.6.26, and am getting this error:

crypto/cryptodev.c:74: error: CRYPTO_TFM_MODE_ECB undeclared here (not in a function)
crypto/cryptodev.c:74: error: array index in initializer not of integer type
crypto/cryptodev.c:74: error: (near initialization for crypto_cipher_modes)
crypto/cryptodev.c:75: error: CRYPTO_TFM_MODE_CBC undeclared here (not in a function)
crypto/cryptodev.c:75: error: array index in initializer not of integer type
crypto/cryptodev.c:75: error: (near initialization for crypto_cipher_modes)
crypto/cryptodev.c:76: error: CRYPTO_TFM_MODE_CFB undeclared here (not in a function)
crypto/cryptodev.c:76: error: array index in initializer not of integer type
crypto/cryptodev.c:76: error: (near initialization for crypto_cipher_modes)
crypto/cryptodev.c:77: error: CRYPTO_TFM_MODE_CTR undeclared here (not in a function)
crypto/cryptodev.c:77: error: array index in initializer not of integer type
crypto/cryptodev.c:77: error: (near initialization for crypto_cipher_modes)

Obviously a lot has changed in the kernel from 2.6.8. I'm not sure how to proceed - maybe I should look at the 2.6.8 code, or I should just start editing the cryptodev.c / cryptodev.h.

There might be a chance that Michal's code gets adopted into the kernel. That would be awesome. More info: http://www.docunext.com/wiki/Michal_Ludvig_Cryptodev

¥

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022