Coda Distributed File System
Classes | Functions
getsecret.h File Reference
#include <sys/types.h>
#include <rpc2/rpc2.h>
Include dependency graph for getsecret.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  secret_state
 

Functions

void HashSecret (unsigned char *secret, int len, RPC2_EncryptionKey key)
 
int GetSecret (const char *file, RPC2_EncryptionKey key, struct secret_state *state)
 
void GenerateSecret (RPC2_EncryptionKey key)
 

Function Documentation

◆ GenerateSecret()

void GenerateSecret ( RPC2_EncryptionKey  key)

◆ GetSecret()

int GetSecret ( const char *  file,
RPC2_EncryptionKey  key,
struct secret_state state 
)

◆ HashSecret()

void HashSecret ( unsigned char *  secret,
int  len,
RPC2_EncryptionKey  key 
)