Coda Distributed File System
Functions
getsecret.cc File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <fcntl.h>
#include <util.h>
#include <unistd.h>
#include <stdio.h>
#include <coda_hash.h>
#include <coda_string.h>
#include "getsecret.h"
Include dependency graph for getsecret.cc:

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 
)