Opened 11 days ago

Last modified 10 days ago

#19153 new enhancement

timingsafe_bcmp not exposed through string.h

Reported by: monni Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System Version: R1/beta5
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

timingsafe_bcmp was added in FreeBSD 12 as an extension and is already used by BSD compatibility layer in Haiku, but it's only exposed through private headers.

It is used by some network-related libraries like usrsctp.

Change History (2)

comment:1 by waddlesplash, 10 days ago

Actually it's only in the kernel-level compatibility layer, not the userspace one. It will need to be added there.

comment:2 by monni, 10 days ago

Hence marking this as an enhancement and not a bug ;)

I'm well aware that the userspace compatibility library will be implemented function by function as more libraries or programs need the features.

Note: See TracTickets for help on using tickets.