Add XXX_PROCESS_ALT mecchanism
diff --git a/library/sha512.c b/library/sha512.c
index 86e28a9..aeb4187 100644
--- a/library/sha512.c
+++ b/library/sha512.c
@@ -190,6 +190,7 @@
     ctx->is384 = is384;
 }
 
+#if !defined(POLARSSL_SHA512_PROCESS_ALT)
 void sha512_process( sha512_context *ctx, const unsigned char data[128] )
 {
     int i;
@@ -258,6 +259,7 @@
     ctx->state[6] += G;
     ctx->state[7] += H;
 }
+#endif /* !POLARSSL_SHA512_PROCESS_ALT */
 
 /*
  * SHA-512 process buffer