HomeSort by relevance Sort by last modified time
    Searched refs:P256_LIMBS (Results 1 - 3 of 3) sorted by null

  /external/boringssl/src/crypto/fipsmodule/ec/
p256-x86_64.h 33 // |P256_LIMBS| |BN_ULONG|s, spanning the full range of values.
38 #define P256_LIMBS (256 / BN_BITS2)
41 void ecp_nistz256_neg(BN_ULONG res[P256_LIMBS], const BN_ULONG a[P256_LIMBS]);
44 void ecp_nistz256_mul_mont(BN_ULONG res[P256_LIMBS],
45 const BN_ULONG a[P256_LIMBS],
46 const BN_ULONG b[P256_LIMBS]);
49 void ecp_nistz256_sqr_mont(BN_ULONG res[P256_LIMBS],
50 const BN_ULONG a[P256_LIMBS]);
54 static inline void ecp_nistz256_from_mont(BN_ULONG res[P256_LIMBS],
    [all...]
p256-x86_64.c 46 static const BN_ULONG ONE[P256_LIMBS] = {
82 static void copy_conditional(BN_ULONG dst[P256_LIMBS],
83 const BN_ULONG src[P256_LIMBS], BN_ULONG move) {
91 if (P256_LIMBS == 8) {
125 static void ecp_nistz256_mod_inverse_mont(BN_ULONG r[P256_LIMBS],
126 const BN_ULONG in[P256_LIMBS]) {
130 BN_ULONG p2[P256_LIMBS];
131 BN_ULONG p4[P256_LIMBS];
132 BN_ULONG p8[P256_LIMBS];
133 BN_ULONG p16[P256_LIMBS];
    [all...]
p256-x86_64_test.cc 90 static bool GetFieldElement(FileTest *t, BN_ULONG out[P256_LIMBS],
97 if (bytes.size() != BN_BYTES * P256_LIMBS) {
104 OPENSSL_memset(out, 0, P256_LIMBS * sizeof(BN_ULONG));
106 out[P256_LIMBS - 1 - (i / BN_BYTES)] <<= 8;
107 out[P256_LIMBS - 1 - (i / BN_BYTES)] |= bytes[i];
113 static std::string FieldElementToString(const BN_ULONG a[P256_LIMBS]) {
115 for (size_t i = P256_LIMBS-1; i < P256_LIMBS; i--) {
125 const BN_ULONG expected[P256_LIMBS], const BN_ULONG actual[P256_LIMBS]) {
    [all...]

Completed in 96 milliseconds