Searched defs:ekhash (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/lib-dcrypt/
H A Dostream-encrypt.c142 unsigned char ekhash[hash->digest_size]; local
157 hash->result(hctx, ekhash);
184 hash->result(hctx, ekhash);
228 s = htons(sizeof(ekhash));
230 buffer_append(res, ekhash, sizeof(ekhash));
H A Distream-decrypt.c353 const unsigned char *ekhash; local
371 ekhash = data;
461 if (memcmp(ekhash, hres, I_MIN(ekhash_len, sizeof(hres))) != 0) {
463 io_stream_set_error(&stream->istream.iostream, "Decryption error: corrupted header ekhash");

Completed in 14 milliseconds