File: agent.h

package info (click to toggle)
lastpass-cli 1.6.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 912 kB
  • sloc: ansic: 10,203; sh: 683; makefile: 45
file content (13 lines) | stat: -rw-r--r-- 364 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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_ask(unsigned char key[KDF_HASH_LEN]);
bool agent_load_key(unsigned char key[KDF_HASH_LEN]);

#endif