blib/lib/Crypt/SRP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 46 | 57 | 80.7 |
pod | 20 | 20 | 100.0 |
line | count | pod | subroutine |
---|---|---|---|
5 | 4 | n/a | BEGIN |
6 | 4 | n/a | BEGIN |
10 | 4 | n/a | BEGIN |
11 | 4 | n/a | BEGIN |
12 | 4 | n/a | BEGIN |
13 | 4 | n/a | BEGIN |
14 | 4 | n/a | BEGIN |
15 | 4 | n/a | BEGIN |
16 | 4 | n/a | BEGIN |
18 | 4 | n/a | BEGIN |
19 | 4 | n/a | BEGIN |
179 | 4 | n/a | BEGIN |
184 | 5 | Yes | new |
200 | 0 | Yes | reset |
215 | 0 | Yes | dump |
222 | 0 | Yes | load |
233 | 3 | Yes | client_init |
247 | 2 | Yes | server_init |
260 | 1 | Yes | client_compute_A |
269 | 1 | Yes | client_compute_M1 |
279 | 1 | Yes | client_verify_M2 |
288 | 1 | Yes | server_compute_B |
298 | 0 | Yes | server_fake_B_s |
313 | 1 | Yes | server_verify_M1 |
325 | 1 | Yes | server_compute_M2 |
331 | 4 | Yes | get_secret_K |
336 | 4 | Yes | get_secret_S |
341 | 2 | Yes | compute_verifier |
348 | 0 | Yes | compute_verifier_and_salt |
357 | 0 | Yes | server_verify_A |
365 | 0 | Yes | client_verify_B |
373 | 0 | Yes | random_bytes |
381 | 5 | n/a | _initialize |
402 | 27 | n/a | _HASH |
408 | 0 | n/a | _HASH_Interleaved |
424 | 16 | n/a | _PAD |
430 | 3 | n/a | _calc_x |
439 | 2 | n/a | _calc_v |
448 | 1 | n/a | _calc_A |
456 | 2 | n/a | _calc_u |
465 | 2 | n/a | _calc_k |
473 | 1 | n/a | _calc_S_client |
489 | 1 | n/a | _calc_S_server |
499 | 2 | n/a | _calc_K |
508 | 2 | n/a | _calc_M1 |
519 | 2 | n/a | _calc_M2 |
527 | 1 | n/a | _calc_B |
536 | 2 | n/a | _generate_SRP_a_or_b |
556 | 1 | n/a | _generate_SRP_a |
561 | 1 | n/a | _generate_SRP_b |
566 | 0 | n/a | _validate_A_or_B |
577 | 0 | n/a | _random_bytes |
582 | 44 | n/a | _bignum2bytes |
588 | 14 | n/a | _bytes2bignum |
594 | 16 | n/a | _format |
605 | 13 | n/a | _unformat |
616 | 45 | n/a | _unhex |