Searched refs:priv (Results 1 - 18 of 18) sorted by relevance

/dovecot/src/lib-dict-backend/
H A Ddict.conf28 pattern = priv/quota/bytes
36 pattern = priv/quota/count
H A Ddict-ldap.c194 ARRAY_TYPE(const_string) *values, bool priv,
207 if (priv) {
193 ldap_dict_build_query(struct ldap_dict *dict, const struct dict_ldap_map *map, ARRAY_TYPE(const_string) *values, bool priv, string_t *query_r, const char **error_r) argument
H A Ddict-sql.c368 bool priv = key1 == DICT_PATH_PRIVATE[0]; local
375 if (count2 == 0 && !priv) {
427 if (priv) {
/dovecot/src/lib/
H A Dhmac.h17 struct hmac_context_priv priv; member in union:hmac_context::__anon33
30 struct hmac_context_priv *ctx = &_ctx->u.priv;
H A Dhmac-cram-md5.c15 struct hmac_context_priv *hmac_ctx = &_hmac_ctx->u.priv;
41 struct hmac_context_priv *hmac_ctx = &_hmac_ctx->u.priv;
H A Dhmac.c18 struct hmac_context_priv *ctx = &_ctx->u.priv;
56 struct hmac_context_priv *ctx = &_ctx->u.priv;
H A Dbuffer.h7 void *priv[5]; member in struct:buffer
/dovecot/src/lib-storage/
H A Dmail-storage-service.c103 const struct mail_storage_service_privileges *priv,
401 const struct mail_storage_service_privileges *priv)
405 const char *uid = priv == NULL ? NULL :
406 dec2str(priv->uid == (uid_t)-1 ? geteuid() : priv->uid);
407 const char *gid = priv == NULL ? NULL :
408 dec2str(priv->gid == (gid_t)-1 ? getegid() : priv->gid);
448 struct mail_storage_service_privileges priv; local
450 i_zero(&priv);
398 get_var_expand_table(struct master_service *service, struct mail_storage_service_user *user, const struct mail_storage_service_input *input, const struct mail_storage_service_privileges *priv) argument
457 user_expand_varstr(struct mail_storage_service_ctx *ctx, struct mail_storage_service_user *user, struct mail_storage_service_privileges *priv, const char *str, const char **value_r, const char **error_r) argument
558 service_drop_privileges(struct mail_storage_service_user *user, struct mail_storage_service_privileges *priv, bool allow_root, bool keep_setuid_root, bool setenv_only, const char **error_r) argument
657 mail_storage_service_init_post(struct mail_storage_service_ctx *ctx, struct mail_storage_service_user *user, struct mail_storage_service_privileges *priv, const char *session_id_suffix, struct mail_user **mail_user_r, const char **error_r) argument
873 mail_storage_service_var_expand(struct mail_storage_service_ctx *ctx, string_t *str, const char *format, struct mail_storage_service_user *user, const struct mail_storage_service_input *input, const struct mail_storage_service_privileges *priv, const char **error_r) argument
890 mail_storage_service_init_log(struct mail_storage_service_ctx *ctx, struct mail_storage_service_user *user, struct mail_storage_service_privileges *priv) argument
1185 mail_storage_service_set_log_prefix(struct mail_storage_service_ctx *ctx, const struct mail_user_settings *user_set, struct mail_storage_service_user *user, const struct mail_storage_service_input *input, const struct mail_storage_service_privileges *priv) argument
1466 struct mail_storage_service_privileges priv; local
1588 struct mail_storage_service_privileges priv; local
[all...]
/dovecot/src/lib-dcrypt/
H A Ddcrypt-gnutls.c297 gnutls_privkey_t priv; local
298 if ((ec = gnutls_privkey_init(&priv)) != GNUTLS_E_SUCCESS) return dcrypt_gnutls_error(ec, error_r);
300 gnutls_privkey_set_flags(priv, GNUTLS_PRIVKEY_FLAG_EXPORT_COMPAT);
302 ec = gnutls_privkey_generate(priv, pk_algo, bits, 0);
304 gnutls_privkey_deinit(priv);
308 pair_r->priv = (struct dcrypt_private_key*)priv;
310 return dcrypt_gnutls_private_to_public_key(pair_r->priv, &pair_r->pub, error_r);
327 gnutls_privkey_t priv = (gnutls_privkey_t)key; local
329 gnutls_privkey_export_x509(priv,
357 gnutls_privkey_t priv = (gnutls_privkey_t)priv_key; local
[all...]
H A Dtest-stream.c66 struct istream *is_3 = i_stream_create_decrypt(is_2, test_v1_kp.priv);
101 struct istream *is_3 = i_stream_create_decrypt(is_2, test_v1_kp.priv);
136 struct istream *is_3 = i_stream_create_decrypt(is_2, test_v2_kp.priv);
205 struct istream *is_2 = i_stream_create_decrypt(is, test_v2_kp.priv);
256 struct istream *is_2 = i_stream_create_decrypt(is, test_v2_kp.priv);
300 struct istream *is_2 = i_stream_create_decrypt(is, test_v1_kp.priv);
349 struct istream *is_2 = i_stream_create_decrypt(is, test_v1_kp.priv);
398 struct istream *is_2 = i_stream_create_decrypt(is, test_v1_kp.priv);
443 struct istream *is_2 = i_stream_create_decrypt(is, test_v1_kp.priv);
520 dcrypt_key_unref_private(&test_v1_kp.priv);
[all...]
H A Dtest-crypto.c388 struct dcrypt_private_key *priv,*priv2; local
395 test_assert_idx(dcrypt_key_load_private(&priv, keys[1], NULL, NULL, &error), 1);
396 test_assert_idx(dcrypt_key_store_private(priv, DCRYPT_FORMAT_DOVECOT, NULL, tmp, NULL, NULL, &error), 1);
399 dcrypt_key_unref_private(&priv);
401 test_assert_idx(dcrypt_key_load_private(&priv, keys[2], "This Is Sparta", NULL, &error), 2);
402 test_assert_idx(dcrypt_key_store_private(priv, DCRYPT_FORMAT_DOVECOT, "aes-256-ctr", tmp, "This Is Sparta", NULL, &error), 2);
404 dcrypt_key_unref_private(&priv);
408 test_assert_idx(dcrypt_key_load_private(&priv, keys[3], NULL, priv2, &error), 3);
409 test_assert_idx(dcrypt_key_store_private(priv, DCRYPT_FORMAT_DOVECOT, "ecdh-aes-256-ctr", tmp, NULL, pub, &error), 3);
412 dcrypt_key_unref_private(&priv);
[all...]
H A Ddcrypt-openssl.c742 pair_r->priv = i_new(struct dcrypt_private_key, 1);
743 pair_r->priv->key = pkey;
744 pair_r->priv->ref++;
746 dcrypt_openssl_private_to_public_key(pair_r->priv, &pair_r->pub);
757 pair_r->priv = i_new(struct dcrypt_private_key, 1);
758 pair_r->priv->key = pkey;
759 pair_r->priv->ref++;
761 dcrypt_openssl_private_to_public_key(pair_r->priv, &pair_r->pub);
1987 dcrypt_openssl_unref_private_key(&keypair->priv);
2082 EVP_PKEY *priv local
2127 EVP_PKEY *priv = key->key; local
2200 EVP_PKEY *priv = key->key; local
[all...]
H A Ddcrypt.h11 struct dcrypt_private_key *priv; member in struct:dcrypt_keypair
/dovecot/src/plugins/mail-crypt/
H A Dmail-crypt-key.c37 if (privkey_r != NULL && ent->pair.priv != NULL) {
38 dcrypt_key_ref_private(ent->pair.priv);
39 *privkey_r = ent->pair.priv;
46 (ent->pair.priv == NULL &&
66 if (ent->pair.priv == NULL) {
67 ent->pair.priv = privkey;
68 dcrypt_key_ref_private(ent->pair.priv);
85 ent->pair.priv = privkey;
87 if (ent->pair.priv != NULL)
88 dcrypt_key_ref_private(ent->pair.priv);
[all...]
H A Dtest-mail-key.c221 if (mail_crypt_user_get_private_key(test_mail_user, NULL, &pair.priv, &error) <= 0)
226 test_assert(pair.priv != NULL);
228 if (pair.priv != NULL)
229 dcrypt_key_unref_private(&pair.priv);
281 &pair.priv, &error) > 0);
H A Ddoveadm-mail-crypt.c286 if (pair.priv != NULL)
287 dcrypt_key_unref_private(&pair.priv);
331 dcrypt_key_unref_private(&pair.priv);
370 dcrypt_key_unref_private(&pair.priv);
422 mcp_update_shared_keys(box, user, pubid, pair.priv);
426 if (pair.priv != NULL)
427 dcrypt_key_unref_private(&pair.priv);
H A Dmail-crypt-plugin.c313 dcrypt_key_unref_private(&pair.priv);
/dovecot/src/lib-index/
H A Dmail-cache-compress.c221 struct mail_cache_field_private *priv = local
224 priv->field.decision;
229 priv->field.last_used < max_drop_time &&
230 !priv->adding) {
232 priv->field.decision = dec;
237 MAIL_CACHE_DECISION_NO && !priv->adding) {
238 priv->used = FALSE;
239 priv->field.last_used = 0;
242 ctx.field_file_map[i] = !priv->used ?

Completed in 36 milliseconds