[PATCH v2 0/6] Implemented protocol specific decoding of NETLINK_CRYPTO

JingPiao Chen chenjingpiao at gmail.com
Sun Jul 23 11:52:00 UTC 2017


I squashed the commit. Thanks to name of structure and macro is long,
the commit messages is too long. I prefer to squash the commit.

I hope you can review cru_type, cru_mask and cru_flags more careful.
Seem they can print in "CRYPTO_ALG_*" string.

JingPiao Chen (6):
  netlink: add a basic parser of NETLINK_CRYPTO messages
  tests: extend TEST_NETLINK_OBJECT macro
  tests: check decoding of NETLINK_CRYPTO messages
  netlink: decode NETLINK_CRYPTO crypto_user_alg netlink attributes
  tests: extend TEST_NLATTR_OBJECT macro
  tests: check decoding of NETLINK_CRYPTO crypto_user_alg attributes

 Makefile.am                    |   1 +
 NEWS                           |   3 +
 configure.ac                   |   8 ++
 defs.h                         |   1 +
 netlink.c                      |   3 +
 netlink_crypto.c               | 244 +++++++++++++++++++++++++++++++++++++++++
 tests/.gitignore               |   1 +
 tests/gen_tests.in             |   1 +
 tests/netlink_crypto.c         |  68 +++++++++++-
 tests/nlattr_crypto_user_alg.c | 190 ++++++++++++++++++++++++++++++++
 tests/pure_executables.list    |   1 +
 tests/test_netlink.h           |  37 +++++--
 tests/test_nlattr.h            |  34 ++++--
 xlat/crypto_nl_attrs.in        |  12 ++
 14 files changed, 586 insertions(+), 18 deletions(-)
 create mode 100644 netlink_crypto.c
 create mode 100644 tests/nlattr_crypto_user_alg.c
 create mode 100644 xlat/crypto_nl_attrs.in

-- 
2.7.4





More information about the Strace-devel mailing list