8964260749
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/
19 lines
368 B
Makefile
19 lines
368 B
Makefile
# $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>
|