Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
yubihsm-shell.h File Reference
#include <assert.h>
#include <yubihsm.h>
#include <ykyh.h>
#include <cmdline.h>
Include dependency graph for yubihsm-shell.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yubihsm_context
 

Macros

#define UNUSED(x)
 

Enumerations

enum  cmd_format {
  fmt_nofmt , fmt_base64 , fmt_binary , fmt_hex ,
  fmt_PEM , fmt_password , fmt_ASCII
}
 

Functions

int actions_run (struct gengetopt_args_info *args_info)
 
int do_put_key (uint8_t *enc_key, uint8_t *mac_key, uint16_t key_id, uint16_t domains, uint32_t capabilities, yh_session *ses)
 

Macro Definition Documentation

◆ UNUSED

#define UNUSED ( x)
Value:
(void) (x)

Definition at line 26 of file yubihsm-shell.h.

Enumeration Type Documentation

◆ cmd_format

enum cmd_format
Enumerator
fmt_nofmt 
fmt_base64 
fmt_binary 
fmt_hex 
fmt_PEM 
fmt_password 
fmt_ASCII 

Definition at line 28 of file yubihsm-shell.h.

28 {
32 fmt_hex,
33 fmt_PEM,
cmd_format
@ fmt_nofmt
@ fmt_ASCII
@ fmt_binary
@ fmt_PEM
@ fmt_hex
@ fmt_password
@ fmt_base64

Function Documentation

◆ actions_run()

int actions_run ( struct gengetopt_args_info * args_info)

◆ do_put_key()

int do_put_key ( uint8_t * enc_key,
uint8_t * mac_key,
uint16_t key_id,
uint16_t domains,
uint32_t capabilities,
yh_session * ses )

Variable Documentation

◆ format

cmd_format format

Definition at line 40 of file yubihsm-shell.h.

◆ name

const char* name

Definition at line 39 of file yubihsm-shell.h.