Lines Matching refs:ltc_res
64 int ltc_res = 0; in crypto_acipher_gen_dsa_key() local
69 ltc_res = mp_init_multi(<c_tmp_key.g, <c_tmp_key.p, <c_tmp_key.q, in crypto_acipher_gen_dsa_key()
71 if (ltc_res) in crypto_acipher_gen_dsa_key()
80 ltc_res = dsa_generate_key(NULL, find_prng("prng_crypto"), in crypto_acipher_gen_dsa_key()
82 if (ltc_res) in crypto_acipher_gen_dsa_key()
101 int ltc_res; in crypto_acipher_dsa_sign() local
137 ltc_res = mp_init_multi(&r, &s, NULL); in crypto_acipher_dsa_sign()
138 if (ltc_res != CRYPT_OK) { in crypto_acipher_dsa_sign()
143 ltc_res = dsa_sign_hash_raw(msg, msg_len, r, s, NULL, in crypto_acipher_dsa_sign()
146 if (ltc_res == CRYPT_OK) { in crypto_acipher_dsa_sign()
169 int ltc_stat, ltc_res; in crypto_acipher_dsa_verify() local
187 ltc_res = mp_init_multi(&r, &s, NULL); in crypto_acipher_dsa_verify()
188 if (ltc_res != CRYPT_OK) { in crypto_acipher_dsa_verify()
194 ltc_res = dsa_verify_hash_raw(r, s, msg, msg_len, <c_stat, <c_key); in crypto_acipher_dsa_verify()
196 res = convert_ltc_verify_status(ltc_res, ltc_stat); in crypto_acipher_dsa_verify()