Home
last modified time | relevance | path

Searched refs:bits_t (Results 1 – 6 of 6) sorted by relevance

/netbsd/src/sbin/cgdconfig/
Dutils.h43 typedef struct bits bits_t; typedef
66 bits_t *bits_new(const void *, size_t);
67 bits_t *bits_dup(const bits_t *);
68 void bits_assign(bits_t **, bits_t *);
69 void bits_free(bits_t *);
70 const void *bits_getbuf(bits_t *);
71 size_t bits_len(bits_t *);
72 int bits_match(const bits_t *, const bits_t *);
74 bits_t *bits_xor(const bits_t *, const bits_t *);
75 bits_t *bits_xor_d(bits_t *, bits_t *);
[all …]
Dutils.c252 bits_t *
255 bits_t *b; in bits_new()
264 bits_t *
265 bits_dup(const bits_t *in) in bits_dup()
272 bits_free(bits_t *b) in bits_free()
282 bits_assign(bits_t **lhs, bits_t *rhs) in bits_assign()
290 bits_getbuf(bits_t *in) in bits_getbuf()
297 bits_len(bits_t *in) in bits_len()
304 bits_match(const bits_t *b1, const bits_t *b2) in bits_match()
318 bits_t *
[all …]
Dparams.h43 bits_t *kg_salt;
44 bits_t *kg_key;
49 bits_t *kg_sharedinfo;
56 bits_t *key;
126 struct keygen *keygen_salt(bits_t *);
131 struct keygen *keygen_key(bits_t *);
133 struct keygen *keygen_shared(string_t *, string_t *, bits_t *);
Dcgdconfig.c130 bits_t *key;
159 static bits_t *getkey(const char *, struct keygen *, size_t,
161 static bits_t *getkey_storedkey(const char *, struct keygen *, size_t);
162 static bits_t *getkey_randomkey(const char *, struct keygen *, size_t, int);
164 static bits_t *getkey_argon2id(const char *, struct keygen *, size_t);
166 static bits_t *getkey_pkcs5_pbkdf2(const char *, struct keygen *, size_t,
168 static bits_t *getkey_shell_cmd(const char *, struct keygen *, size_t);
412 static bits_t *
413 getsubkey_hkdf_hmac_sha256(bits_t *key, bits_t *info, size_t subkeylen) in getsubkey_hkdf_hmac_sha256()
415 bits_t *ret = NULL; in getsubkey_hkdf_hmac_sha256()
[all …]
Dparams.c67 static void print_kvpair_b64(FILE *, int, int, const char *, bits_t *);
734 keygen_salt(bits_t *in) in keygen_salt()
794 keygen_key(bits_t *in) in keygen_key()
812 keygen_shared(string_t *id, string_t *alg, bits_t *info) in keygen_shared()
938 print_kvpair_b64(FILE *f, int curpos, int ts, const char *key, bits_t *val) in print_kvpair_b64()
Dcgdparse.y55 bits_t *bits;