Searched refs:felem (Results 1 - 3 of 3) sorted by path
/freebsd-11-stable/crypto/openssl/crypto/ec/ |
H A D | ecp_nistp224.c | 62 * 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) 339 static int BN_to_felem(felem out, const BIGNUM *bn) 358 static BIGNUM *felem_to_BN(BIGNUM *out, const felem i [all...] |
H A D | ecp_nistp256.c | 105 * 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]) 148 /* BN_to_felem converts an OpenSSL BIGNUM into an felem */ 149 static int BN_to_felem(felem out, const BIGNUM *bn) 167 /* felem_to_BN converts an felem into an OpenSSL BIGNUM */ 196 static void felem_assign(felem out, const felem in) 205 static void felem_sum(felem ou [all...] |
H A D | ecp_nistp521.c | 125 * 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) 172 /* BN_to_felem converts an OpenSSL BIGNUM into an felem */ 173 static int BN_to_felem(felem out, const BIGNUM *bn) 191 /* felem_to_BN converts an felem into an OpenSSL BIGNUM */ 192 static BIGNUM *felem_to_BN(BIGNUM *out, const felem i [all...] |
Completed in 159 milliseconds