summaryrefslogtreecommitdiffstats
path: root/crypto/ec
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/ec
parentRename the Elliptic Curves extension to supported_groups (diff)
downloadopenssl-10b0b5ecd93097179a2b13a7d34e0ab580d23fa2.tar.xz
openssl-10b0b5ecd93097179a2b13a7d34e0ab580d23fa2.zip
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/ec')
-rw-r--r--crypto/ec/ec_ppccap.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/crypto/ec/ec_ppccap.c b/crypto/ec/ec_ppccap.c
deleted file mode 100644
index 1ad8b9fc1b..0000000000
--- a/crypto/ec/ec_ppccap.c
+++ /dev/null
@@ -1,38 +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 <openssl/opensslconf.h>
-#include "../ppc_arch.h"
-
-#ifndef ECP_NISTZ256_ASM
-NON_EMPTY_TRANSLATION_UNIT
-#else
-void ecp_nistz256_mul_mont(unsigned long res[4], const unsigned long a[4],
- const unsigned long b[4]);
-
-void ecp_nistz256_to_mont(unsigned long res[4], const unsigned long in[4]);
-void ecp_nistz256_to_mont(unsigned long res[4], const unsigned long in[4])
-{
- static const unsigned long RR[] = { 0x0000000000000003U,
- 0xfffffffbffffffffU,
- 0xfffffffffffffffeU,
- 0x00000004fffffffdU };
-
- ecp_nistz256_mul_mont(res, in, RR);
-}
-
-void ecp_nistz256_from_mont(unsigned long res[4], const unsigned long in[4]);
-void ecp_nistz256_from_mont(unsigned long res[4], const unsigned long in[4])
-{
- static const unsigned long one[] = { 1, 0, 0, 0 };
-
- ecp_nistz256_mul_mont(res, in, one);
-}
-#endif
-