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 | 14 | use base 'Crypt::Keyczar::HmacKey'; | |||
2 | 3 | ||||||
2 | 178 | ||||||
3 | 2 | 2 | 12 | use strict; | |||
2 | 44 | ||||||
2 | 69 | ||||||
4 | 2 | 2 | 11 | use warnings; | |||
2 | 4 | ||||||
2 | 235 | ||||||
5 | |||||||
6 | |||||||
7 | |||||||
8 | 3 | 3 | 0 | 15 | sub digest_size { return 28 } | ||
9 | |||||||
10 | |||||||
11 | sub get_engine { | ||||||
12 | 6 | 6 | 0 | 9 | my $self = shift; | ||
13 | 6 | 19 | return Crypt::Keyczar::HmacEngine->new('sha224', $self->get_bytes); | ||||
14 | } | ||||||
15 | |||||||
16 | 1; | ||||||
17 | __END__ |