line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Digest::OMAC1; |
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
4648
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
52
|
|
6
|
|
|
|
|
|
|
#use warnings; |
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
7
|
use base qw(Digest::CMAC); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
105
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
__PACKAGE__; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
__END__ |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=pod |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 NAME |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Digest::OMAC1 - An alias for L<Digest::CMAC> |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 SYNOPSIS |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
use Digest::OMAC1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
my $d = Digest::OMAC1->new( $key, $cipher ); |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 DESCRIPTIOn |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
This module has an identical interface to L<Digest::CMAC>. NIST dubbed OMAC 1 |
29
|
|
|
|
|
|
|
"CMAC" when they reccomended it, much like L<Crypt::Rijndael> is known as AES. |