Coda Distributed File System
|
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <assert.h>
#include <rpc2/secure.h>
#include "rpc2.private.h"
Macros | |
#define | RNDPOOL 256 |
Functions | |
void | rpc2_Encrypt (IN char *FromBuffer, OUT char *ToBuffer, IN size_t HowManyBytes, IN RPC2_EncryptionKey WhichKey, IN RPC2_Integer EncryptionType) |
void | rpc2_Decrypt (IN char *FromBuffer, OUT char *ToBuffer, IN size_t HowManyBytes, IN RPC2_EncryptionKey WhichKey, IN RPC2_Integer EncryptionType) |
void | rpc2_InitRandom () |
unsigned int | rpc2_NextRandom (char *StatePtr) |
void | rpc2_ApplyE (RPC2_PacketBuffer *pb, struct CEntry *ce) |
void | rpc2_ApplyD (RPC2_PacketBuffer *pb, struct CEntry *ce) |
Variables | |
int | rpc2_XDebug |
#define RNDPOOL 256 |
void rpc2_ApplyD | ( | RPC2_PacketBuffer * | pb, |
struct CEntry * | ce | ||
) |
void rpc2_ApplyE | ( | RPC2_PacketBuffer * | pb, |
struct CEntry * | ce | ||
) |
void rpc2_Decrypt | ( | IN char * | FromBuffer, |
OUT char * | ToBuffer, | ||
IN size_t | HowManyBytes, | ||
IN RPC2_EncryptionKey | WhichKey, | ||
IN RPC2_Integer | EncryptionType | ||
) |
void rpc2_Encrypt | ( | IN char * | FromBuffer, |
OUT char * | ToBuffer, | ||
IN size_t | HowManyBytes, | ||
IN RPC2_EncryptionKey | WhichKey, | ||
IN RPC2_Integer | EncryptionType | ||
) |
void rpc2_InitRandom | ( | void | ) |
unsigned int rpc2_NextRandom | ( | char * | StatePtr | ) |
int rpc2_XDebug |