Searched defs:algo (Results 1 - 10 of 10) sorted by relevance
/dovecot/src/lib-otp/ |
H A D | otp.h | 11 unsigned int algo; member in struct:otp_state
|
H A D | otp-parse.c | 151 int algo; local 159 algo = digest_find(t_strdup_until(s, p++)); 160 if (algo < 0) 162 state->algo = algo; 249 return t_strdup_printf("%s %d %s %s", digest_name(state->algo),
|
H A D | otp-hash.c | 98 const char *digest_name(unsigned int algo) argument 100 i_assert(algo < N_ELEMENTS(digests)); 102 return digests[algo].name; 116 void digest_init(struct digest_context *ctx, const unsigned int algo) argument 118 i_assert(algo < N_ELEMENTS(digests)); 120 ctx->digest = digests + algo; 140 void otp_hash(unsigned int algo, const char *seed, const char *passphrase, argument 145 digest_init(&ctx, algo); 151 digest_init(&ctx, algo); 157 void otp_next_hash(unsigned int algo, cons argument [all...] |
/dovecot/src/auth/ |
H A D | password-scheme-otp.c | 16 unsigned int algo, const char **result_r) 34 state.algo = algo; 37 otp_hash(state.algo, state.seed, pw, state.seq, state.hash); 15 password_generate_otp(const char *pw, const char *state_data, unsigned int algo, const char **result_r) argument
|
/dovecot/src/plugins/var-expand-crypt/ |
H A D | var-expand-crypt-plugin.c | 24 const char *algo; member in struct:var_expand_crypt_context 67 } if (strcmp(k, "algo") == 0) { 68 ctx->algo = value; 97 if (ctx->algo == NULL) { 98 ctx->algo = "AES-256-CBC"; 183 if (!dcrypt_ctx_sym_create(ctx.algo, DCRYPT_MODE_ENCRYPT, &dctx, error_r)) 292 if (!dcrypt_ctx_sym_create(ctx.algo, DCRYPT_MODE_DECRYPT, &dctx, error_r))
|
/dovecot/src/lib-fts/ |
H A D | fts-tokenizer-generic.c | 37 enum boundary_algorithm algo = BOUNDARY_ALGORITHM_SIMPLE; local 53 algo = BOUNDARY_ALGORITHM_TR29; 75 if (wb5a && algo != BOUNDARY_ALGORITHM_TR29) { 81 if (algo == BOUNDARY_ALGORITHM_TR29) 86 tok->algorithm = algo;
|
/dovecot/src/plugins/mail-crypt/ |
H A D | doveadm-mail-crypt.c | 796 const char *algo = ctx->new_password != NULL ? local 819 algo, newkey,
|
H A D | mail-crypt-key.c | 420 const char *algo = NULL; local 429 algo = MAIL_CRYPT_KEY_CIPHER; 433 algo = MAIL_CRYPT_PW_CIPHER; 437 if (!dcrypt_key_store_private(key, DCRYPT_FORMAT_DOVECOT, algo, data, 881 const char *algo = NULL; local 887 algo = MAIL_CRYPT_KEY_CIPHER; 902 algo, data,
|
/dovecot/src/lib/ |
H A D | var-expand.c | 208 const char *algo = key; local 213 algo = t_strcut(key, ';'); 218 if (strcmp(algo, "pkcs5") == 0) { 220 } else if ((method = hash_method_lookup(algo)) == NULL) { 239 if (strcmp(algo, "pkcs5") == 0) { 304 if (strcmp(algo, "pkcs5") == 0) {
|
/dovecot/src/lib-dcrypt/ |
H A D | dcrypt-openssl.c | 33 algo id = openssl NID 39 1<tab>algo id<tab>public point 44 1<tab>algo id<tab>0<tab>private point<tab>key id 47 1<tab>algo id<tab>1<tab>private point<tab>ephemeral public key<tab>encryption key id<tab>key id 50 1<tab>algo id<tab>2<tab>private point<tab>salt<tab>key id 54 algo oid = ASN1 OID of key algorithm (RSA or EC curve) 63 2<tab>key algo oid<tab>0<tab>(RSA = i2d_PrivateKey, EC=Private Point)<tab>key id 65 - enctype ecdh, key,iv = PBKDF2(hash algo, rounds, shared secret, salt) 66 2<tab>key algo oid<tab>1<tab>symmetric algo nam 1713 const EVP_CIPHER *algo = NULL; local [all...] |
Completed in 37 milliseconds