Lines Matching refs:error

58       goto error;  in ecc_recover_key()
67 goto error; in ecc_recover_key()
75 … LTC_ASN1_EOL, 0UL, LTC_NULL)) != CRYPT_OK) { goto error; } in ecc_recover_key()
82 goto error; in ecc_recover_key()
84 …read_unsigned_bin(r, (unsigned char *)sig, i)) != CRYPT_OK) { goto error; } in ecc_recover_key()
85 …read_unsigned_bin(s, (unsigned char *)sig+i, i)) != CRYPT_OK) { goto error; } in ecc_recover_key()
91 err = CRYPT_ERROR; goto error; in ecc_recover_key()
95 goto error; in ecc_recover_key()
102 goto error; in ecc_recover_key()
105 …read_unsigned_bin(r, (unsigned char *)sig, 32)) != CRYPT_OK) { goto error; } in ecc_recover_key()
106 …read_unsigned_bin(s, (unsigned char *)sig+32, 32)) != CRYPT_OK) { goto error; } in ecc_recover_key()
119 … LTC_SSHDATA_EOL, NULL)) != CRYPT_OK) { goto error; } in ecc_recover_key()
123 …_ssh_ecdsa_encode_name(name2, &name2len, key)) != CRYPT_OK) { goto error; } in ecc_recover_key()
126 goto error; in ecc_recover_key()
133 goto error; in ecc_recover_key()
139 goto error; in ecc_recover_key()
146 goto error; in ecc_recover_key()
153 …read_unsigned_bin(e, (unsigned char *)hash, hashlen)) != CRYPT_OK) { goto error; } in ecc_recover_key()
156 …read_unsigned_bin(e, (unsigned char *)hash, pbytes)) != CRYPT_OK) { goto error; } in ecc_recover_key()
165 …read_unsigned_bin(e, (unsigned char *)buf, pbytes)) != CRYPT_OK) { goto error; } in ecc_recover_key()
170 …(x, recid/2)) != CRYPT_OK) { goto error; } in ecc_recover_key()
171 …mod(p, x, m, x)) != CRYPT_OK) { goto error; } in ecc_recover_key()
172 …(x, r, x)) != CRYPT_OK) { goto error; } in ecc_recover_key()
174 …(x, t1)) != CRYPT_OK) { goto error; } in ecc_recover_key()
175 …mod(t1, x, m, t1)) != CRYPT_OK) { goto error; } in ecc_recover_key()
177 …mod(a, x, m, t2)) != CRYPT_OK) { goto error; } in ecc_recover_key()
178 …(t1, t2, t1)) != CRYPT_OK) { goto error; } in ecc_recover_key()
180 …(t1, b, t1)) != CRYPT_OK) { goto error; } in ecc_recover_key()
182 …tmod_prime(t1, m, t2)) != CRYPT_OK) { goto error; } in ecc_recover_key()
185 …y(x, mR->x)) != CRYPT_OK) { goto error; } in ecc_recover_key()
187 …mod(t2, m, mR->y)) != CRYPT_OK) { goto error; } in ecc_recover_key()
190 …submod(m, t2, m, mR->y)) != CRYPT_OK) { goto error; } in ecc_recover_key()
192 …(mR->z, 1)) != CRYPT_OK) { goto error; } in ecc_recover_key()
195 …mod(r, p, w)) != CRYPT_OK) { goto error; } in ecc_recover_key()
197 …mod(s, w, p, v1)) != CRYPT_OK) { goto error; } in ecc_recover_key()
199 …mod(e, w, p, v2)) != CRYPT_OK) { goto error; } in ecc_recover_key()
200 …mod(p, v2, p, v2)) != CRYPT_OK) { goto error; } in ecc_recover_key()
203 …mod(s, p, w)) != CRYPT_OK) { goto error; } in ecc_recover_key()
205 …mod(e, w, p, u1)) != CRYPT_OK) { goto error; } in ecc_recover_key()
207 …mod(r, w, p, u2)) != CRYPT_OK) { goto error; } in ecc_recover_key()
210 …c_copy_point(&key->dp.base, mG)) != CRYPT_OK) { goto error; } in ecc_recover_key()
213 …tgomery_setup(m, &mp)) != CRYPT_OK) { goto error; } in ecc_recover_key()
217 …init_multi(&mu, &ma, LTC_NULL)) != CRYPT_OK) { goto error; } in ecc_recover_key()
218 …montgomery_normalization(mu, m)) != CRYPT_OK) { goto error; } in ecc_recover_key()
219 …mulmod(a, mu, m, ma)) != CRYPT_OK) { goto error; } in ecc_recover_key()
224 ….ecc_mul2add(mR, v1, mG, v2, mQ, ma, m)) != CRYPT_OK) { goto error; } in ecc_recover_key()
227 ….ecc_mul2add(mG, u1, mQ, u2, mG, ma, m)) != CRYPT_OK) { goto error; } in ecc_recover_key()
230 …(mG->x, p, v)) != CRYPT_OK) { goto error; } in ecc_recover_key()
235 …_ecc_copy_point(mQ, &key->pubkey)) != CRYPT_OK) { goto error; } in ecc_recover_key()
237 …_ecc_verify_key(key)) != CRYPT_OK) { goto error; } in ecc_recover_key()
248 error: in ecc_recover_key()