Lines Matching +defs:data +defs:directory
66 const isc_region_t *data) { \
67 return (hmac_adddata(dctx, data)); \
92 isc_buffer_t *data) { \
93 return (hmac_todns(key, data)); \
96 isc_buffer_t *data) { \
97 return (hmac_fromdns(ISC_MD_##alg, key, data)); \
100 const char *directory) { \
101 return (hmac_tofile(ISC_MD_##alg, key, directory)); \
155 hmac_fromdns(const isc_md_type_t *type, dst_key_t *key, isc_buffer_t *data);
163 uint16_t *bits = (uint16_t *)element->data;
202 hmac_adddata(const dst_context_t *dctx, const isc_region_t *data) {
208 result = isc_hmac_update(ctx, data->base, data->length);
288 unsigned char data[ISC_MAX_MD_SIZE] = { 0 };
299 isc_nonce_buf(data, bytes);
301 isc_buffer_init(&b, data, bytes);
306 isc_safe_memwipe(data, sizeof(data));
326 hmac_todns(const dst_key_t *key, isc_buffer_t *data) {
332 if (isc_buffer_availablelength(data) < bytes) {
335 isc_buffer_putmem(data, hkey->key, bytes);
341 hmac_fromdns(const isc_md_type_t *type, dst_key_t *key, isc_buffer_t *data) {
346 isc_buffer_remainingregion(data, &r);
371 isc_buffer_forward(data, r.length);
416 const char *directory) {
434 priv.elements[0].data = hkey->key;
440 priv.elements[1].data = (uint8_t *)&bits;
444 return dst__privstruct_writefile(key, &priv, directory);
496 isc_buffer_init(&b, priv.elements[i].data,