Page MenuHomeFreeBSD

lib/libc/tests/string: expand memcmp test to bcmp, timingsafe_{b,mem}cmp
AbandonedPublic

Authored by fuz on Aug 30 2023, 11:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 30, 12:43 AM
Unknown Object (File)
Thu, Oct 30, 12:38 AM
Unknown Object (File)
Tue, Oct 21, 3:54 AM
Unknown Object (File)
Oct 10 2025, 3:21 PM
Unknown Object (File)
Oct 10 2025, 3:21 PM
Unknown Object (File)
Oct 10 2025, 8:57 AM
Unknown Object (File)
Aug 18 2025, 8:41 PM
Unknown Object (File)
Aug 10 2025, 1:37 AM
Subscribers

Details

Reviewers
None
Summary

The four functions more or less perform the same operation.
Reuse the same unit test with slight changes so we can cover
them all. Constant-time operation is not verified for the
timingsafe_* functions.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 53359
Build 50250: arc lint + arc unit