From 8f431bc808615454555506103cdb508d45815e7f Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 20 Dec 2009 18:13:42 +0200 Subject: [PATCH] Add empty crypto_mod_exp() wrapper for CryptoAPI. --- src/crypto/crypto_cryptoapi.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/crypto/crypto_cryptoapi.c b/src/crypto/crypto_cryptoapi.c index d0247ba51..2a8d2001b 100644 --- a/src/crypto/crypto_cryptoapi.c +++ b/src/crypto/crypto_cryptoapi.c @@ -777,3 +777,13 @@ int crypto_global_init(void) void crypto_global_deinit(void) { } + + +int crypto_mod_exp(const u8 *base, size_t base_len, + const u8 *power, size_t power_len, + const u8 *modulus, size_t modulus_len, + u8 *result, size_t *result_len) +{ + /* TODO */ + return -1; +}