Lines Matching defs:reason
96 /* error:[error code]:[library name]:[function name]:[reason string] */
639 * @param reason: bogus reason in more detail.
646 char** reason)
664 *reason = "use of key for crypto failed";
674 *reason = "use of key for DSA crypto failed";
689 *reason = "use of signature for ECDSA crypto failed";
774 *reason = "signature crypto failed";
1250 * @param reason: bogus reason in more detail.
1257 char** reason)
1275 *reason = "use of key for crypto failed";
1290 *reason = "signature DER decode failed";
1351 *reason = "signature crypto failed";
1356 *reason = "signature crypto failed";
1822 * @param reason: bogus reason in more detail.
1829 char** reason)
1834 *reason = "null signature";
1851 *reason = _verify_nettle_dsa(buf, sigblock, sigblock_len, key, keylen);
1852 if (*reason != NULL)
1874 *reason = _verify_nettle_rsa(buf, digest_size, (char*)sigblock,
1876 if (*reason != NULL)
1887 *reason = _verify_nettle_ecdsa(buf, digest_size, sigblock,
1889 if (*reason != NULL)
1896 *reason = _verify_nettle_ed25519(buf, sigblock, sigblock_len,
1898 if (*reason != NULL)
1906 *reason = "unable to verify signature, unknown algorithm";