Lines Matching full:kcdsa
11 #include "kcdsa.h"
23 * The purpose of this example is to implement the KCDSA signature scheme
29 * not optimized for big numbers >= 1024 bits usually used for KCDSA.
40 * of KCDSA (e.g. by protecting the private key and nonces using constant
46 * have to be considered. Use this KCDSA code knowingly and at your own risk!
50 /* NOTE: since KCDSA is very similar to DSA, we reuse some of our DSA
51 * primitives to factorize some code. Also, KCDSA private and public keys
55 /* Import a KCDSA private key from buffers */
64 /* Import a KCDSA public key from buffers */
75 /* Compute a KCDSA public key from a private key.
127 /* Generate a KCDSA signature
343 /* Verify a KCDSA signature
509 #ifdef KCDSA
516 /* This example is taken from ISO14888-3 KCDSA (Appendix F "Numerical examples" */ in main()
569 const u8 msg[] = "This is a test message for KCDSA usage!"; in main()
580 /* This example is taken from ISO14888-3 KCDSA (Appendix F "Numerical examples" */ in main()
633 const u8 msg[] = "This is a test message for KCDSA usage!"; in main()
644 /* This example is taken from ISO14888-3 KCDSA (Appendix F "Numerical examples" */ in main()
712 const u8 msg[] = "This is a test message for KCDSA usage!"; in main()