Metrics

SFS - Secure File System - Documentation

Generated on June 7, 1998

bf_block
bf_key_schedule
file_locationLocation of a file = dir + name
groups_lineParsed line from /etc/sfs/groups
gshadow_lineParsed line from /etc/sfs/gshadow
passwd_lineParsed line from /etc/sfs/passwd
rsa_key
s_msgStructure that is passed through the message queue
sfs_chmod_requestChange mode of file (encrypted <--> plain)
sfs_chpass_request
sfs_close_requestClose a file
sfs_fchmod_request
sfs_fileOpened encrypted file
sfs_is_request
sfs_login_requestLogin as specified user
sfs_messageMessage passed to daemon
sfs_offsetRegion of a file
sfs_open_requestOpen a file
sfs_read_requestRead data from encrypted file
sfs_requestRequest to daemon
sfs_size_requestGet or set size of a file
sfs_userLogged in user
sfs_write_requestWrite data to encrypted file
sfsadir_lineParsed line from .
sfsdir_lineParsed line from .
sfsgdir_lineParsed line from .
sfssizes_lineParsed line from .
adcompare unsigned, returns, -1 0 or 1
b_to_nb_to_n(N a, unsigned char *buf,ULONG len) -- convert len bytes from
bf_cbc_encryptBlowfish cipher block chaining mode
bf_ecb_encryptBlowfish electronic code book mode
bf_set_keyCalculate key schedule
bit2hexConversion from bit array to hex string
clnegate, return carry
cpclear
cucopy, a = b
dmshift left, a <<= 1, return carry
emmodular multiply, a = a * b mod m
gdmodular exponentiation, a = a^e mod m
hex2bitConversion from hex string bit array
hnconvert number to hex string
ivgreatst common divisor, a = gcd(a,b)
mmmultiply unsigned, a *= b
mudiv-mod unsigned, a /= b, c = a % b
n_to_blen = n_to_b(unsigned char *buf, N a) -- convert a to bytes, most
next_primenext_prime(N a) -- find next probable prime >= a
ngtest signed, returns -1, 0 or 1
nhmultiplicative inverse, a = a^{-1} mod p
prob_primeflag = prob_prime(N n) -- test if 2^(n-1) mod n == 1.
randomizerandomize(N n, ULONG bits) -- pseudorandomize n, limit to value to
riconvert lowercase hex string to number
rsa_decrsa_dec(N m, rsa_key *key) -- low level rsa decryption.
rsa_encrsa_enc(N m, rsa_key *k) -- low level rsa encryption
rsa_genbits rsa_gen(rsa_key *key) -- generate a RSA key from key->p and key->q
sbadd, a += b
sfs_add_fileAdds file to internal demon structures
sfs_asym_decryptDecrypts data using RSA
sfs_asym_encryptEncrypts data using RSA
sfs_asym_generate_keyGenerates a pair of asymetric keys
sfs_asym_parse_keyMakes a rsa_key from hex string
sfs_asym_serialize_keyMakes a printable hex string from rsa_key
sfs_authReturn authorization key
sfs_chmod_requestFile chmod request
sfs_chpass_requestChange password request
sfs_close_requestClose file request
sfs_debDebugging outputs
sfs_del_file_keyDeletes file key from internal demon structures
sfs_delete_a_file_keyfrom sfsadir deletes the symetric file key for all
sfs_delete_all_private_keyDeletes private key of all users encrypted for specified user
sfs_delete_all_public_keyDeletes public key of all users
sfs_delete_file_keyfrom sfsdir deletes the symetric file key for specified user
sfs_delete_file_sizefrom sfsdir deletes the symetric file key for specified user
sfs_delete_g_file_keyfrom sfsgdir deletes the symetric file key for specified group
sfs_delete_group_private_keyDeletes private key of the specified group
sfs_delete_group_public_keyDeletes public key of the specified group
sfs_delete_user_private_keyDeletes private key of the specified user
sfs_delete_user_public_keyDeletes public key of the specified user
sfs_dump_requestDump user database request
sfs_fchmod_requestFile fchmod request
sfs_find_userFind user which is currently logged in
sfs_generate_aligned_offsetEnlarges the region of a file to contain just complete
sfs_get_file_keyReturns file key from internal demon structures
sfs_get_file_sizeReturns file key from internal demon structures
sfs_getsize_requestGet file size request
sfs_init_requestsInitializing request
sfs_is_encryptedAsk daemon if the opened file is encrypted or not
sfs_is_requestIs file in internal structures request
sfs_login_requestUser login request
sfs_open_requestOpen file request
sfs_parse_file_pathParses path to dir and name using getcwd if necessary
sfs_parse_groups_lineParses line of /etc/sfs/groups
sfs_parse_gshadow_lineParses line of /etc/sfs/gshadow
sfs_parse_passwd_lineParses line of /etc/sfs/passwd
sfs_parse_sfsadir_lineParses line of sfsadir
sfs_parse_sfsdir_lineParses line of sfsdir
sfs_parse_sfssizes_lineParses line of sfssizes
sfs_read_a_file_keyfrom sfsadir decrypts the symetric file key
sfs_read_all_private_keyReads in private key of all users
sfs_read_all_public_keyReads in public key of all users
sfs_read_file_keyfrom sfsdir decrypts the symetric file key
sfs_read_file_sizefrom sfssizes reads the file size
sfs_read_g_file_keyfrom sfsgdir decrypts the symetric file key
sfs_read_group_private_keyReads in private key of the specified group
sfs_read_group_public_keyReads in public key of the specified group
sfs_read_lineReads in a line from file
sfs_read_requestRead from file request
sfs_read_user_private_keyReads in private key of the specified user
sfs_read_user_public_keyReads in public key of the specified user
sfs_set_file_sizeAdds file key to internal demon structures
sfs_setsize_requestSet file size request
sfs_string_requestSay something nice to daemon request
sfs_sym_decryptDecrypts data using blowfish
sfs_sym_encryptEncrypts data using blowfish
sfs_sym_generate_keyGenerates symetric key of specified length
sfs_tempnameMakes a temporary file name
sfs_write_a_file_keyto sfsadir writes the symetric file key - encrypted
sfs_write_all_private_keyWrites out private key of all users encrypted for specified user
sfs_write_all_public_keyWrites out public key of all users
sfs_write_file_keyto sfsdir writes the symetric file key - encrypted
sfs_write_file_sizeto sfsdir writes the symetric file key - encrypted
sfs_write_g_file_keyto sfsgdir writes the symetric file key - encrypted
sfs_write_group_private_keyWrites out private key of the specified group
sfs_write_group_public_keyWrites out public key of the specified group
sfs_write_requestWrite to file request
sfs_write_user_private_keyWrites out private key of the specified user
sfs_write_user_public_keyWrites out public key of the specified user
sfsd_daemon_setupStart up as a daemon
sfsd_destroyDestroys the daemon
sfsd_initInitializes the daemon
sfsd_mainMain loop of the daemon
sfsd_restartResatarts the daemon
sfsd_signalSignal handling
sieve_primedivisor = sieve_prime(N n) -- try to find divisor of n by sieving
slshift right, a >>= 1, return carry
srsubstract, a -= b
tssign = ts(N a) -- test signed, returns 1, 0 or -1
__syscall_fstatSFS functions
__syscall_stat