summaryrefslogtreecommitdiffstats
path: root/crypto/sha
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-11-10 16:21:54 +0100
committerRichard Levitte <levitte@openssl.org>2016-11-10 16:24:02 +0100
commit10b0b5ecd93097179a2b13a7d34e0ab580d23fa2 (patch)
tree4b974e700ad368575e55b8abe3ce8d8b97c11845 /crypto/sha
parentde4d764e3271ce09d28c0d6d7bce3dc9d8b85ab9 (diff)
Revert "Move algorithm specific ppccap code from crypto/ppccap.c"
Now that we can link specifically with static libraries, the immediate need to split ppccap.c (and eventually other *cap.c files) is no more. This reverts commit e3fb4d3d52e188b83ccb8506aa2f16cb686f4d6c. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/sha')
-rw-r--r--crypto/sha/sha_ppccap.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/crypto/sha/sha_ppccap.c b/crypto/sha/sha_ppccap.c
deleted file mode 100644
index 6e77369e3e..0000000000
--- a/crypto/sha/sha_ppccap.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright 2009-2016 The OpenSSL Project Authors. All Rights Reserved.
- *
- * Licensed under the OpenSSL license (the "License"). You may not use
- * this file except in compliance with the License. You can obtain a copy
- * in the file LICENSE in the source distribution or at
- * https://www.openssl.org/source/license.html
- */
-
-#include <stdlib.h>
-#include <openssl/opensslconf.h>
-#include "../ppc_arch.h"
-
-void sha256_block_p8(void *ctx, const void *inp, size_t len);
-void sha256_block_ppc(void *ctx, const void *inp, size_t len);
-void sha256_block_data_order(void *ctx, const void *inp, size_t len)
-{
- OPENSSL_ppccap_P & PPC_CRYPTO207 ? sha256_block_p8(ctx, inp, len) :
- sha256_block_ppc(ctx, inp, len);
-}
-
-void sha512_block_p8(void *ctx, const void *inp, size_t len);
-void sha512_block_ppc(void *ctx, const void *inp, size_t len);
-void sha512_block_data_order(void *ctx, const void *inp, size_t len)
-{
- OPENSSL_ppccap_P & PPC_CRYPTO207 ? sha512_block_p8(ctx, inp, len) :
- sha512_block_ppc(ctx, inp, len);
-}
-