[PATCH 00/27] Implemented NETLINK_CRYPTO protocol specific decoding

JingPiao Chen chenjingpiao at gmail.com
Sat Jul 22 12:43:30 UTC 2017


Thanks to name of structure and macro is long, the commit messages is too
long, If a single commit is ok, I prefer to squash them.

Note:
NETLINK_CRYPTO instroduced by linux kernel commit v3.0-7152-ga38f790.
CRYPTOCFGA_REPORT_LARVAL attribute instroduced by linux kernel commit
v3.0-7155-gf4d663c, which is the second attribute be added in NETLINK_CRYPTO.

JingPiao Chen (27):
  netlink_sock_diag: s/NLA_ALIGN/NLMSG_ALIGN/g
  netlink: add a basic parser of NETLINK_CRYPTO messages
  tests: extend TEST_NETLINK_OBJECT macro
  tests: check decoding of NETLINK_CRYPTO messages
  netlink: decode crypto_user_alg attributes of CRYPTOCFGA_PRIORITY_VAL
  netlink: decode crypto_user_alg attributes of CRYPTOCFGA_REPORT_LARVAL
  tests: extend TEST_NLATTR_OBJECT macro
  tests: checking decoding of crypto_user_alg CRYPTOCFGA_REPORT_LARVAL
    attributes
  netlink: decode crypto_user_alg attributes of CRYPTOCFGA_REPORT_HASH
  tests: check decoding of crypto_user_alg CRYPTOCFGA_REPORT_HASH
    attribute
  netlink: decode crypto_user_alg attributes of
    CRYPTOCFGA_REPORT_BLKCIPHER
  tests: check decoding of crypto_user_alg CRYPTOCFGA_REPORT_BLKCIPHER
    attribute
  netlink: decode crypto_user_alg attributes of CRYPTOCFGA_REPORT_AEAD
  tests: check decoding of crypto_user_alg CRYPTOCFGA_REPORT_AEAD
    attribute
  netlink: decode crypto_user_alg attributes of
    CRYPTOCFGA_REPORT_COMPRESS
  tests: check decoding of crypto_user_alg CRYPTOCFGA_REPORT_COMPRESS
    attribute
  netlink: decode crypto_user_alg attributes of CRYPTOCFGA_REPORT_RNG
  tests: check decoding of crypto_user_alg CRYPTOCFGA_REPORT_RNG
    attribute
  netlink: decode crypto_user_alg attributes of CRYPTOCFGA_REPORT_CIPHER
  tests: check decoding of crypto_user_alg CRYPTOCFGA_REPORT_CIPHER
    attribute
  netlink: decode crypto_user_alg attributes of
    CRYPTOCFGA_REPORT_AKCIPHER
  tests: check decoding of crypto_user_alg CRYPTOCFGA_REPORT_AKCIPHER
    attribute
  netlink: decode crypto_user_alg attributes of CRYPTOCFGA_REPORT_KPP
  tests: check decoding of crypto_user_alg CRYPTOCFGA_REPORT_KPP
    attribute
  netlink: decode crypto_user_alg attributes of CRYPTOCFGA_REPORT_ACOMP
  tests: check decoding of crypto_user_alg CRYPTOCFGA_REPORT_ACOMP
    attribute
  Update NEWS

 Makefile.am                    |   1 +
 NEWS                           |   1 +
 configure.ac                   |  14 ++
 defs.h                         |   3 +
 netlink.c                      |   3 +
 netlink_crypto.c               | 343 +++++++++++++++++++++++++++++++++++++++++
 netlink_inet_diag.c            |   6 +-
 netlink_netlink_diag.c         |   2 +-
 netlink_packet_diag.c          |   2 +-
 netlink_smc_diag.c             |   2 +-
 tests/.gitignore               |   1 +
 tests/gen_tests.in             |   1 +
 tests/netlink_crypto.c         |  45 +++++-
 tests/nlattr_crypto_user_alg.c | 234 ++++++++++++++++++++++++++++
 tests/pure_executables.list    |   1 +
 tests/test_netlink.h           |  37 +++--
 tests/test_nlattr.h            |  34 +++-
 xlat/crypto_nl_attrs.in        |  12 ++
 18 files changed, 718 insertions(+), 24 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