svn commit: samba r13953 - in branches/SAMBA_4_0/source/lib/crypto:
.
metze at samba.org
metze at samba.org
Tue Mar 7 16:25:29 GMT 2006
Author: metze
Date: 2006-03-07 16:25:28 +0000 (Tue, 07 Mar 2006)
New Revision: 13953
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13953
Log:
make more functions public
metze
Modified:
branches/SAMBA_4_0/source/lib/crypto/arcfour.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/crypto/arcfour.c
===================================================================
--- branches/SAMBA_4_0/source/lib/crypto/arcfour.c 2006-03-07 16:18:09 UTC (rev 13952)
+++ branches/SAMBA_4_0/source/lib/crypto/arcfour.c 2006-03-07 16:25:28 UTC (rev 13953)
@@ -24,7 +24,7 @@
#include "lib/crypto/crypto.h"
/* initialise the arcfour sbox with key */
-void arcfour_init(struct arcfour_state *state, const DATA_BLOB *key)
+_PUBLIC_ void arcfour_init(struct arcfour_state *state, const DATA_BLOB *key)
{
int ind;
uint8_t j = 0;
@@ -46,7 +46,7 @@
}
/* crypt the data with arcfour */
-void arcfour_crypt_sbox(struct arcfour_state *state, uint8_t *data, int len)
+_PUBLIC_ void arcfour_crypt_sbox(struct arcfour_state *state, uint8_t *data, int len)
{
int ind;
@@ -69,7 +69,7 @@
/*
arcfour encryption with a blob key
*/
-void arcfour_crypt_blob(uint8_t *data, int len, const DATA_BLOB *key)
+_PUBLIC_ void arcfour_crypt_blob(uint8_t *data, int len, const DATA_BLOB *key)
{
struct arcfour_state state;
arcfour_init(&state, key);
@@ -80,7 +80,7 @@
a variant that assumes a 16 byte key. This should be removed
when the last user is gone
*/
-void arcfour_crypt(uint8_t *data, const uint8_t keystr[16], int len)
+_PUBLIC_ void arcfour_crypt(uint8_t *data, const uint8_t keystr[16], int len)
{
DATA_BLOB key = data_blob(keystr, 16);
More information about the samba-cvs
mailing list