Home
last modified time | relevance | path

Searched refs:EVP_CIPHER_CTX_ctrl (Results 1 – 25 of 32) sorted by relevance

12

/third_party/rust/crates/rust-openssl/openssl/src/
Dcipher_ctx.rs389 #[corresponds(EVP_CIPHER_CTX_ctrl)]
396 cvt(ffi::EVP_CIPHER_CTX_ctrl( in set_iv_length()
430 #[corresponds(EVP_CIPHER_CTX_ctrl)]
435 cvt(ffi::EVP_CIPHER_CTX_ctrl( in tag()
449 #[corresponds(EVP_CIPHER_CTX_ctrl)]
454 cvt(ffi::EVP_CIPHER_CTX_ctrl( in set_tag_length()
466 #[corresponds(EVP_CIPHER_CTX_ctrl)]
471 cvt(ffi::EVP_CIPHER_CTX_ctrl( in set_tag()
/third_party/openssl/doc/man3/
DEVP_rc5_32_12_16_cbc.pod41 L<EVP_CIPHER_CTX_ctrl(3)>).
45 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_SET_RC5_ROUNDS, rounds, NULL)
50 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GET_RC5_ROUNDS, 0, &rounds)
DEVP_EncryptInit.pod24 EVP_CIPHER_CTX_ctrl,
157 int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int cmd, int p1, void *p2);
283 =item EVP_CIPHER_CTX_ctrl()
291 EVP_CIPHER_CTX_ctrl() must be called after EVP_CipherInit_ex2(). Other restrictions
986 The Mappings from EVP_CIPHER_CTX_ctrl() identifiers to PARAMETERS are listed
989 EVP_CIPHER_CTX_ctrl() can be used to send the following standard controls:
1284 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, ivlen, NULL)
1292 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, tag)
1301 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, taglen, tag)
1337 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, taglen, tag)
[all …]
DEVP_rc2_cbc.pod49 EVP_rc2_cbc(), EVP_CIPHER_CTX_set_key_length() and EVP_CIPHER_CTX_ctrl()
/third_party/openssl/ssl/record/
Dssl3_record_tls13.c100 if (sending && EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, taglen, in tls13_enc()
147 || (!sending && EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in tls13_enc()
184 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, in tls13_enc()
Dssl3_record.c1085 pad = EVP_CIPHER_CTX_ctrl(ds, EVP_CTRL_AEAD_TLS1_AAD, in tls1_enc()
1132 if (EVP_CIPHER_CTX_ctrl(ds, EVP_CTRL_SET_PIPELINE_OUTPUT_BUFS, in tls1_enc()
1141 if (EVP_CIPHER_CTX_ctrl(ds, EVP_CTRL_SET_PIPELINE_INPUT_BUFS, in tls1_enc()
1143 || EVP_CIPHER_CTX_ctrl(ds, EVP_CTRL_SET_PIPELINE_INPUT_LENS, in tls1_enc()
1164 if (EVP_CIPHER_CTX_ctrl(ds, EVP_CTRL_TLSTREE, decrement_seq, seq) <= 0) { in tls1_enc()
Drec_layer_s3.c467 packlen = EVP_CIPHER_CTX_ctrl(s->enc_write_ctx, in ssl3_write_bytes()
519 packleni = EVP_CIPHER_CTX_ctrl(s->enc_write_ctx, in ssl3_write_bytes()
533 if (EVP_CIPHER_CTX_ctrl(s->enc_write_ctx, in ssl3_write_bytes()
/third_party/openssl/crypto/pkcs12/
Dp12_decr.c49 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_TLS1_AAD, 0, &mac_len) < 0) { in PKCS12_pbe_crypt_ex()
62 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in PKCS12_pbe_crypt_ex()
95 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, in PKCS12_pbe_crypt_ex()
/third_party/libwebsockets/lib/tls/openssl/
Dlws-genaes.c282 if (EVP_CIPHER_CTX_ctrl(ctx->ctx, in lws_genaes_destroy()
328 n = EVP_CIPHER_CTX_ctrl(ctx->ctx, EVP_CTRL_GCM_SET_IVLEN, in lws_genaes_crypt()
346 EVP_CIPHER_CTX_ctrl(ctx->ctx, in lws_genaes_crypt()
/third_party/openssl/test/
Daesgcmtest.c58 && TEST_true(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, 16, in do_encrypt()
84 && TEST_true(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in do_decrypt()
Dacvp_test.c737 || !TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, iv_len, in aes_ccm_enc_dec()
739 || !TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, tag_len, in aes_ccm_enc_dec()
756 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, in aes_ccm_enc_dec()
824 || !TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, iv_len, in aes_gcm_enc_dec()
829 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, tag_len, in aes_gcm_enc_dec()
853 || !TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, in aes_gcm_enc_dec()
Devp_test.c758 if (EVP_CIPHER_CTX_ctrl(ctx_base, EVP_CTRL_AEAD_SET_IVLEN, in cipher_test_enc()
782 if (EVP_CIPHER_CTX_ctrl(ctx_base, EVP_CTRL_AEAD_SET_TAG, in cipher_test_enc()
791 if (EVP_CIPHER_CTX_ctrl(ctx_base, EVP_CTRL_SET_RC5_ROUNDS, rounds, NULL) <= 0) { in cipher_test_enc()
804 if (EVP_CIPHER_CTX_ctrl(ctx_base, EVP_CTRL_SET_RC2_KEY_BITS, bits, NULL) <= 0) { in cipher_test_enc()
839 && EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_MAC_KEY, in cipher_test_enc()
917 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in cipher_test_enc()
980 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, in cipher_test_enc()
Devp_extra_test.c3613 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_IVLEN, t->ivlen, NULL), 0)) in evp_init_seq_set_iv()
3679 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in test_evp_init_seq()
3694 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, tag), 0)) { in test_evp_init_seq()
3955 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_IVLEN, t->ivlen1, NULL), 0)) { in test_gcm_reinit()
3981 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, tag), 0)) { in test_gcm_reinit()
3990 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_IVLEN, t->ivlen2, NULL), 0)) { in test_gcm_reinit()
4015 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, tag), 0)) { in test_gcm_reinit()
/third_party/openssl/crypto/evp/
De_rc2.c104 if (EVP_CIPHER_CTX_ctrl(e, EVP_CTRL_GET_RC2_KEY_BITS, 0, &i) <= 0) in rc2_meth_to_magic()
149 if (EVP_CIPHER_CTX_ctrl(c, EVP_CTRL_SET_RC2_KEY_BITS, key_bits, in rc2_get_asn1_type_and_iv()
Devp_enc.c316 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_INIT, 0, NULL) <= 0) { in evp_cipher_init_internal()
1022 return EVP_CIPHER_CTX_ctrl(c, EVP_CTRL_SET_KEY_LENGTH, keylen, NULL); in EVP_CIPHER_CTX_set_key_length()
1052 int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) in EVP_CIPHER_CTX_ctrl() function
1351 return EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_RAND_KEY, 0, key); in EVP_CIPHER_CTX_rand_key()
De_aria.c416 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CIPHER_CTX_is_encrypting(ctx) ? in aria_gcm_tls_cipher()
/third_party/openssl/ssl/
Dt1_enc.c396 || EVP_CIPHER_CTX_ctrl(dd, EVP_CTRL_GCM_SET_IV_FIXED, (int)k, in tls1_change_cipher_state()
409 || (EVP_CIPHER_CTX_ctrl(dd, EVP_CTRL_AEAD_SET_IVLEN, 12, NULL) <= 0) in tls1_change_cipher_state()
410 || (EVP_CIPHER_CTX_ctrl(dd, EVP_CTRL_AEAD_SET_TAG, taglen, NULL) <= 0) in tls1_change_cipher_state()
411 || (EVP_CIPHER_CTX_ctrl(dd, EVP_CTRL_CCM_SET_IV_FIXED, (int)k, iv) <= 0) in tls1_change_cipher_state()
425 && EVP_CIPHER_CTX_ctrl(dd, EVP_CTRL_AEAD_SET_MAC_KEY, in tls1_change_cipher_state()
Dtls13_enc.c392 || EVP_CIPHER_CTX_ctrl(ciph_ctx, EVP_CTRL_AEAD_SET_IVLEN, ivlen, NULL) <= 0 in derive_secret_key_and_iv()
393 || (taglen != 0 && EVP_CIPHER_CTX_ctrl(ciph_ctx, EVP_CTRL_AEAD_SET_TAG, in derive_secret_key_and_iv()
/third_party/openssl/providers/fips/
Dself_test_kats.c75 && (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, t->iv_len, NULL) > 0) in cipher_init()
77 || EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, t->tag_len, in cipher_init()
120 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, t->tag_len, in self_test_cipher()
/third_party/openssl/crypto/asn1/
Dp5_pbev2.c94 EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_PBE_PRF_NID, 0, &prf_nid) <= 0) {
/third_party/openssl/providers/implementations/macs/
Dgmac_prov.c238 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, in gmac_set_ctx_params()
/third_party/openssl/crypto/cms/
Dcms_enc.c104 && EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in ossl_cms_EncryptedContent_init_bio()
Dcms_env.c1114 && EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_PROCESS_UNPROTECTED, 0, in cms_EnvelopedData_Decryption_init_bio()
1242 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_PROCESS_UNPROTECTED, in ossl_cms_EnvelopedData_final()
1271 || EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, in ossl_cms_AuthEnvelopedData_final()
/third_party/openssl/apps/
Dspeed.c770 (void)EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, sizeof(tag), in EVP_Update_loop_ccm()
809 (void)EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in EVP_Update_loop_aead()
2254 (void)EVP_CIPHER_CTX_ctrl(loopargs[k].ctx, in speed_main()
3635 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_MAC_KEY, in multiblock_speed()
3661 packlen = EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_TLS1_1_MULTIBLOCK_AAD, in multiblock_speed()
3668 (void)EVP_CIPHER_CTX_ctrl(ctx, in multiblock_speed()
3678 pad = EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_TLS1_AAD, in multiblock_speed()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Devp.rs271 pub fn EVP_CIPHER_CTX_ctrl( in EVP_CIPHER_CTX_ctrl() function

12