]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - crypto.h
add missing args to Cmd_QuoteString in other files
[xonotic/darkplaces.git] / crypto.h
index 19e9735d5955771310432edf8c7b64fa71fca89c..507c0a06242157b85be327806279e8711c72d938 100644 (file)
--- a/crypto.h
+++ b/crypto.h
@@ -53,6 +53,9 @@ const char *Crypto_GetInfoResponseDataString(void);
 qboolean Crypto_RetrieveHostKey(lhnetaddress_t *peeraddress, int *keyid, char *keyfp, size_t keyfplen, char *idfp, size_t idfplen, int *aeslevel);
 int Crypto_RetrieveLocalKey(int keyid, char *keyfp, size_t keyfplen, char *idfp, size_t idfplen); // return value: -1 if more to come, +1 if valid, 0 if end of list
 
+size_t Crypto_SignData(const void *data, size_t datasize, int keyid, void *signed_data, size_t signed_size);
+size_t Crypto_SignDataDetached(const void *data, size_t datasize, int keyid, void *signed_data, size_t signed_size);
+
 // netconn protocol:
 //   non-crypto:
 //     getchallenge                                            >