Home
last modified time | relevance | path

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

12

/openssl/ssl/record/methods/
H A Dtls1_meth.c89 || EVP_CIPHER_CTX_ctrl(ciph_ctx, EVP_CTRL_GCM_SET_IV_FIXED, in tls1_set_crypto_state()
96 || EVP_CIPHER_CTX_ctrl(ciph_ctx, EVP_CTRL_AEAD_SET_IVLEN, 12, in tls1_set_crypto_state()
98 || EVP_CIPHER_CTX_ctrl(ciph_ctx, EVP_CTRL_AEAD_SET_TAG, in tls1_set_crypto_state()
100 || EVP_CIPHER_CTX_ctrl(ciph_ctx, EVP_CTRL_CCM_SET_IV_FIXED, in tls1_set_crypto_state()
115 && EVP_CIPHER_CTX_ctrl(ciph_ctx, EVP_CTRL_AEAD_SET_MAC_KEY, in tls1_set_crypto_state()
276 pad = EVP_CIPHER_CTX_ctrl(ds, EVP_CTRL_AEAD_TLS1_AAD, in tls1_cipher()
320 if (EVP_CIPHER_CTX_ctrl(ds, EVP_CTRL_SET_PIPELINE_OUTPUT_BUFS, in tls1_cipher()
329 if (EVP_CIPHER_CTX_ctrl(ds, EVP_CTRL_SET_PIPELINE_INPUT_BUFS, in tls1_cipher()
331 || EVP_CIPHER_CTX_ctrl(ds, EVP_CTRL_SET_PIPELINE_INPUT_LENS, in tls1_cipher()
349 if (EVP_CIPHER_CTX_ctrl(ds, EVP_CTRL_TLSTREE, decrement_seq, in tls1_cipher()
H A Dtls_multib.c111 packlen = EVP_CIPHER_CTX_ctrl(rl->enc_ctx, in tls_write_records_multiblock_int()
132 packleni = EVP_CIPHER_CTX_ctrl(rl->enc_ctx, in tls_write_records_multiblock_int()
145 if (EVP_CIPHER_CTX_ctrl(rl->enc_ctx, in tls_write_records_multiblock_int()
H A Dtls13_meth.c72 || EVP_CIPHER_CTX_ctrl(ciph_ctx, EVP_CTRL_AEAD_SET_IVLEN, ivlen, in tls13_set_crypto_state()
75 && EVP_CIPHER_CTX_ctrl(ciph_ctx, EVP_CTRL_AEAD_SET_TAG, taglen, in tls13_set_crypto_state()
216 || (!sending && EVP_CIPHER_CTX_ctrl(enc_ctx, EVP_CTRL_AEAD_SET_TAG, in tls13_cipher()
240 if (EVP_CIPHER_CTX_ctrl(enc_ctx, EVP_CTRL_AEAD_GET_TAG, rl->taglen, in tls13_cipher()
/openssl/doc/man3/
H A 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)
H A DEVP_rc2_cbc.pod49 EVP_rc2_cbc(), EVP_CIPHER_CTX_set_key_length() and EVP_CIPHER_CTX_ctrl()
H A DEVP_EncryptInit.pod26 EVP_CIPHER_CTX_ctrl,
298 =item EVP_CIPHER_CTX_ctrl()
1409 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, ivlen, NULL)
1417 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, tag)
1426 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, taglen, tag)
1461 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, taglen, tag)
1470 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_CCM_SET_L, ivlen, NULL)
1516 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, tag);
1523 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, taglen, tag);
1551 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, tag)
[all …]
/openssl/crypto/pkcs12/
H A Dp12_decr.c57 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_TLS1_AAD, 0, &mac_len) < 0) { in PKCS12_pbe_crypt_ex()
70 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in PKCS12_pbe_crypt_ex()
101 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, in PKCS12_pbe_crypt_ex()
/openssl/crypto/evp/
H A 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()
H A Devp_enc.c366 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_INIT, 0, NULL) <= 0) { in evp_cipher_init_internal()
1075 return EVP_CIPHER_CTX_ctrl(c, EVP_CTRL_SET_KEY_LENGTH, keylen, NULL); in EVP_CIPHER_CTX_set_key_length()
1105 int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) in EVP_CIPHER_CTX_ctrl() function
1429 return EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_RAND_KEY, 0, key); in EVP_CIPHER_CTX_rand_key()
H A De_aria.c412 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CIPHER_CTX_is_encrypting(ctx) ? in aria_gcm_tls_cipher()
/openssl/test/
H A 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()
H A Dacvp_test.c935 || !TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, iv_len, in aes_ccm_enc_dec()
937 || !TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, tag_len, in aes_ccm_enc_dec()
954 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, in aes_ccm_enc_dec()
1023 || !TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, iv_len, in aes_gcm_enc_dec()
1028 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, tag_len, in aes_gcm_enc_dec()
1052 || !TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, in aes_gcm_enc_dec()
H A Devp_test.c1146 if (EVP_CIPHER_CTX_ctrl(ctx_base, EVP_CTRL_AEAD_SET_IVLEN, in cipher_test_enc()
1170 if (EVP_CIPHER_CTX_ctrl(ctx_base, EVP_CTRL_AEAD_SET_TAG, in cipher_test_enc()
1179 if (EVP_CIPHER_CTX_ctrl(ctx_base, EVP_CTRL_SET_RC5_ROUNDS, rounds, NULL) <= 0) { in cipher_test_enc()
1192 if (EVP_CIPHER_CTX_ctrl(ctx_base, EVP_CTRL_SET_RC2_KEY_BITS, bits, NULL) <= 0) { in cipher_test_enc()
1250 && EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_MAC_KEY, in cipher_test_enc()
1339 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in cipher_test_enc()
1428 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, in cipher_test_enc()
H A Devp_extra_test.c4292 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_IVLEN, t->ivlen, NULL), 0)) in evp_init_seq_set_iv()
4358 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in test_evp_init_seq()
4373 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, tag), 0)) { in test_evp_init_seq()
4673 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_IVLEN, t->ivlen1, NULL), 0)) { in test_gcm_reinit()
4699 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, tag), 0)) { in test_gcm_reinit()
4708 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GCM_SET_IVLEN, t->ivlen2, NULL), 0)) { in test_gcm_reinit()
4733 if (!TEST_int_gt(EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, tag), 0)) { in test_gcm_reinit()
/openssl/doc/designs/
H A Dhandling-some-max-defines.md133 16 bytes for EVP_CIPHER_CTX_ctrl(EVP_CTRL_AEAD_SET_TAG). The value is
141 EVP_CIPHER_CTX_ctrl(EVP_CTRL_AEAD_SET/GET_TAG))
/openssl/providers/implementations/macs/
H A Dgmac_prov.c238 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, in gmac_set_ctx_params()
/openssl/providers/fips/
H A Dself_test_kats.c83 && (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, t->iv_len, NULL) > 0) in cipher_init()
85 || EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, t->tag_len, in cipher_init()
128 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, t->tag_len, in self_test_cipher()
/openssl/apps/
H A Dspeed.c934 if (!EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, in EVP_Update_loop_aead_enc()
945 if (!EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in EVP_Update_loop_aead_enc()
1006 if (!EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, in EVP_Update_loop_aead_dec()
1018 if (!EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in EVP_Update_loop_aead_dec()
1040 if (!EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in EVP_Update_loop_aead_dec()
3009 EVP_CIPHER_CTX_ctrl(loopargs[k].ctx, in speed_main()
3015 if (!EVP_CIPHER_CTX_ctrl(loopargs[k].ctx, in speed_main()
3027 if (!EVP_CIPHER_CTX_ctrl(loopargs[k].ctx, in speed_main()
3106 EVP_CIPHER_CTX_ctrl(loopargs[k].ctx, in speed_main()
5085 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_MAC_KEY, in multiblock_speed()
[all …]
/openssl/crypto/cms/
H A Dcms_enc.c109 && EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in ossl_cms_EncryptedContent_init_bio()
H A Dcms_env.c1157 && EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_PROCESS_UNPROTECTED, 0, in cms_EnvelopedData_Decryption_init_bio()
1285 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_PROCESS_UNPROTECTED, in ossl_cms_EnvelopedData_final()
1314 || EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, in ossl_cms_AuthEnvelopedData_final()
/openssl/crypto/asn1/
H A Dp5_pbev2.c109 EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_PBE_PRF_NID, 0, &prf_nid) <= 0) {
/openssl/crypto/hpke/
H A Dhpke.c164 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, in hpke_aead_dec()
186 if (!EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_TAG, in hpke_aead_dec()
245 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_SET_IVLEN, in hpke_aead_enc()
274 if (EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_AEAD_GET_TAG, taglen, tag) != 1) { in hpke_aead_enc()
/openssl/ssl/quic/
H A Dquic_wire_pkt.c930 if (EVP_CIPHER_CTX_ctrl(cctx, EVP_CTRL_AEAD_GET_TAG, in ossl_quic_calculate_retry_integrity_tag()
H A Dquic_record_tx.c579 if (EVP_CIPHER_CTX_ctrl(cctx, EVP_CTRL_AEAD_GET_TAG, in qtx_encrypt_into_txe()
H A Dquic_record_rx.c726 if (EVP_CIPHER_CTX_ctrl(cctx, EVP_CTRL_AEAD_SET_TAG, in qrx_decrypt_pkt_body()

Completed in 122 milliseconds

12