Skip to contentSkip to conversation

s390 zcrypto driver rewrite / secure key crypto extension.

RFC Martin Schwidefsky 1 participant 1 message Jul 4, 2006

lore
Share & tools
lore
#0 lore raw

Hi folks,
we have finally completed the rewrite of the z90crypt device driver. The new driver is called zcrypt, just to make a fresh start. The patches do not contain the removal of the old z90xxx files since this would be a waste of bandwidth.
The main reason for the rewrite has been the secure key crypto extension. We have found it next to impossible to add that extension to the old driver. The new code implements a proper bus and has a device driver for each card type. On top of the drivers is the user space interface. The layering looks like this:

     User space         Card drivers            Bus
     interface

                   |--> zcrypt_pcica  <--|
                   |                     |
                   |--> zcrypt_cex2a  <--|
     zcrypt_api <--|                     |-->  ap_bus
                   |--> zcrypt_pcicc  <--|
                   |                     |
                   |--> zcrypt_pcixcc <--|

The defails of the messages for the different cards are peculiar, the overall structure is straight forward.
I want to push this new driver upstream soon, provided that nobody finds any major bugs.

--
blue skies,
Martin.

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH

"Reality continues to ruin my life." - Calvin.