blib/lib/Crypt/SRP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 47 | 58 | 81.0 |
pod | 20 | 20 | 100.0 |
line | count | pod | subroutine |
---|---|---|---|
5 | 5 | n/a | BEGIN |
6 | 5 | n/a | BEGIN |
10 | 5 | n/a | BEGIN |
11 | 5 | n/a | BEGIN |
12 | 5 | n/a | BEGIN |
13 | 5 | n/a | BEGIN |
14 | 5 | n/a | BEGIN |
15 | 5 | n/a | BEGIN |
16 | 5 | n/a | BEGIN |
18 | 5 | n/a | BEGIN |
19 | 5 | n/a | BEGIN |
179 | 5 | n/a | BEGIN |
184 | 6 | Yes | new |
194 | 0 | Yes | reset |
202 | 0 | Yes | dump |
210 | 0 | Yes | load |
223 | 4 | Yes | client_init |
240 | 2 | Yes | server_init |
256 | 1 | Yes | client_compute_A |
265 | 2 | Yes | client_compute_M1 |
275 | 1 | Yes | client_verify_M2 |
284 | 1 | Yes | server_compute_B |
294 | 0 | Yes | server_fake_B_s |
309 | 1 | Yes | server_verify_M1 |
321 | 1 | Yes | server_compute_M2 |
327 | 5 | Yes | get_secret_K |
332 | 4 | Yes | get_secret_S |
337 | 2 | Yes | compute_verifier |
344 | 0 | Yes | compute_verifier_and_salt |
353 | 0 | Yes | server_verify_A |
361 | 0 | Yes | client_verify_B |
369 | 0 | Yes | random_bytes |
377 | 6 | n/a | _parse_args |
412 | 6 | n/a | _initialize |
433 | 38 | n/a | _HASH |
439 | 0 | n/a | _HASH_Interleaved |
455 | 19 | n/a | _PAD |
461 | 4 | n/a | _calc_x |
470 | 2 | n/a | _calc_v |
479 | 2 | n/a | _calc_A |
487 | 3 | n/a | _calc_u |
496 | 3 | n/a | _calc_k |
504 | 2 | n/a | _calc_S_client |
520 | 1 | n/a | _calc_S_server |
530 | 3 | n/a | _calc_K |
550 | 3 | n/a | _calc_M1 |
570 | 2 | n/a | _calc_M2 |
585 | 1 | n/a | _calc_B |
594 | 2 | n/a | _generate_SRP_a_or_b |
614 | 1 | n/a | _generate_SRP_a |
619 | 1 | n/a | _generate_SRP_b |
624 | 0 | n/a | _validate_A_or_B |
635 | 0 | n/a | _random_bytes |
640 | 54 | n/a | _bignum2bytes |
646 | 19 | n/a | _bytes2bignum |
652 | 18 | n/a | _format |
663 | 16 | n/a | _unformat |
674 | 55 | n/a | _unhex |