Go to the source code of this file.
|
| static void | key_base64_encode (const uint8_t *src, size_t len, char *dest) |
| |
| static uint64_t | key_generate (char *buffer, uint64_t size) |
| |
| static void | key_timer_handler (interrupt_frame_t *frame, cpu_t *self) |
| |
| uint64_t | key_share (char *key, uint64_t size, file_t *file, clock_t timeout) |
| | Generates a key that can be used to retrieve the file within the specified timeout.
|
| |
| file_t * | key_claim (const char *key) |
| | Claims a shared file using the provided key.
|
| |
| | SYSCALL_DEFINE (SYS_SHARE, uint64_t, char *key, uint64_t size, fd_t fd, clock_t timeout) |
| |
| | SYSCALL_DEFINE (SYS_CLAIM, fd_t, const char *key) |
| |
◆ key_base64_encode()
| static void key_base64_encode |
( |
const uint8_t * |
src, |
|
|
size_t |
len, |
|
|
char * |
dest |
|
) |
| |
|
static |
Definition at line 25 of file key.c.
◆ key_generate()
Definition at line 45 of file key.c.
◆ key_timer_handler()
Definition at line 62 of file key.c.
◆ SYSCALL_DEFINE() [1/2]
◆ SYSCALL_DEFINE() [2/2]
◆ keyMap
Definition at line 21 of file key.c.
◆ keyList
Definition at line 22 of file key.c.
◆ keyLock
Definition at line 23 of file key.c.