#ifndef _CRYPTO_CAST5_H #define _CRYPTO_CAST5_H #include #include #include #define CAST5_BLOCK_SIZE 8 #define CAST5_MIN_KEY_SIZE 5 #define CAST5_MAX_KEY_SIZE 16 struct cast5_ctx { u32 Km[16]; u8 Kr[16]; int rr; /* rr ? rounds = 12 : rounds = 16; (rfc 2144) */ }; int cast5_setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen); void __cast5_encrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src); void __cast5_decrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src); #endif ory'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-22 12:40:09 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-22 12:40:09 -0800
commit585457fc8383e373ab923e46cd1f70bbfe46763f (patch)
treef4e38133fb9b90543150a904cc1f6cc6b5657c7b /include/uapi/scsi
parentbb6c01c2dde67b165cf7c808b0f00677b6f94b96 (diff)
parent0db1dba5dfaf70fb3baf07973996db2078528cde (diff)
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull virtio/vhost fixes from Michael Tsirkin: "Random fixes and cleanups that accumulated over the time" * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: virtio/s390: virtio: constify virtio_config_ops structures virtio/s390: add missing \n to end of dev_err message virtio/s390: support READ_STATUS command for virtio-ccw tools/virtio/ringtest: tweaks for s390 tools/virtio/ringtest: fix run-on-all.sh for offline cpus virtio_console: fix a crash in config_work_handler vhost/scsi: silence uninitialized variable warning vhost: scsi: constify target_core_fabric_ops structures
Diffstat (limited to 'include/uapi/scsi')