1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

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.

WWW: http://search.cpan.org/dist/String-Compare-ConstantTime/
This commit is contained in:
Jun Kuriyama 2013-08-10 17:04:02 +00:00
parent ae7f3b735c
commit 8964260749
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=324557
5 changed files with 39 additions and 0 deletions

View File

@ -723,6 +723,7 @@
SUBDIR += p5-Spreadsheet-XLSX
SUBDIR += p5-String-BufferStack
SUBDIR += p5-String-CamelCase
SUBDIR += p5-String-Compare-ConstantTime
SUBDIR += p5-String-Divert
SUBDIR += p5-String-Escape
SUBDIR += p5-String-Flogger

View File

@ -0,0 +1,18 @@
# $FreeBSD$
PORTNAME= String-Compare-ConstantTime
PORTVERSION= 0.300
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension for timing side-channel protected string compare
USES= perl5
USE_PERL5= configure
MAN3= String::Compare::ConstantTime.3 \
String::Compare::README.3
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (String-Compare-ConstantTime-0.300.tar.gz) = 579593451de15653f28c69fec61f4a7b987e8a1236b35e3a407241f6e9ce4f6f
SIZE (String-Compare-ConstantTime-0.300.tar.gz) = 5210

View File

@ -0,0 +1,8 @@
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.
WWW: http://search.cpan.org/dist/String-Compare-ConstantTime/

View File

@ -0,0 +1,10 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare/ConstantTime/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare/ConstantTime/ConstantTime.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare/ConstantTime/ConstantTime.so
%%SITE_PERL%%/%%PERL_ARCH%%/String/Compare/README.pod
%%SITE_PERL%%/%%PERL_ARCH%%/String/Compare/ConstantTime.pm
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/String/Compare
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/String
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare/ConstantTime
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/String/Compare
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/String