Skip to content
  • Martin Schwidefsky's avatar
    [S390] zcrypt user space interface. · 2dbc2418
    Martin Schwidefsky authored
    
    
    The user space interface of the zcrypt device driver implements the old
    user space interface as defined by the old z90crypt driver. Everything
    is there, the /dev/z90crypt misc character device, all the lovely ioctls
    and the /proc file. Even writing to the z90crypt proc file to configure
    the crypto device still works. It stands to reason to remove the proc
    write function someday since a much cleaner configuration via the sysfs
    is now available.
    
    The ap bus device drivers register crypto cards to the zcrypt user
    space interface. The request router of the user space interface
    picks one of the registered cards based on the predicted latency
    for the request and calls the driver via a callback found in the
    zcrypt_ops of the device. The request router only knows which
    operations the card can do and the minimum / maximum number of bits
    a request can have.
    
    Signed-off-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
    Signed-off-by: default avatarRalph Wuerthner <rwuerthn@de.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    2dbc2418