summaryrefslogtreecommitdiffstats
path: root/include/crypto/ecx.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-02-04 16:41:19 +0000
committerMatt Caswell <matt@openssl.org>2020-02-11 22:32:56 +0000
commit97b50f67f212589661c9f1edd5285822c6cc642b (patch)
treeffe238b1b99a2e5fc40d4ae76dbff5b9f9f95f22 /include/crypto/ecx.h
parent6f7d213533d9c7c2d810499cfedaa6d2424482c9 (diff)
Add S390 support for provider based X25519/X448
Reviewed-by: Patrick Steuer <patrick.steuer@de.ibm.com> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/10964)
Diffstat (limited to 'include/crypto/ecx.h')
-rw-r--r--include/crypto/ecx.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/crypto/ecx.h b/include/crypto/ecx.h
index 3f0bbe1bb9..e179db1b53 100644
--- a/include/crypto/ecx.h
+++ b/include/crypto/ecx.h
@@ -63,5 +63,12 @@ int X448(uint8_t out_shared_key[56], const uint8_t private_key[56],
void X448_public_from_private(uint8_t out_public_value[56],
const uint8_t private_key[56]);
+int s390x_x25519_mul(unsigned char u_dst[32],
+ const unsigned char u_src[32],
+ const unsigned char d_src[32]);
+int s390x_x448_mul(unsigned char u_dst[56],
+ const unsigned char u_src[56],
+ const unsigned char d_src[56]);
+
# endif /* OPENSSL_NO_EC */
#endif