Lines Matching refs:q
25 if (!bn_alloc_max(&s->q)) in crypto_acipher_alloc_dsa_keypair()
35 crypto_bignum_free(s->q); in crypto_acipher_alloc_dsa_keypair()
49 if (!bn_alloc_max(&s->q)) in crypto_acipher_alloc_dsa_public_key()
57 crypto_bignum_free(s->q); in crypto_acipher_alloc_dsa_public_key()
69 ltc_res = mp_init_multi(<c_tmp_key.g, <c_tmp_key.p, <c_tmp_key.q, in crypto_acipher_gen_dsa_key()
77 mp_copy(key->q, ltc_tmp_key.q); in crypto_acipher_gen_dsa_key()
108 .q = key->q, in crypto_acipher_dsa_sign()
124 if (mp_unsigned_bin_size(ltc_key.q) < hash_size) in crypto_acipher_dsa_sign()
125 hash_size = mp_unsigned_bin_size(ltc_key.q); in crypto_acipher_dsa_sign()
131 if (*sig_len < 2 * mp_unsigned_bin_size(ltc_key.q)) { in crypto_acipher_dsa_sign()
132 *sig_len = 2 * mp_unsigned_bin_size(ltc_key.q); in crypto_acipher_dsa_sign()
147 *sig_len = 2 * mp_unsigned_bin_size(ltc_key.q); in crypto_acipher_dsa_sign()
176 .q = key->q, in crypto_acipher_dsa_verify()