Lines Matching defs:hash
7 #include "hash-method.h"
110 buffer_t *hash = NULL;
116 hash = t_buffer_create(32);
117 if (hex_to_binary(optarg, hash) < 0)
132 if (hash == NULL)
134 else if (hash->used == hash_method_md5.digest_size) {
138 hash_method_lookup(hash_method_md5.name), hash->data);
139 } else if (hash->used == hash_method_sha256.digest_size) {
143 hash_method_lookup(hash_method_sha256.name), hash->data);
535 .usage = "[-h <hash>] <fs-driver> <fs-args> <input path> <path>",
537 DOVEADM_CMD_PARAM('h', "hash", CMD_PARAM_STR, 0)