Searched defs:calg (Results 1 - 2 of 2) sorted by relevance
/dovecot/src/lib-dcrypt/ |
H A D | ostream-encrypt.c | 584 char *calg, *malg; local 595 calg = t_strdup_noconst(algorithm); 596 malg = strrchr(calg, '-'); 604 if (!dcrypt_ctx_sym_create(calg, DCRYPT_MODE_ENCRYPT, &estream->ctx_sym, &error)) { 612 if (!dcrypt_name2oid(calg, estream->cipher_oid, &error)) {
|
H A D | istream-decrypt.c | 477 const char *calg; local 478 if (!i_stream_decrypt_der(&data, end, &calg)) 480 if (calg == NULL || !dcrypt_ctx_sym_create(calg, DCRYPT_MODE_DECRYPT, &stream->ctx_sym, NULL)) { 481 io_stream_set_error(&stream->istream.iostream, "Decryption error: unsupported/invalid cipher: %s", calg);
|
Completed in 9 milliseconds