Lines Matching full:p224
15 #include "third_party/chromium/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 = {
136 p224::Point X;
137 p224::ScalarBaseMult(x_, &X);
141 p224::Point MNpw;
142 p224::ScalarMult(is_server_ ? kN : kM, pw_, &MNpw);
145 p224::Point Xstar;
146 p224::Add(X, MNpw, &Xstar);
192 p224::Point Ystar;
199 p224::Point MNpw, minus_MNpw, Y, k;
200 p224::ScalarMult(is_server_ ? kM : kN, pw_, &MNpw);
201 p224::Negate(MNpw, &minus_MNpw);
204 p224::Add(Ystar, minus_MNpw, &Y);
207 p224::ScalarMult(Y, x_, &k);