diff options
| author | jsing <> | 2022-11-09 17:45:55 +0000 |
|---|---|---|
| committer | jsing <> | 2022-11-09 17:45:55 +0000 |
| commit | ce63bfbe542f710d82181ab0975b822aaf517973 (patch) | |
| tree | e76aa3722ce7f15e986778b12b086e55334ed4c5 /src/lib/libcrypto/curve25519/curve25519_internal.h | |
| parent | ff5faa687445f18e922b9b5263b369e9e7f5a57c (diff) | |
| download | openbsd-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.h | 5 |
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], | |||
| 97 | void ED25519_public_from_private(uint8_t out_public_key[32], | 97 | void 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 | ||
| 100 | void 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 */ |
