diff options
author | Dmitry V. Levin <ldv@strace.io> | 2022-12-11 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2022-12-11 08:00:00 +0000 |
commit | 0f82309db02e1225a720b0a4526ca5be1a63e146 (patch) | |
tree | d6aa4884d2b113572673e25e5a660482449ac3f5 | |
parent | d3feb8d8ebc524cb1c77234449f2cbc1a9e3de0e (diff) | |
download | strace-0f82309db02e1225a720b0a4526ca5be1a63e146.tar.gz |
xlat: update TLS_* constants
* src/xlat/tls_info_ciphers.in (TLS_CIPHER_ARIA_GCM_128,
TLS_CIPHER_ARIA_GCM_256): New constants introduced by Linux kernel
commit v6.1-rc1~170^2~85.
* tests/nlattr_inet_diag_msg.c (main): Update expected output.
* NEWS: Mention this change.
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/xlat/tls_info_ciphers.in | 2 | ||||
-rw-r--r-- | tests/nlattr_inet_diag_msg.c | 4 |
3 files changed, 6 insertions, 2 deletions
@@ -4,7 +4,7 @@ Noteworthy changes in release ?.? (????-??-??) * Improvements * Enhanced decoding of terminal ioctl commands. * Updated lists of ABS_*, BPF_*, BTRFS_*, COUNTER_*, ETH_P_*, IFLA_*, - KVM_*, MADV_*, NLMSGERR_*, PERF_*, and STATX_* constants. + KVM_*, MADV_*, NLMSGERR_*, PERF_*, STATX_*, and TLS_* constants. * Updated lists of ioctl commands from Linux 6.1. * Bug fixes diff --git a/src/xlat/tls_info_ciphers.in b/src/xlat/tls_info_ciphers.in index 651f31710..80d66fd5b 100644 --- a/src/xlat/tls_info_ciphers.in +++ b/src/xlat/tls_info_ciphers.in @@ -6,3 +6,5 @@ TLS_CIPHER_AES_CCM_128 53 TLS_CIPHER_CHACHA20_POLY1305 54 TLS_CIPHER_SM4_GCM 55 TLS_CIPHER_SM4_CCM 56 +TLS_CIPHER_ARIA_GCM_128 57 +TLS_CIPHER_ARIA_GCM_256 58 diff --git a/tests/nlattr_inet_diag_msg.c b/tests/nlattr_inet_diag_msg.c index f4b727913..910c75e0d 100644 --- a/tests/nlattr_inet_diag_msg.c +++ b/tests/nlattr_inet_diag_msg.c @@ -535,7 +535,9 @@ main(void) { ENUM_KNOWN(0x36, TLS_CIPHER_CHACHA20_POLY1305) }, { ENUM_KNOWN(0x37, TLS_CIPHER_SM4_GCM) }, { ENUM_KNOWN(0x38, TLS_CIPHER_SM4_CCM) }, - { ARG_XLAT_UNKNOWN(0x39, "TLS_CIPHER_???") }, + { ENUM_KNOWN(0x39, TLS_CIPHER_ARIA_GCM_128) }, + { ENUM_KNOWN(0x3a, TLS_CIPHER_ARIA_GCM_256) }, + { ARG_XLAT_UNKNOWN(0x3b, "TLS_CIPHER_???") }, { ARG_XLAT_UNKNOWN(0xcafe, "TLS_CIPHER_???") }, }; |