File: agent.h

package info (click to toggle)
lastpass-cli 0.3.0-2%2Bdeb8u1
  • links: PTS
  • area: main
  • in suites: jessie
  • size: 416 kB
  • ctags: 447
  • sloc: ansic: 4,844; sh: 129; makefile: 49
file content (12 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef AGENT_H
#define AGENT_H

#include "kdf.h"
#include <stdbool.h>

bool agent_get_decryption_key(unsigned char key[KDF_HASH_LEN]);
void agent_save(const char *username, int iterations, unsigned const char key[KDF_HASH_LEN]);
void agent_kill(void);
bool agent_load_key(unsigned char key[KDF_HASH_LEN]);

#endif