blib/lib/Crypt/Keyczar/HmacSHA224Key.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 0 | 2 | 0.0 |
total | 17 | 19 | 89.4 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Crypt::Keyczar::HmacSHA224Key; | ||||||
2 | 2 | 2 | 12 | use base 'Crypt::Keyczar::HmacKey'; | |||
2 | 4 | ||||||
2 | 118 | ||||||
3 | 2 | 2 | 10 | use strict; | |||
2 | 4 | ||||||
2 | 48 | ||||||
4 | 2 | 2 | 9 | use warnings; | |||
2 | 4 | ||||||
2 | 133 | ||||||
5 | |||||||
6 | |||||||
7 | |||||||
8 | 3 | 3 | 0 | 12 | sub digest_size { return 28 } | ||
9 | |||||||
10 | |||||||
11 | sub get_engine { | ||||||
12 | 6 | 6 | 0 | 10 | my $self = shift; | ||
13 | 6 | 17 | return Crypt::Keyczar::HmacEngine->new('sha224', $self->get_bytes); | ||||
14 | } | ||||||
15 | |||||||
16 | 1; | ||||||
17 | __END__ |