/* * Hash Info: Hash algorithms information * * Copyright (c) 2013 Dmitry Kasatkin * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later version. * */ #ifndef _CRYPTO_HASH_INFO_H #define _CRYPTO_HASH_INFO_H #include #include #include /* not defined in include/crypto/ */ #define RMD128_DIGEST_SIZE 16 #define RMD160_DIGEST_SIZE 20 #define RMD256_DIGEST_SIZE 32 #define RMD320_DIGEST_SIZE 40 /* not defined in include/crypto/ */ #define WP512_DIGEST_SIZE 64 #define WP384_DIGEST_SIZE 48 #define WP256_DIGEST_SIZE 32 /* not defined in include/crypto/ */ #define TGR128_DIGEST_SIZE 16 #define TGR160_DIGEST_SIZE 20 #define TGR192_DIGEST_SIZE 24 /* not defined in include/crypto/ */ #define SM3256_DIGEST_SIZE 32 extern const char *const hash_algo_name[HASH_ALGO__LAST]; extern const int hash_digest_size[HASH_ALGO__LAST]; #endif /* _CRYPTO_HASH_INFO_H */ > net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-02-06 14:42:34 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-06 14:42:34 -0800
commit50dcb6cdb70281d76b28d1564f8e076bb08f2c60 (patch)
treec8884d0b8676fa7a9b44c1d678b48e40561aa994 /drivers/usb/serial/usb-serial-simple.c
parent72df5eba704252e54b5b19395cb938f8bb55cab8 (diff)
parentf5b0cba8f23915e92932f11eb063e37d70556a89 (diff)
Merge tag 'dm-4.10-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
Pull device mapper fixes from Mike Snitzer: - a fix for a race in .request_fn request-based DM request handling vs DM device destruction - an RCU fix for dm-crypt's kernel keyring support that was included in 4.10-rc1 - a -Wbool-operation warning fix for DM multipath * tag 'dm-4.10-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm: dm crypt: replace RCU read-side section with rwsem dm rq: cope with DM device destruction while in dm_old_request_fn() dm mpath: cleanup -Wbool-operation warning in choose_pgpath()
Diffstat (limited to 'drivers/usb/serial/usb-serial-simple.c')