/dovecot/src/lib/ |
H A D | hash-method.c | 52 const void *data, size_t data_len) 55 i_assert(data_len == 0 || data != NULL); 61 meth->loop(ctx, data == NULL ? "" : data, data_len); 51 t_hash_data(const struct hash_method *meth, const void *data, size_t data_len) argument
|
H A D | test-hmac.c | 14 size_t data_len; member in struct:test_vector 75 hmac_update(&ctx, vec->data, vec->data_len); 91 vec->data, vec->data_len);
|
H A D | hash-method.h | 33 const void *data, size_t data_len);
|
H A D | hmac.c | 66 const void *data, size_t data_len) 71 i_assert(data != NULL || data_len == 0); 75 if (data_len > 0) 76 hmac_update(&ctx, data, data_len); 64 t_hmac_data(const struct hash_method *meth, const unsigned char *key, size_t key_len, const void *data, size_t data_len) argument
|
H A D | hmac.h | 37 const void *data, size_t data_len);
|
H A D | test-istream-multiplex.c | 21 static const size_t data_len = sizeof(data)-1; local 22 struct istream *input = test_istream_create_data(data, data_len); 62 i_assert(input_max == data_len); 91 static const size_t data_len = sizeof(data)-1; local 92 struct istream *input = test_istream_create_data(data, data_len); 328 static const size_t data_len = 22; local 329 struct istream *input = test_istream_create_data(data, data_len); 345 input = test_istream_create_data(data, data_len);
|
H A D | test-istream-concat.c | 64 unsigned int i, j, offset, stream_count, data_len, simult; local 69 data_len = i_rand_minmax(1, TEST_MAX_ISTREAM_SIZE); 70 w_data = t_malloc_no0(data_len); 71 for (j = 0; j < data_len; j++) 73 streams[i] = test_istream_create_data(w_data, data_len);
|
H A D | test-istream-seekable.c | 74 unsigned int i, j, offset, stream_count, data_len, buffer_size; local 79 data_len = i_rand_minmax(1, 100); 80 w_data = t_malloc_no0(data_len); 81 for (j = 0; j < data_len; j++) 83 streams[i] = test_istream_create_data(w_data, data_len);
|
/dovecot/src/lib-dcrypt/ |
H A D | dcrypt-private.h | 38 bool (*ctx_sym_update)(struct dcrypt_context_symmetric *ctx, const unsigned char *data, size_t data_len, 51 bool (*ctx_hmac_update)(struct dcrypt_context_hmac *ctx, const unsigned char *data, size_t data_len, const char **error_r); 87 bool (*rsa_encrypt)(struct dcrypt_public_key *key, const unsigned char *data, size_t data_len, 89 bool (*rsa_decrypt)(struct dcrypt_private_key *key, const unsigned char *data, size_t data_len,
|
H A D | dcrypt.c | 147 bool dcrypt_ctx_sym_update(struct dcrypt_context_symmetric *ctx, const unsigned char *data, size_t data_len, buffer_t *result, const char **error_r) argument 150 return dcrypt_vfs->ctx_sym_update(ctx, data, data_len, result, error_r); 202 bool dcrypt_ctx_hmac_update(struct dcrypt_context_hmac *ctx, const unsigned char *data, size_t data_len, const char **error_r) argument 205 return dcrypt_vfs->ctx_hmac_update(ctx, data, data_len, error_r); 331 bool dcrypt_rsa_encrypt(struct dcrypt_public_key *key, const unsigned char *data, size_t data_len, buffer_t *result, const char **error_r) argument 334 return dcrypt_vfs->rsa_encrypt(key, data, data_len, result, error_r); 336 bool dcrypt_rsa_decrypt(struct dcrypt_private_key *key, const unsigned char *data, size_t data_len, buffer_t *result, const char **error_r) argument 339 return dcrypt_vfs->rsa_decrypt(key, data, data_len, result, error_r);
|
H A D | dcrypt.h | 117 bool dcrypt_ctx_sym_update(struct dcrypt_context_symmetric *ctx, const unsigned char *data, size_t data_len, buffer_t *result, const char **error_r); 151 bool dcrypt_ctx_hmac_update(struct dcrypt_context_hmac *ctx, const unsigned char *data, size_t data_len, const char **error_r); 213 bool dcrypt_rsa_encrypt(struct dcrypt_public_key *key, const unsigned char *data, size_t data_len, buffer_t *result, const char **error_r); 214 bool dcrypt_rsa_decrypt(struct dcrypt_private_key *key, const unsigned char *data, size_t data_len, buffer_t *result, const char **error_r);
|
H A D | dcrypt-gnutls.c | 156 int dcrypt_gnutls_ctx_sym_update(struct dcrypt_context_symmetric *ctx, const unsigned char *data, size_t data_len, buffer_t *result, const char **error_r) argument 161 ec = gnutls_cipher_encrypt2(ctx->ctx, data, data_len, buf, outl); 224 int dcrypt_gnutls_ctx_hmac_update(struct dcrypt_context_hmac *ctx, const unsigned char *data, size_t data_len, const char **error_r) argument 227 if ((ec = gnutls_hmac(ctx->ctx, data, data_len)) != 0) 314 int dcrypt_gnutls_load_private_key(struct dcrypt_private_key **key_r, const unsigned char *data, size_t data_len, dcrypt_password_cb *cb, void *ctx, const char **error_r) argument 319 int dcrypt_gnutls_load_public_key(struct dcrypt_public_key **key_r, const unsigned char *data, size_t data_len, const char **error_r) argument 415 int dcrypt_gnutls_rsa_encrypt(struct dcrypt_public_key *key, const unsigned char *data, size_t data_len, buffer_t *result, const char **error_r) argument 420 int dcrypt_gnutls_rsa_decrypt(struct dcrypt_private_key *key, const unsigned char *data, size_t data_len, buffer_t *result, const char **error_r) argument
|
H A D | dcrypt-openssl.c | 148 bool dcrypt_openssl_rsa_decrypt(struct dcrypt_private_key *key, const unsigned char *data, size_t data_len, buffer_t *result, const char **error_r); 341 bool dcrypt_openssl_ctx_sym_update(struct dcrypt_context_symmetric *ctx, const unsigned char *data, size_t data_len, buffer_t *result, const char **error_r) argument 361 buf = buffer_append_space_unsafe(result, data_len + block_size); 364 (ctx->ctx, buf, &outl, data, data_len) != 1) 499 bool dcrypt_openssl_ctx_hmac_update(struct dcrypt_context_hmac *ctx, const unsigned char *data, size_t data_len, const char **error_r) argument 502 ec = HMAC_Update(ctx->ctx, data, data_len); 1991 bool dcrypt_openssl_rsa_encrypt(struct dcrypt_public_key *key, const unsigned char *data, size_t data_len, buffer_t *result, const char **error_r) argument 2002 EVP_PKEY_encrypt(ctx, buf, &outl, data, data_len) < 1) { 2015 bool dcrypt_openssl_rsa_decrypt(struct dcrypt_private_key *key, const unsigned char *data, size_t data_len, buffer_t *result, const char **error_r) argument 2026 EVP_PKEY_decrypt(ctx, buf, &outl, data, data_len) < [all...] |
/dovecot/src/replication/aggregator/ |
H A D | replicator-connection.c | 266 size_t data_len = strlen(data); local 271 o_stream_nsend(conn->output, data, data_len); 272 } else if (conn->queue[priority]->used + data_len >= 277 buffer_append(conn->queue[priority], data, data_len);
|
/dovecot/src/submission/ |
H A D | main.c | 118 size_t data_len; local 145 data_len = 0; 165 data_len = len - helo_len; 170 user, set, helo, data, data_len);
|
/dovecot/src/pop3-login/ |
H A D | pop3-proxy.c | 114 size_t data_len; local 127 &data, &data_len, &error); 138 base64_encode(data, data_len, str);
|
/dovecot/src/imap-login/ |
H A D | imap-proxy.c | 258 size_t data_len; local 295 &data, &data_len, &error); 307 base64_encode(data, data_len, str);
|
/dovecot/src/submission-login/ |
H A D | submission-proxy.c | 140 size_t data_len; local 154 &data, &data_len, &error); 165 base64_encode(data, data_len, str);
|
/dovecot/src/lib-smtp/ |
H A D | smtp-client-command.c | 162 size_t name_len, data_len; local 169 data_len = cmd->data->used; 173 i_assert(data_len >= 2); 174 data_len -= 2; 177 if (data_len < name_len || 180 return (data_len == name_len || data[name_len] == ' ');
|
/dovecot/src/auth/ |
H A D | auth-request-handler.c | 638 size_t data_len; local 665 data_len = strlen(data); 666 buf = t_buffer_create(MAX_BASE64_DECODED_SIZE(data_len)); 667 if (base64_decode(data, data_len, NULL, buf) < 0) {
|
/dovecot/src/plugins/fts-squat/ |
H A D | squat-trie.c | 700 const unsigned char *data, unsigned int data_len) 706 if (data_len != leafstr_len) { 714 for (i = 0; i < data_len; i++) { 698 node_leaf_string_add_or_split(struct squat_trie_build_context *ctx, struct squat_node *node, const unsigned char *data, unsigned int data_len) argument
|