Codebase list openssl / 0e1c318
Build fixes Various build fixes, mostly uncovered by clang's unused-const-variable and unused-function errors. Reviewed-by: Kurt Roeckx <kurt@openssl.org> Emilia Kasper 9 years ago
5 changed file(s) with 5 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
6767
6868 #include "ec_lcl.h"
6969
70 static const char EC_version[] = "EC" OPENSSL_VERSION_PTEXT;
70 const char EC_version[] = "EC" OPENSSL_VERSION_PTEXT;
7171
7272
7373 /* functions for EC_GROUP objects */
112112
113113 /* This is the value of the prime as four 64-bit words, little-endian. */
114114 static const u64 kPrime[4] = { 0xfffffffffffffffful, 0xffffffff, 0, 0xffffffff00000001ul };
115 static const limb bottom32bits = 0xffffffff;
116115 static const u64 bottom63bits = 0x7ffffffffffffffful;
117116
118117 /* bin32_to_felem takes a little-endian byte array and converts it into felem
13651365 },
13661366 };
13671367
1368 void nistp_single_test(const struct nistp_test_params *test)
1368 static void nistp_single_test(const struct nistp_test_params *test)
13691369 {
13701370 BN_CTX *ctx;
13711371 BIGNUM *p, *a, *b, *x, *y, *n, *m, *order;
14681468 BN_CTX_free(ctx);
14691469 }
14701470
1471 void nistp_tests()
1471 static void nistp_tests()
14721472 {
14731473 unsigned i;
14741474
113113 ENGINE_CMD_FLAG_NO_INPUT},
114114 {0, NULL, NULL, 0}
115115 };
116 static const ENGINE_CMD_DEFN dynamic_cmd_defns_empty[] = {
117 {0, NULL, NULL, 0}
118 };
119116
120117 /* Loading code stores state inside the ENGINE structure via the "ex_data"
121118 * element. We load all our state into a single structure and use that as a
383383 }
384384
385385 #ifndef OPENSSL_NO_AES
386 #ifndef AES_ASM
386387 /* Our own htonl()/ntohl() */
387388 static inline void
388389 padlock_bswapl(AES_KEY *ks)
395396 key++;
396397 }
397398 }
399 #endif
398400 #endif
399401
400402 /* Force key reload from memory to the CPU microcode.