Lines Matching refs:malg
243 int o_stream_encrypt_key_for_pubkey_v2(struct encrypt_ostream *stream, const char *malg,
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)
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;
596 malg = strrchr(calg, '-');
598 if (malg == NULL) {
602 (*malg++) = '\0';
619 if (!dcrypt_ctx_hmac_create(malg, &estream->ctx_mac, &error)) {
626 if (!dcrypt_name2oid(malg, estream->mac_oid, &error)) {
632 return o_stream_encrypt_keydata_create_v2(estream, malg);