]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add empty crypto_mod_exp() wrapper for CryptoAPI.
authorJouni Malinen <j@w1.fi>
Sun, 20 Dec 2009 16:13:42 +0000 (18:13 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 20 Dec 2009 16:13:42 +0000 (18:13 +0200)
src/crypto/crypto_cryptoapi.c

index d0247ba51879583ba749f2d1d2e4dcf4025a6e12..2a8d2001b173287b5dbc6c287e72c2f890828ac9 100644 (file)
@@ -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;
+}