Searched refs:felem (Results 1 - 3 of 3) sorted by relevance

/freebsd-10-stable/crypto/openssl/crypto/ec/
H A Decp_nistp224.c62 * A 4-limb representation is an 'felem';
65 * reduce the representations: we ensure that inputs to each felem
68 * again partially reduced to obtain an felem satisfying a_i < 2^57.
76 typedef limb felem[4]; typedef
135 static const felem gmul[2][16][3] = { {{{0, 0, 0, 0},
265 felem g_pre_comp[2][16][3];
319 static void bin28_to_felem(felem out, const u8 in[28])
327 static void felem_to_bin28(u8 out[28], const felem in)
347 static int BN_to_felem(felem out, const BIGNUM *bn)
371 static BIGNUM *felem_to_BN(BIGNUM *out, const felem i
[all...]
H A Decp_nistp521.c125 * A field element with 64-bit limbs is an 'felem'. One with 128-bit limbs is a
131 typedef limb felem[NLIMBS]; typedef
138 * bin66_to_felem takes a little-endian byte array and converts it into felem
141 static void bin66_to_felem(felem out, const u8 in[66])
155 * felem_to_bin66 takes an felem and serialises into a little endian, 66 byte
158 static void felem_to_bin66(u8 out[66], const felem in)
180 /* BN_to_felem converts an OpenSSL BIGNUM into an felem */
181 static int BN_to_felem(felem out, const BIGNUM *bn)
204 /* felem_to_BN converts an felem into an OpenSSL BIGNUM */
205 static BIGNUM *felem_to_BN(BIGNUM *out, const felem i
[all...]
H A Decp_nistp256.c105 * A field element with four limbs is an 'felem'. One with eight limbs is a
115 typedef limb felem[NLIMBS]; typedef
125 * bin32_to_felem takes a little-endian byte array and converts it into felem
128 static void bin32_to_felem(felem out, const u8 in[32])
156 /* BN_to_felem converts an OpenSSL BIGNUM into an felem */
157 static int BN_to_felem(felem out, const BIGNUM *bn)
180 /* felem_to_BN converts an felem into an OpenSSL BIGNUM */
210 static void felem_assign(felem out, const felem in)
219 static void felem_sum(felem ou
[all...]

Completed in 104 milliseconds