Branch Coverage

blib/lib/Crypt/ECDH_ES.pm
Criterion Covered Total %
branch 3 12 25.0


line true false branch
60 0 1 if $options ne ''
65 0 1 if &hmac_sha256($iv . $ciphertext, $sign_key) ne $mac
71 0 1 unless substr($plaintext, -$pad_length, $pad_length, '') eq chr($pad_length) x $pad_length
77 0 0 if ($^O eq 'MSWin32') { }
81 0 0 unless open my $fh, '<:raw', '/dev/random'
82 0 0 unless read $fh, $buf, 32