Mailinglist Archive: opensuse-bugs (4247 mails)

< Previous Next >
[Bug 1019412] ip xfrm auth-trunc off by 32-bits
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 16 Jan 2017 21:05:50 +0000
  • Message-id: <bug-1019412-21960-xgZ97GnOTq@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1019412
http://bugzilla.suse.com/show_bug.cgi?id=1019412#c4

Jan Engelhardt <jengelh@xxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |jengelh@xxxxxxx
Assignee|jengelh@xxxxxxx |kernel-maintainers@xxxxxxxx
| |ovo.novell.com

--- Comment #4 from Jan Engelhardt <jengelh@xxxxxxx> ---
I hope I got this right.. you execute

... "hmac(sha256)" 0xsomevalue 128

but get back

... "hmac(sha256)" 0xsomevalue 96?

That might be a kernel issue. On 4.8.X (yes, it's not the default openSUSE), I
observe that 128 stays 128:

# ip x s a src ::2 dst ::3 proto ah spi 0xa auth-trunc "hmac(sha256)" 0 128
# ip x s
...
auth-trunc hmac(sha256) 0x30 128

(0 -> 0x30 because '0' has ASCII code 0x30)

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >