1 /* BLURB lgpl
2 Coda File System
3 Release 6
4
5 Copyright (c) 2006 Carnegie Mellon University
6 Additional copyrights listed below
7
8 This code is distributed "AS IS" without warranty of any kind under
9 the terms of the GNU Library General Public Licence Version 2, as
10 shown in the file LICENSE. The technical and financial contributors to
11 Coda are listed in the file CREDITS.
12
13 Additional copyrights
14 #*/
15
16 #include <rpc2/secure.h>
17
init(void ** ctx,const uint8_t * key,size_t len)18 static int init(void **ctx, const uint8_t *key, size_t len)
19 {
20 return 0;
21 }
22
release(void ** ctx)23 static void release(void **ctx)
24 {
25 return;
26 }
27
auth(void * ctx,const uint8_t * buf,size_t len,uint8_t * icv)28 static void auth(void *ctx, const uint8_t *buf, size_t len, uint8_t *icv)
29 {
30 return;
31 }
32
33
34 struct secure_auth secure_AUTH_NONE = {
35 .id = SECURE_AUTH_NONE,
36 .name = "AUTH-NONE",
37 .auth_init = init,
38 .auth_free = release,
39 .auth = auth,
40 };
41
42