textproc/p5-String-Compare-ConstantTime 0.321 FreeBSD
Perl extension for timing side-channel protected string compare
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- textproc, perl5
- Package size
- 12.9 KiB, 23.2 KiB installed
Description
This module provides one function, equals (not exported by default).
You should pass this function two strings of the same length. It will return true if they are string-wise identical and false otherwise, just like eq. However, comparing any two differing strings will take a fixed amount of time, unlike eq.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/p5-String-Compare-ConstantTime | 0.321 |
| NetBSD | textproc/p5-String-Compare-ConstantTime | 0.321nb7 |
| DragonFly | textproc/p5-String-Compare-ConstantTime | 0.321 |
Install
Binary package:
pkg install p5-String-Compare-ConstantTime
From the ports tree:
cd /usr/ports/textproc/p5-String-Compare-ConstantTime/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-String-Compare-ConstantTime>0:textproc/p5-String-Compare-ConstantTime
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.321 | 0.321 | 0.321 | 0.321 | 0.321 |
| FreeBSD:14:quarterly | 0.321 | 0.321 | n/a | 0.321 | 0.321 |
| FreeBSD:15:latest | 0.321 | 0.321 | n/a | 0.321 | 0.321 |
| FreeBSD:15:quarterly | 0.321 | 0.321 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.321 | 0.321 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 3
- %%SITE_ARCH%%/String/Compare/ConstantTime.pm
- %%SITE_ARCH%%/auto/String/Compare/ConstantTime/ConstantTime.so
- %%PERL5_MAN3%%/String::Compare::ConstantTime.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| String-Compare-ConstantTime-0.321.tar.gz | 6543 | 0b26ba2b121d8004425d4485d1d46f59001c83763aa26624dff6220d7735d7f7 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.