From aad3335897d16f38e7aa97847f6400f7b42e6774 Mon Sep 17 00:00:00 2001 From: Bret Ambrose Date: Fri, 14 Feb 2020 14:27:09 -0800 Subject: [PATCH] Move aws_ecc_key_coordinate_byte_size_from_curve_name() to a public function --- include/aws/cal/ecc.h | 2 ++ include/aws/cal/private/ecc.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/aws/cal/ecc.h b/include/aws/cal/ecc.h index 5b77020c..269a8491 100644 --- a/include/aws/cal/ecc.h +++ b/include/aws/cal/ecc.h @@ -160,6 +160,8 @@ AWS_CAL_API void aws_ecc_key_pair_get_private_key( const struct aws_ecc_key_pair *key_pair, struct aws_byte_cursor *private_d); +AWS_CAL_API size_t aws_ecc_key_coordinate_byte_size_from_curve_name(enum aws_ecc_curve_name curve_name); + AWS_EXTERN_C_END #endif /* AWS_CAL_ECC_H */ diff --git a/include/aws/cal/private/ecc.h b/include/aws/cal/private/ecc.h index be6c5875..d7713431 100644 --- a/include/aws/cal/private/ecc.h +++ b/include/aws/cal/private/ecc.h @@ -28,8 +28,6 @@ AWS_CAL_API int aws_der_decoder_load_ecc_key_pair( struct aws_byte_cursor *out_private_d, enum aws_ecc_curve_name *out_curve_name); -AWS_CAL_API size_t aws_ecc_key_coordinate_byte_size_from_curve_name(enum aws_ecc_curve_name curve_name); - AWS_EXTERN_C_END #endif /* AWS_C_CAL_PRIVATE_ECC_H */