projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed SILC code to use new SRT and SCT APIs.
[silc.git]
/
lib
/
silccore
/
silcauth.h
diff --git
a/lib/silccore/silcauth.h
b/lib/silccore/silcauth.h
index 438c461cee75650958d8b82c2129ef73ea9072bc..a8d4512a04d1d6710219ac2da7f83fd26048ba8d 100644
(file)
--- a/
lib/silccore/silcauth.h
+++ b/
lib/silccore/silcauth.h
@@
-4,7
+4,7
@@
Author: Pekka Riikonen <priikone@silcnet.org>
Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 2001 - 200
7
Pekka Riikonen
+ Copyright (C) 2001 - 200
8
Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-37,6
+37,11
@@
#ifndef SILCAUTH_H
#define SILCAUTH_H
#ifndef SILCAUTH_H
#define SILCAUTH_H
+#define SILC_DEFAULT_HMAC "hmac-sha1-96"
+#define SILC_DEFAULT_HASH "sha1"
+#define SILC_DEFAULT_PKCS "rsa"
+#define SILC_DEFAULT_CIPHER "aes-256-cbc"
+
/****d* silccore/SilcAuthAPI/SilcAuthMethod
*
* NAME
/****d* silccore/SilcAuthAPI/SilcAuthMethod
*
* NAME
@@
-267,6
+272,7
@@
silc_auth_public_key_auth_generate(SilcPublicKey public_key,
* const unsigned char *pubdata,
* SilcUInt32 pubdata_len,
* SilcHash hash,
* const unsigned char *pubdata,
* SilcUInt32 pubdata_len,
* SilcHash hash,
+ * SilcRng rng,
* const void *id,
* SilcIdType type,
* SilcAuthGenerated generated,
* const void *id,
* SilcIdType type,
* SilcAuthGenerated generated,
@@
-289,6
+295,7
@@
silc_auth_public_key_auth_generate_wpub(SilcPublicKey public_key,
const unsigned char *pubdata,
SilcUInt32 pubdata_len,
SilcHash hash,
const unsigned char *pubdata,
SilcUInt32 pubdata_len,
SilcHash hash,
+ SilcRng rng,
const void *id, SilcIdType type,
SilcAuthGenerated generated,
void *context);
const void *id, SilcIdType type,
SilcAuthGenerated generated,
void *context);