bits_t
bits_t *key;
bits_t *orig_key, *key = NULL;
static bits_t *getkey(const char *, struct keygen *, size_t,
static bits_t *getkey_storedkey(const char *, struct keygen *, size_t);
static bits_t *getkey_randomkey(const char *, struct keygen *, size_t, int);
static bits_t *getkey_argon2id(const char *, struct keygen *, size_t);
static bits_t *getkey_pkcs5_pbkdf2(const char *, struct keygen *, size_t,
static bits_t *getkey_shell_cmd(const char *, struct keygen *, size_t);
static bits_t *
getsubkey_hkdf_hmac_sha256(bits_t *key, bits_t *info, size_t subkeylen)
bits_t *ret = NULL;
static bits_t *
getsubkey(int alg, bits_t *key, bits_t *info, size_t subkeylen)
static bits_t *
bits_t *ret = NULL;
bits_t *tmp;
static bits_t *
static bits_t *
static bits_t *
bits_t *ret;
static bits_t *
bits_t *ret;
static bits_t *
bits_t *ret;
bits_t *bits;
static void print_kvpair_b64(FILE *, int, int, const char *, bits_t *);
keygen_salt(bits_t *in)
keygen_key(bits_t *in)
keygen_shared(string_t *id, string_t *alg, bits_t *info)
print_kvpair_b64(FILE *f, int curpos, int ts, const char *key, bits_t *val)
struct keygen *keygen_salt(bits_t *);
struct keygen *keygen_key(bits_t *);
struct keygen *keygen_shared(string_t *, string_t *, bits_t *);
bits_t *kg_salt;
bits_t *kg_key;
bits_t *kg_sharedinfo;
bits_t *key;
bits_t *
bits_t *b;
bits_t *
bits_dup(const bits_t *in)
bits_free(bits_t *b)
bits_assign(bits_t **lhs, bits_t *rhs)
bits_getbuf(bits_t *in)
bits_len(bits_t *in)
bits_match(const bits_t *b1, const bits_t *b2)
bits_t *
bits_xor(const bits_t *x1, const bits_t *x2)
bits_t *b;
bits_t *
bits_xor_d(bits_t *x1, bits_t *x2)
bits_t *ret;
bits_t *
bits_t *ret;
bits_t *
bits_t *ret;
bits_encode(const bits_t *in)
bits_encode_d(bits_t *in)
bits_t *
bits_t *bits;
bits_t *
bits_t *bits;
bits_t *
bits_fprint(FILE *f, const bits_t *bits)
bits_t *bits_new(const void *, size_t);
bits_t *bits_dup(const bits_t *);
void bits_assign(bits_t **, bits_t *);
void bits_free(bits_t *);
const void *bits_getbuf(bits_t *);
size_t bits_len(bits_t *);
int bits_match(const bits_t *, const bits_t *);
bits_t *bits_xor(const bits_t *, const bits_t *);
bits_t *bits_xor_d(bits_t *, bits_t *);
bits_t *bits_decode(const string_t *);
bits_t *bits_decode_d(string_t *);
string_t *bits_encode(const bits_t *);
string_t *bits_encode_d(bits_t *);
bits_t *bits_cget(const char *, size_t);
bits_t *bits_fget(FILE *, size_t);
bits_t *bits_getrandombits(size_t, int);
void bits_fprint(FILE *, const bits_t *);