Home | History | Annotate | Download | only in crypto

Lines Matching full:p224

13 #include <crypto/p224.h>
30 // static const char kSeed1[] = "P224 point generation seed (M)";
31 // static const char kSeed2[] = "P224 point generation seed (N)";
42 // EC_GROUP* p224 = EC_GROUP_new_by_curve_name(NID_secp224r1);
43 // EC_POINT* p = EC_POINT_new(p224);
50 // p224, p, &x, digest[28] & 1, NULL)) {
52 // EC_POINT_get_affine_coordinates_GFp(p224, p, &x, &y, NULL);
71 // EC_GROUP_free(p224);
80 const crypto::p224::Point kM = {
88 const crypto::p224::Point kN = {
119 p224::Point X;
120 p224::ScalarBaseMult(x_, &X);
124 p224::Point MNpw;
125 p224::ScalarMult(is_server_ ? kN : kM, pw_, &MNpw);
128 p224::Point Xstar;
129 p224::Add(X, MNpw, &Xstar);
175 p224::Point Ystar;
182 p224::Point MNpw, minus_MNpw, Y, k;
183 p224::ScalarMult(is_server_ ? kM : kN, pw_, &MNpw);
184 p224::Negate(MNpw, &minus_MNpw);
187 p224::Add(Ystar, minus_MNpw, &Y);
190 p224::ScalarMult(Y, x_, &k);