strace/xlat/crypto_nl_attrs.in
JingPiao Chen e4b90f7bbf netlink: decode NETLINK_CRYPTO crypto_user_alg netlink attributes
* configure.ac (AC_CHECK_TYPES): Check for crypto_report_aead,
crypto_report_blkcipher, crypto_report_cipher, crypto_report_hash,
and crypto_report_rng structures in <linux/cryptouser.h>.
* netlink_crypto.c (decode_crypto_report_generic,
decode_crypto_report_hash, decode_crypto_report_blkcipher,
decode_crypto_report_aead, decode_crypto_report_rng,
decode_crypto_report_cipher): New functions.
(crypto_user_alg_nla_decoders): New array.
(decode_crypto_user_alg): Use it.
* xlat/crypto_nl_attrs.in: New file.
* NEWS: Mention this.
2017-07-24 11:18:43 +00:00

13 lines
321 B
Plaintext

CRYPTOCFGA_UNSPEC 0
CRYPTOCFGA_PRIORITY_VAL 1
CRYPTOCFGA_REPORT_LARVAL 2
CRYPTOCFGA_REPORT_HASH 3
CRYPTOCFGA_REPORT_BLKCIPHER 4
CRYPTOCFGA_REPORT_AEAD 5
CRYPTOCFGA_REPORT_COMPRESS 6
CRYPTOCFGA_REPORT_RNG 7
CRYPTOCFGA_REPORT_CIPHER 8
CRYPTOCFGA_REPORT_AKCIPHER 9
CRYPTOCFGA_REPORT_KPP 10
CRYPTOCFGA_REPORT_ACOMP 11