summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/curve25519/curve25519_internal.h
diff options
context:
space:
mode:
authorjsing <>2022-11-09 17:45:55 +0000
committerjsing <>2022-11-09 17:45:55 +0000
commitce63bfbe542f710d82181ab0975b822aaf517973 (patch)
treee76aa3722ce7f15e986778b12b086e55334ed4c5 /src/lib/libcrypto/curve25519/curve25519_internal.h
parentff5faa687445f18e922b9b5263b369e9e7f5a57c (diff)
downloadopenbsd-ce63bfbe542f710d82181ab0975b822aaf517973.tar.gz
openbsd-ce63bfbe542f710d82181ab0975b822aaf517973.tar.bz2
openbsd-ce63bfbe542f710d82181ab0975b822aaf517973.zip
Make X25519_public_from_private() internally reachable.
Diffstat (limited to 'src/lib/libcrypto/curve25519/curve25519_internal.h')
-rw-r--r--src/lib/libcrypto/curve25519/curve25519_internal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/curve25519/curve25519_internal.h b/src/lib/libcrypto/curve25519/curve25519_internal.h
index 0a98781651..abfaaaf52b 100644
--- a/src/lib/libcrypto/curve25519/curve25519_internal.h
+++ b/src/lib/libcrypto/curve25519/curve25519_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: curve25519_internal.h,v 1.5 2022/11/09 17:39:29 jsing Exp $ */ 1/* $OpenBSD: curve25519_internal.h,v 1.6 2022/11/09 17:45:55 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2015, Google Inc. 3 * Copyright (c) 2015, Google Inc.
4 * 4 *
@@ -97,6 +97,9 @@ void x25519_scalar_mult_generic(uint8_t out[32], const uint8_t scalar[32],
97void ED25519_public_from_private(uint8_t out_public_key[32], 97void ED25519_public_from_private(uint8_t out_public_key[32],
98 const uint8_t private_key[32]); 98 const uint8_t private_key[32]);
99 99
100void X25519_public_from_private(uint8_t out_public_key[32],
101 const uint8_t private_key[32]);
102
100__END_HIDDEN_DECLS 103__END_HIDDEN_DECLS
101 104
102#endif /* HEADER_CURVE25519_INTERNAL_H */ 105#endif /* HEADER_CURVE25519_INTERNAL_H */