Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/5105)
# include <openssl/e_os2.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*
* Internal word types. Somewhat tricky. This could be decided separately per
* platform. However, the structs do need to be all the same size and
return (c448_error_t) x;
}
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* __C448_COMMON_H__ */
# include "point_448.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* Number of bytes in an EdDSA public key. */
# define EDDSA_448_PUBLIC_BYTES 57
uint8_t x[X448_PRIVATE_BYTES],
const uint8_t ed[EDDSA_448_PRIVATE_BYTES]);
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* __C448_ED448_H__ */
# include "curve448utils.h"
# include "field.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
# define C448_SCALAR_LIMBS ((446-1)/C448_WORD_BITS+1)
/* Overwrite point with zeros. */
void curve448_point_destroy(curve448_point_t point);
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
#endif /* __C448_POINT_448_H__ */