Branch Coverage

lib/Net/SSH/Perl/Key/Ed25519.xs
Criterion Covered Total %
branch 22 38 57.8


line true false branch
34 32 0 STRLEN datalen; unsigned char *data = (unsigned char *) SvPVbyte(sv_data,datalen);
35 32 0 STRLEN keylen; unsigned char *key = (unsigned char *) SvPVbyte(sv_key,keylen);
46 4096 0 unsigned char *key = (unsigned char *) SvPVbyte(sv_key,keylen);
58 32 0 unsigned char *data = (unsigned char *) SvPVbyte(sv_mortalcopy(sv_data),datalen);
59 0 32 if (datalen % 8)
66 32 0 int rounds = SvIVx(sv_rounds);
68 256 32 for (i=0; i
70 2048 32 for (i=0; i
73 256 32 for (i=0; i
94 1 0 secret_p = (unsigned char *)SvPVbyte (secret, secret_l);
96 0 1 if (secret_l != 32)
101 0 1 EXTEND (SP, 2);
114 1 0 STRLEN message_l ; char *message_p = SvPVbyte (message , message_l );
115 1 0 STRLEN private_key_l; char *private_key_p = SvPVbyte (private_key, private_key_l);
117 0 1 if (private_key_l != 64)
131 1 0 STRLEN signature_l ; char *signature_p = SvPVbyte (signature , signature_l );
132 1 0 STRLEN message_l ; char *message_p = SvPVbyte (message , message_l );
133 1 0 STRLEN public_key_l; char *public_key_p = SvPVbyte (public_key, public_key_l);
135 0 1 if (public_key_l != 32)