BSD Ports

security/p5-Digest-DMAC 1.1.4_2 FreeBSD

Perl5 interface to DMAC Double Message-Digest Algorithms

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2
Categories
security, perl5
Package size
12.5 KiB, 25.6 KiB installed

Description

This is Encrypted MAC (EMAC), formerly known as Double MAC (DMAC). Unlike HMAC, which reuses an existing one-way hash function, such as MD5, SHA-1 or RIPEMD-160, EMAC reuses an existing block cipher to produce a secure message authentication code (MAC).

Using the block cipher, a message is encrypted in CBC mode. The last block is taken as the MAC of the message. For fixed-length messages, this method is provably secure. In reality, however, messages have arbitrary lengths, and this method is not secure. To make secure MACs for variable length messages, the last block is encrypted once again with a different key. The security of this construction has been proved in the paper, ``CBC MAC for Real-Time Data Sources'' by Erez Petrank and Charles Rackoff. The security can be proved on the assumption that the underlying block cipher is pseudo-random.

The performance and key-agility of EMAC are reasonable. EMAC is preferable for short messages because the block length is smaller compared to the schemes based on a hash function. EMAC is also chosen as one of the NESSIE winners for Message Authentication Codes, along with UMAC, TTMAC and HMAC. The current NESSIE specification chooses the AES as block cipher.

In the other systems

SystemPortVersion
FreeBSDsecurity/p5-Digest-DMAC1.1.4_2
DragonFlysecurity/p5-Digest-DMAC1.1.4_2

Install

Binary package:

pkg install p5-Digest-DMAC

From the ports tree:

cd /usr/ports/security/p5-Digest-DMAC/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Digest-DMAC>0:security/p5-Digest-DMAC

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:latest1.1.4_21.1.4_21.1.4_21.1.4_21.1.4_2
FreeBSD:14:quarterly1.1.4_21.1.4_2n/a1.1.4_21.1.4_2
FreeBSD:15:latest1.1.4_21.1.4_2n/a1.1.4_21.1.4_2
FreeBSD:15:quarterly1.1.4_21.1.4_2n/an/an/a
FreeBSD:16:latest1.1.4_21.1.4_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 39
Run dependencies 39

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Digest/DMAC.pm
  • %%PERL5_MAN3%%/Digest::DMAC.3.gz
distinfo 1
FileSizeSHA256
Digest-DMAC-1.1.4.tar.gz102107e491b738d2e7c299367ab42789aebb312e42cfda55dc673440dbf613eec0b48
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.