Home
last modified time | relevance | path

Searched refs:CLIENT_ERR (Results 1 – 25 of 37) sorted by relevance

12

/dports/databases/pecl-mongodb/mongodb-1.9.1/src/libmongocrypt/src/
H A Dmongocrypt-kms-ctx.c125 CLIENT_ERR ("expected aws kms provider"); in _mongocrypt_kms_ctx_init_aws_decrypt()
130 CLIENT_ERR ("no key region provided"); in _mongocrypt_kms_ctx_init_aws_decrypt()
135 CLIENT_ERR ("aws kms not configured"); in _mongocrypt_kms_ctx_init_aws_decrypt()
180 CLIENT_ERR ("failed to set region"); in _mongocrypt_kms_ctx_init_aws_decrypt()
234 CLIENT_ERR ("expected aws kms provider"); in _mongocrypt_kms_ctx_init_aws_encrypt()
239 CLIENT_ERR ("no key region provided"); in _mongocrypt_kms_ctx_init_aws_encrypt()
244 CLIENT_ERR ("no aws cmk provided"); in _mongocrypt_kms_ctx_init_aws_encrypt()
249 CLIENT_ERR ("aws kms not configured"); in _mongocrypt_kms_ctx_init_aws_encrypt()
296 CLIENT_ERR ("failed to set region"); in _mongocrypt_kms_ctx_init_aws_encrypt()
459 CLIENT_ERR ( in mongocrypt_kms_ctx_feed()
[all …]
H A Dmongocrypt-key.c105 CLIENT_ERR ( in _parse_masterkey()
154 CLIENT_ERR ("invalid 'masterKey', no 'key'"); in _parse_masterkey()
221 CLIENT_ERR ("invalid BSON"); in _mongocrypt_key_parse_owned()
282 CLIENT_ERR ( in _mongocrypt_key_parse_owned()
319 CLIENT_ERR ("unrecognized field '%s'", field); in _mongocrypt_key_parse_owned()
325 CLIENT_ERR ("invalid key, no '_id'"); in _mongocrypt_key_parse_owned()
330 CLIENT_ERR ("invalid key, no 'masterKey'"); in _mongocrypt_key_parse_owned()
335 CLIENT_ERR ("invalid key, no 'keyMaterial'"); in _mongocrypt_key_parse_owned()
340 CLIENT_ERR ("invalid key, no 'status'"); in _mongocrypt_key_parse_owned()
345 CLIENT_ERR ("invalid key, no 'creationDate'"); in _mongocrypt_key_parse_owned()
[all …]
H A Dmongocrypt.c269 CLIENT_ERR ("passed null schema map"); in mongocrypt_setopt_schema_map()
274 CLIENT_ERR ("already set schema map"); in mongocrypt_setopt_schema_map()
282 CLIENT_ERR ("invalid bson"); in mongocrypt_setopt_schema_map()
287 CLIENT_ERR (bson_err.message); in mongocrypt_setopt_schema_map()
317 CLIENT_ERR ("passed null key"); in mongocrypt_setopt_kms_provider_local()
355 CLIENT_ERR ("already initialized"); in mongocrypt_init()
363 CLIENT_ERR ("failed to initialize"); in mongocrypt_init()
503 CLIENT_ERR ("random not set"); in mongocrypt_setopt_crypto_hooks()
509 CLIENT_ERR ("hmac_sha_512 not set"); in mongocrypt_setopt_crypto_hooks()
515 CLIENT_ERR ("hmac_sha_256 not set"); in mongocrypt_setopt_crypto_hooks()
[all …]
H A Dmongocrypt-marking.c36 CLIENT_ERR ("invalid marking, length < 5"); in _mongocrypt_marking_parse_unowned()
41 CLIENT_ERR ("invalid marking, first byte must be 0"); in _mongocrypt_marking_parse_unowned()
46 CLIENT_ERR ("invalid BSON"); in _mongocrypt_marking_parse_unowned()
52 CLIENT_ERR ("invalid BSON"); in _mongocrypt_marking_parse_unowned()
64 CLIENT_ERR ("key id must be a UUID"); in _mongocrypt_marking_parse_unowned()
78 CLIENT_ERR ("key alt name must be a UTF8"); in _mongocrypt_marking_parse_unowned()
113 CLIENT_ERR ("unrecognized field '%s'", field); in _mongocrypt_marking_parse_unowned()
118 CLIENT_ERR ("no 'v' specified"); in _mongocrypt_marking_parse_unowned()
123 CLIENT_ERR ("neither 'ki' nor 'ka' specified"); in _mongocrypt_marking_parse_unowned()
128 CLIENT_ERR ("both 'ki' and 'ka' specified"); in _mongocrypt_marking_parse_unowned()
[all …]
H A Dmongocrypt-crypto.c43 CLIENT_ERR ("invalid encryption key length"); in _crypto_aes_256_cbc_encrypt()
48 CLIENT_ERR ("invalid iv length"); in _crypto_aes_256_cbc_encrypt()
85 CLIENT_ERR ("invalid encryption key length"); in _crypto_aes_256_cbc_decrypt()
120 CLIENT_ERR ("invalid hmac key length"); in _crypto_hmac_sha_512()
152 CLIENT_ERR ("out does not contain %u bytes", count); in _crypto_random()
328 CLIENT_ERR ("failed to allocate buffer"); in _encrypt_step()
405 CLIENT_ERR ("out wrong length: %d", out->len); in _hmac_step()
440 CLIENT_ERR ("failed to allocate buffer"); in _hmac_step()
754 CLIENT_ERR ("HMAC validation failure"); in _mongocrypt_do_decryption()
807 CLIENT_ERR ( in _mongocrypt_random()
[all …]
H A Dmongocrypt-ciphertext.c53 CLIENT_ERR ("ciphertext cannot be null"); in _mongocrypt_ciphertext_parse_unowned()
58 CLIENT_ERR ("in parameter cannot be null"); in _mongocrypt_ciphertext_parse_unowned()
63 CLIENT_ERR ("status cannot be null"); in _mongocrypt_ciphertext_parse_unowned()
76 CLIENT_ERR ("malformed ciphertext, too small"); in _mongocrypt_ciphertext_parse_unowned()
85 CLIENT_ERR ("malformed ciphertext, expected blob subtype of 1 or 2"); in _mongocrypt_ciphertext_parse_unowned()
H A Dmongocrypt-opts.c45 CLIENT_ERR ("no kms provider set"); in _mongocrypt_opts_validate()
51 CLIENT_ERR ("aws credentials unset"); in _mongocrypt_opts_validate()
58 CLIENT_ERR ("local data key unset"); in _mongocrypt_opts_validate()
H A Dmongocrypt-ctx-encrypt.c293 CLIENT_ERR ("malformed ciphertext"); in _marking_to_bson_value()
507 CLIENT_ERR ("Unknown BSON type"); in _permitted_for_encryption()
516 CLIENT_ERR ("BSON type invalid for encryption"); in _permitted_for_encryption()
532 CLIENT_ERR ("BSON type invalid for deterministic encryption"); in _permitted_for_encryption()
550 CLIENT_ERR ("invalid BSON value type 00"); in _permitted_for_encryption()
647 CLIENT_ERR ("invalid BSON"); in _check_cmd_for_auto_encrypt()
653 CLIENT_ERR ("invalid empty BSON"); in _check_cmd_for_auto_encrypt()
663 CLIENT_ERR ("explain value is not a document"); in _check_cmd_for_auto_encrypt()
667 CLIENT_ERR ("malformed BSON for encrypt command"); in _check_cmd_for_auto_encrypt()
671 CLIENT_ERR ("invalid empty BSON"); in _check_cmd_for_auto_encrypt()
[all …]
H A Dmongocrypt-traverse-util.c99 CLIENT_ERR ("error recursing into array"); in _recurse()
127 CLIENT_ERR ("error recursing into document"); in _recurse()
143 CLIENT_ERR ("error appending document"); in _recurse()
H A Dmongocrypt-ctx-decrypt.c52 CLIENT_ERR ("key not found"); in _replace_ciphertext_with_plaintext()
64 CLIENT_ERR ("could not serialize associated data"); in _replace_ciphertext_with_plaintext()
82 CLIENT_ERR ("malformed encrypted bson"); in _replace_ciphertext_with_plaintext()
H A Dmongocrypt-private.h39 #define CLIENT_ERR(...) \ macro
/dports/databases/pecl-mongodb/mongodb-1.9.1/src/libmongocrypt/src/crypto/
H A Dlibcrypto.c97 CLIENT_ERR ("error initializing cipher: %s", in _native_crypto_aes_256_cbc_encrypt()
108 CLIENT_ERR ("error encrypting: %s", in _native_crypto_aes_256_cbc_encrypt()
116 CLIENT_ERR ("error finalizing: %s", in _native_crypto_aes_256_cbc_encrypt()
152 CLIENT_ERR ("error initializing cipher: %s", in _native_crypto_aes_256_cbc_decrypt()
164 CLIENT_ERR ("error decrypting: %s", in _native_crypto_aes_256_cbc_decrypt()
172 CLIENT_ERR ("error decrypting: %s", in _native_crypto_aes_256_cbc_decrypt()
207 CLIENT_ERR ("error initializing HMAC: %s", in _native_crypto_hmac_sha_512()
213 CLIENT_ERR ("error updating HMAC: %s", in _native_crypto_hmac_sha_512()
219 CLIENT_ERR ("error finalizing: %s", in _native_crypto_hmac_sha_512()
241 CLIENT_ERR ("secure random IV not supported: %s", in _native_crypto_random()
[all …]
H A Dcommoncrypto.c57 CLIENT_ERR ("error initializing cipher: %d", (int) cc_status); in _native_crypto_aes_256_cbc_encrypt()
66 CLIENT_ERR ("error encrypting: %d", (int) cc_status); in _native_crypto_aes_256_cbc_encrypt()
79 CLIENT_ERR ("error finalizing: %d", (int) cc_status); in _native_crypto_aes_256_cbc_encrypt()
114 CLIENT_ERR ("error initializing cipher: %d", (int) cc_status); in _native_crypto_aes_256_cbc_decrypt()
122 CLIENT_ERR ("error decrypting: %d", (int) cc_status); in _native_crypto_aes_256_cbc_decrypt()
134 CLIENT_ERR ("error finalizing: %d", (int) cc_status); in _native_crypto_aes_256_cbc_decrypt()
155 CLIENT_ERR ("out does not contain %d bytes", MONGOCRYPT_HMAC_SHA512_LEN); in _native_crypto_hmac_sha_512()
178 CLIENT_ERR ("failed to generate random iv: %d", (int) ret); in _native_crypto_random()
H A Dnone.c41 CLIENT_ERR ("hook not set for aes_256_cbc_encrypt"); in _native_crypto_aes_256_cbc_encrypt()
54 CLIENT_ERR ("hook not set for aes_256_cbc_decrypt"); in _native_crypto_aes_256_cbc_decrypt()
65 CLIENT_ERR ("hook not set for hmac_sha_512"); in _native_crypto_hmac_sha_512()
75 CLIENT_ERR ("hook not set for random"); in _native_crypto_random()
H A Dcng.c148 CLIENT_ERR ("Import Key Failed: 0x%x", (int) nt_status); in _crypto_state_init()
210 CLIENT_ERR ("error initializing cipher: 0x%x", (int) nt_status); in _native_crypto_aes_256_cbc_encrypt()
247 CLIENT_ERR ("error initializing cipher: 0x%x", (int) nt_status); in _native_crypto_aes_256_cbc_decrypt()
269 CLIENT_ERR ("out does not contain 64 bytes"); in _native_crypto_hmac_sha_512()
281 CLIENT_ERR ("error initializing hmac: 0x%x", (int) nt_status); in _native_crypto_hmac_sha_512()
287 CLIENT_ERR ("error hashing data: 0x%x", (int) nt_status); in _native_crypto_hmac_sha_512()
293 CLIENT_ERR ("error finishing hmac: 0x%x", (int) nt_status); in _native_crypto_hmac_sha_512()
311 CLIENT_ERR ("BCryptGenRandom Failed: 0x%x", (int) nt_status); in _native_crypto_random()
/dports/mail/dbmail/dbmail-3.2.5/src/
H A Dclientbase.c216 if (state & CLIENT_ERR) in ci_uncork()
296 if (state & CLIENT_ERR) in ci_write()
332 client->client_state |= CLIENT_ERR; in ci_write()
341 client->client_state |= CLIENT_ERR; in ci_write()
372 if (state & CLIENT_ERR) { in ci_wbuf_len()
406 state = CLIENT_ERR; in ci_read_cb()
419 client->client_state |= CLIENT_ERR; in ci_read_cb()
424 client->client_state |= CLIENT_ERR; in ci_read_cb()
484 client->client_state |= CLIENT_ERR; in ci_readln()
H A Dimap4.c150 if (ci_wbuf_len(ci) && (! (ci->client_state & CLIENT_ERR)) && (ci->deferred < DEFERRED_MAX_LOOP)) { in imap_cleanup_deferred()
233 if (state & CLIENT_ERR) { in imap_cb_read()
722 (state&CLIENT_ERR)?" error":"", in _ic_cb_leave()
726 if (state & CLIENT_ERR) { in _ic_cb_leave()
H A Dclientsession.c145 while (after && (! (c->ci->client_state & CLIENT_ERR)) && (failcount < 100)) { in client_session_bailout()
242 if (state & CLIENT_ERR) { in client_session_read()
/dports/databases/postgis31/postgis-3.1.4/extensions/address_standardizer/
H A Dgamma.c455 CLIENT_ERR( err_p ) ; in create_rules()
490 CLIENT_ERR( err_p ) ; in create_rules()
524 CLIENT_ERR( err_p ) ; in create_rules()
605 CLIENT_ERR( err_p ) ; in create_rules()
H A Dtokenize.c177 CLIENT_ERR( s_p -> errors ) ; in new_morph()
214 CLIENT_ERR( s_p -> errors ) ; in next_morph()
908 CLIENT_ERR( s_p -> errors ) ; in set_lexeme()
/dports/databases/postgis32/postgis-3.2.0/extensions/address_standardizer/
H A Dgamma.c455 CLIENT_ERR( err_p ) ; in create_rules()
490 CLIENT_ERR( err_p ) ; in create_rules()
524 CLIENT_ERR( err_p ) ; in create_rules()
605 CLIENT_ERR( err_p ) ; in create_rules()
H A Dtokenize.c177 CLIENT_ERR( s_p -> errors ) ; in new_morph()
214 CLIENT_ERR( s_p -> errors ) ; in next_morph()
908 CLIENT_ERR( s_p -> errors ) ; in set_lexeme()
/dports/databases/postgis30/postgis-3.0.4/extensions/address_standardizer/
H A Dgamma.c455 CLIENT_ERR( err_p ) ; in create_rules()
490 CLIENT_ERR( err_p ) ; in create_rules()
524 CLIENT_ERR( err_p ) ; in create_rules()
605 CLIENT_ERR( err_p ) ; in create_rules()
/dports/databases/postgis25/postgis-2.5.5/extensions/address_standardizer/
H A Dgamma.c455 CLIENT_ERR( err_p ) ; in create_rules()
490 CLIENT_ERR( err_p ) ; in create_rules()
524 CLIENT_ERR( err_p ) ; in create_rules()
605 CLIENT_ERR( err_p ) ; in create_rules()
H A Dtokenize.c177 CLIENT_ERR( s_p -> errors ) ; in new_morph()
214 CLIENT_ERR( s_p -> errors ) ; in next_morph()
908 CLIENT_ERR( s_p -> errors ) ; in set_lexeme()

12