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)
Feb 23 2025, 7:54 AM
Unknown Object (File)
Feb 14 2025, 12:13 PM
Unknown Object (File)
Feb 5 2025, 3:20 PM
Unknown Object (File)
Jan 27 2025, 5:04 PM
Unknown Object (File)
Jan 27 2025, 1:17 PM
Unknown Object (File)
Jan 18 2025, 4:20 AM
Unknown Object (File)
Dec 27 2024, 11:57 AM
Unknown Object (File)
Oct 16 2024, 6:55 PM
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