BSD Ports

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

SystemPortVersion
FreeBSDtextproc/p5-String-Compare-ConstantTime0.321
NetBSDtextproc/p5-String-Compare-ConstantTime0.321nb7
DragonFlytextproc/p5-String-Compare-ConstantTime0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.3210.3210.3210.3210.321
FreeBSD:14:quarterly0.3210.321n/a0.3210.321
FreeBSD:15:latest0.3210.321n/a0.3210.321
FreeBSD:15:quarterly0.3210.321n/an/an/a
FreeBSD:16:latest0.3210.321n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
String-Compare-ConstantTime-0.321.tar.gz65430b26ba2b121d8004425d4485d1d46f59001c83763aa26624dff6220d7735d7f7
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.