Coda Distributed File System
|
#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"
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) |
void GenerateSecret | ( | RPC2_EncryptionKey | key | ) |
int GetSecret | ( | const char * | file, |
RPC2_EncryptionKey | key, | ||
struct secret_state * | state | ||
) |
void HashSecret | ( | unsigned char * | secret, |
int | len, | ||
RPC2_EncryptionKey | key | ||
) |