Searched refs:malg (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/lib-dcrypt/
H A Dostream-encrypt.c243 int o_stream_encrypt_key_for_pubkey_v2(struct encrypt_ostream *stream, const char *malg, argument
274 malg, IO_STREAM_ENCRYPT_ROUNDS, temp_key, 48, &error)) {
328 int o_stream_encrypt_keydata_create_v2(struct encrypt_ostream *stream, const char *malg) argument
330 const struct hash_method *hash = hash_method_lookup(malg);
341 "Encryption init error: Hash algorithm '%s' not supported", malg);
368 if (o_stream_encrypt_key_for_pubkey_v2(stream, malg, ptr, kl, stream->pub, res) != 0) {
584 char *calg, *malg; local
596 malg = strrchr(calg, '-');
598 if (malg == NULL) {
602 (*malg
[all...]
H A Distream-decrypt.c275 ssize_t i_stream_decrypt_key(struct decrypt_istream *stream, const char *malg, unsigned int rounds, argument
393 malg, rounds, temp_key, 32+16, &error)) {
439 const struct hash_method *hash = hash_method_lookup(t_str_lcase(malg));
442 io_stream_set_error(&stream->istream.iostream, "Decryption error: unsupported hash algorithm: %s", malg);
486 const char *malg; local
487 if (!i_stream_decrypt_der(&data, end, &malg))
489 if (malg == NULL || !dcrypt_ctx_hmac_create(malg, &stream->ctx_mac, NULL)) {
490 io_stream_set_error(&stream->istream.iostream, "Decryption error: unsupported/invalid MAC algorithm: %s", malg);
519 if ((ret = i_stream_decrypt_key(stream, malg, round
[all...]

Completed in 15 milliseconds