Lines Matching refs:two
578 struct crypto_bignum *a, *u2, *t1, *t2, *z, *t, *zero, *one, *two, *three, in sswu() local
607 two = crypto_bignum_init_uint(2); in sswu()
615 if (!u2 || !t1 || !t2 || !z || !t || !zero || !one || !two || !three || in sswu()
642 if (crypto_bignum_sub(prime, two, t2) < 0 || in sswu()
767 crypto_bignum_deinit(two, 0); in sswu()
925 struct crypto_bignum *one = NULL, *two = NULL, *bn = NULL, *tmp = NULL, in sae_derive_pt_ffc() local
958 two = crypto_bignum_init_uint(2); in sae_derive_pt_ffc()
960 if (!bn || !one || !two || !tmp || in sae_derive_pt_ffc()
961 crypto_bignum_sub(prime, two, tmp) < 0 || in sae_derive_pt_ffc()
963 crypto_bignum_add(bn, two, bn) < 0 || in sae_derive_pt_ffc()
988 crypto_bignum_deinit(two, 0); in sae_derive_pt_ffc()