11 #ifndef CRYPT_COMMANDS_H
12 #define CRYPT_COMMANDS_H
96 char *ivid,
char *blob);
108 char *ivid,
char *blob);
int gen_pubkey_cmd(struct supervisor_context *context, char *pubid, char *keyid)
GEN_PUBKEY command.
Definition: crypt_commands.c:132
int get_crypt_cmd(struct supervisor_context *context, char *key, char **value)
GET_CRYPT command.
Definition: crypt_commands.c:50
char * sign_blob_cmd(struct supervisor_context *context, const char *keyid, const char *blob)
SIGN_BLOB command.
Definition: crypt_commands.c:344
int gen_privkey_cmd(struct supervisor_context *context, char *keyid, uint8_t size)
GEN_PRIVKEY command.
Definition: crypt_commands.c:107
char * encrypt_blob_cmd(struct supervisor_context *context, char *keyid, char *ivid, char *blob)
ENCRYPT_BLOB command.
Definition: crypt_commands.c:196
int gen_cert_cmd(struct supervisor_context *context, char *certid, char *keyid, struct certificate_meta *meta)
GEN_CERT command.
Definition: crypt_commands.c:164
char * decrypt_blob_cmd(struct supervisor_context *context, char *keyid, char *ivid, char *blob)
DECRYPT_BLOB command.
Definition: crypt_commands.c:270
int gen_randkey_cmd(struct supervisor_context *context, char *keyid, uint8_t size)
GEN_RANDKEY command.
Definition: crypt_commands.c:80
int put_crypt_cmd(struct supervisor_context *context, char *key, char *value)
PUT_CRYPT command.
Definition: crypt_commands.c:28
bool meta
Definition: log.c:59
Supervisor structure definition.
Definition: supervisor_config.h:45