@@ -124,8 +124,9 @@ int wc_ed448_make_key(WC_RNG* rng, int keysize, ed448_key* key);
124124 \sa wc_ed448_verify_msg
125125*/
126126
127- int wc_ed448_sign_msg (const byte * in , word32 inlen , byte * out ,
128- word32 * outlen , ed448_key * key );
127+ int wc_ed448_sign_msg (const byte * in , word32 inLen , byte * out ,
128+ word32 * outLen , ed448_key * key ,
129+ const byte * context , byte contextLen );
129130
130131/*!
131132 \ingroup ED448
@@ -685,7 +686,7 @@ int wc_ed448_import_private_key_ex(const byte* priv, word32 privSz,
685686 \sa wc_ed448_export_private_only
686687*/
687688
688- int wc_ed448_export_public (ed448_key * key , byte * out , word32 * outLen );
689+ int wc_ed448_export_public (const ed448_key * key , byte * out , word32 * outLen );
689690
690691/*!
691692 \ingroup ED448
@@ -725,7 +726,8 @@ int wc_ed448_export_public(ed448_key* key, byte* out, word32* outLen);
725726 \sa wc_ed448_import_private_key_ex
726727*/
727728
728- int wc_ed448_export_private_only (ed448_key * key , byte * out , word32 * outLen );
729+ int wc_ed448_export_private_only (const ed448_key * key , byte * out ,
730+ word32 * outLen );
729731
730732/*!
731733 \ingroup ED448
@@ -768,7 +770,7 @@ int wc_ed448_export_private_only(ed448_key* key, byte* out, word32* outLen);
768770 \sa wc_ed448_export_private_only
769771*/
770772
771- int wc_ed448_export_private (ed448_key * key , byte * out , word32 * outLen );
773+ int wc_ed448_export_private (const ed448_key * key , byte * out , word32 * outLen );
772774
773775/*!
774776 \ingroup ED448
@@ -815,7 +817,7 @@ int wc_ed448_export_private(ed448_key* key, byte* out, word32* outLen);
815817 \sa wc_ed448_export_public
816818*/
817819
818- int wc_ed448_export_key (ed448_key * key ,
820+ int wc_ed448_export_key (const ed448_key * key ,
819821 byte * priv , word32 * privSz ,
820822 byte * pub , word32 * pubSz );
821823
@@ -879,7 +881,7 @@ int wc_ed448_check_key(ed448_key* key);
879881 \sa wc_ed448_make_key
880882*/
881883
882- int wc_ed448_size (ed448_key * key );
884+ int wc_ed448_size (const ed448_key * key );
883885
884886/*!
885887 \ingroup ED448
@@ -908,7 +910,7 @@ int wc_ed448_size(ed448_key* key);
908910 \sa wc_ed448_pub_size
909911*/
910912
911- int wc_ed448_priv_size (ed448_key * key );
913+ int wc_ed448_priv_size (const ed448_key * key );
912914
913915/*!
914916 \ingroup ED448
@@ -935,7 +937,7 @@ int wc_ed448_priv_size(ed448_key* key);
935937 \sa wc_ed448_priv_size
936938*/
937939
938- int wc_ed448_pub_size (ed448_key * key );
940+ int wc_ed448_pub_size (const ed448_key * key );
939941
940942/*!
941943 \ingroup ED448
@@ -963,4 +965,4 @@ int wc_ed448_pub_size(ed448_key* key);
963965 \sa wc_ed448_sign_msg
964966*/
965967
966- int wc_ed448_sig_size (ed448_key * key );
968+ int wc_ed448_sig_size (const ed448_key * key );
0 commit comments