Home
last modified time | relevance | path

Searched full:kcdsa (Results 1 – 9 of 9) sorted by relevance

/freebsd/crypto/libecc/src/examples/sig/kcdsa/
H A Dkcdsa.h15 * NOTE: although we only need libarith for KCDSA as we
27 /* We define hereafter the types and functions for KCDSA.
30 /* KCDSA public key, composed of:
31 * p the KCDSA prime modulus
32 * q the KCDSA prime order (prime divisor of (p-1))
33 * g the KCDSA generator
36 * NOTE: the KCDSA (Schnorr DSA) public key is mapped to a DSA public key
41 /* KCDSA private key, composed of:
42 * p the KCDSA prime modulus
43 * q the KCDSA prime order (prime divisor of (p-1))
[all …]
H A DMakefile10 all: kcdsa
16 # NOTE: avoid a false positive detecting a -Werror=stringop-overflow in kcdsa.c with Wno-error
23 kcdsa: libhash target
24kcdsa.c ../dsa/dsa.c $(ROOT_DIR)/src/external_deps/print.c $(ROOT_DIR)/src/external_deps/rand.c $…
29 …$(VERBOSE_MAKE)$(CROSS_COMPILE)$(CC) $(BIN_CFLAGS) -DKCDSA kcdsa.c ../dsa/dsa.c $(ROOT_DIR)/src/ex…
34 @rm -f kcdsa
H A Dkcdsa.c11 #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.
[all …]
/freebsd/crypto/libecc/.github/workflows/
H A Dlibecc_examples.yml36 …DUSER_NN_BIT_LEN=4096" make && ./sig/rsa/rsa && ./sig/dsa/dsa && ./sig/kcdsa/kcdsa && ./sig/sdsa/s…
/freebsd/crypto/libecc/src/sig/
H A Deckcdsa.c120 * - In EC-KCDSA sig/verif, the result (h and then r) are then XORed
164 * Generic *internal* EC-KCDSA signature functions (init, update and finalize).
170 * Global EC-KCDSA signature process is as follows (I,U,F provides
174 *| IUF - EC-KCDSA signature
275 * part too. This guarantees the context is an EC-KCDSA in _eckcdsa_sign_update()
321 * part too. This guarantees the context is an EC-KCDSA in _eckcdsa_sign_finalize()
507 * Generic *internal* EC-KCDSA verification functions (init, update and
517 *| IUF - EC-KCDSA verification
672 * part too. This guarantees the context is an EC-KCDSA in _eckcdsa_verify_update()
720 * part too. This guarantees the context is an EC-KCDSA in _eckcdsa_verify_finalize()
/freebsd/crypto/libecc/src/examples/sig/
H A DMakefile8 KCDSA_DIR=kcdsa/
/freebsd/crypto/libecc/scripts/
H A Dcrossbuild.sh49 …check_and_copy $ROOT_DIR/src/examples/sig/kcdsa/kcdsa $CROSSBUILD_OUTPUT/"$triplet"/word"$wordsize…
/freebsd/crypto/libecc/
H A DREADME.md141 * The KCDSA (Korean DSA) as defined in ISO14888-3
337 …p finite fields discrete logarithm) in [src/examples/sig](src/examples/sig) (RSA, DSA, SDSA, KCDSA,
/freebsd/crypto/libecc/src/tests/
H A Dec_self_tests_core.h1249 .msg = "This is a sample message for EC-KCDSA implementation validation.",
1313 .msg = "This is a sample message for EC-KCDSA implementation validation.",
1377 .msg = "This is a sample message for EC-KCDSA implementation validation.",
1448 .msg = "This is a sample message for EC-KCDSA implementation validation.",
1598 .msg = "This is a sample message for EC-KCDSA implementation validation.",