Home
last modified time | relevance | path

Searched refs:EVP_CIPHER_get_mode (Results 1 – 20 of 20) sorted by relevance

/openssl/ssl/record/methods/
H A Dtls1_meth.c87 if (EVP_CIPHER_get_mode(ciph) == EVP_CIPH_GCM_MODE) { in tls1_set_crypto_state()
94 } else if (EVP_CIPHER_get_mode(ciph) == EVP_CIPH_CCM_MODE) { in tls1_set_crypto_state()
206 && EVP_CIPHER_get_mode(enc) == EVP_CIPH_CBC_MODE) in tls1_cipher()
377 if (EVP_CIPHER_get_mode(enc) == EVP_CIPH_GCM_MODE) { in tls1_cipher()
380 } else if (EVP_CIPHER_get_mode(enc) == EVP_CIPH_CCM_MODE) { in tls1_cipher()
425 if (EVP_CIPHER_get_mode(enc) == EVP_CIPH_GCM_MODE) { in tls1_cipher()
429 } else if (EVP_CIPHER_get_mode(enc) == EVP_CIPH_CCM_MODE) { in tls1_cipher()
H A Dtls13_meth.c69 mode = EVP_CIPHER_get_mode(ciph); in tls13_set_crypto_state()
213 mode = EVP_CIPHER_get_mode(cipher); in tls13_cipher()
H A Dktls_meth.c188 if (EVP_CIPHER_get_mode(c) == EVP_CIPH_GCM_MODE in ktls_configure_crypto()
189 || EVP_CIPHER_get_mode(c) == EVP_CIPH_CCM_MODE) { in ktls_configure_crypto()
/openssl/test/
H A Devp_libctx_test.c387 ccm = (EVP_CIPHER_get_mode(cipher) == EVP_CIPH_CCM_MODE); in test_cipher_reinit()
390 siv = (EVP_CIPHER_get_mode(cipher) == EVP_CIPH_SIV_MODE); in test_cipher_reinit()
489 || EVP_CIPHER_get_mode(cipher) == EVP_CIPH_CCM_MODE in test_cipher_reinit_partialupdate()
490 || EVP_CIPHER_get_mode(cipher) == EVP_CIPH_XTS_MODE in test_cipher_reinit_partialupdate()
491 || EVP_CIPHER_get_mode(cipher) == EVP_CIPH_WRAP_MODE) { in test_cipher_reinit_partialupdate()
506 if (EVP_CIPHER_get_mode(cipher) != EVP_CIPH_SIV_MODE) { in test_cipher_reinit_partialupdate()
H A Devp_test.c908 && EVP_CIPHER_get_mode(cdat->cipher) == EVP_CIPH_STREAM_CIPHER) in cipher_test_valid_fragmentation()
910 || EVP_CIPHER_get_mode(cdat->cipher) == EVP_CIPH_SIV_MODE in cipher_test_valid_fragmentation()
911 || EVP_CIPHER_get_mode(cdat->cipher) == EVP_CIPH_GCM_SIV_MODE in cipher_test_valid_fragmentation()
912 || EVP_CIPHER_get_mode(cdat->cipher) == EVP_CIPH_XTS_MODE in cipher_test_valid_fragmentation()
913 || EVP_CIPHER_get_mode(cdat->cipher) == EVP_CIPH_WRAP_MODE) ? 0 : 1; in cipher_test_valid_fragmentation()
951 m = EVP_CIPHER_get_mode(cipher); in cipher_test_init()
1476 if (EVP_CIPHER_get_mode(cdat->cipher) != EVP_CIPH_WRAP_MODE) { in cipher_test_run()
/openssl/ssl/
H A Dt1_enc.c107 if (EVP_CIPHER_get_mode(c) == EVP_CIPH_GCM_MODE) in tls_iv_length_within_key_block()
109 else if (EVP_CIPHER_get_mode(c) == EVP_CIPH_CCM_MODE) in tls_iv_length_within_key_block()
174 switch (EVP_CIPHER_get_mode(c)) { in tls1_change_cipher_state()
H A Dtls13_enc.c392 mode = EVP_CIPHER_get_mode(ciph); in derive_secret_key_and_iv()
H A Dssl_ciph.c2196 EVP_CIPHER_get_mode(e_ciph) != EVP_CIPH_CBC_MODE) in ssl_cipher_get_overhead()
/openssl/providers/implementations/macs/
H A Dgmac_prov.c218 if (EVP_CIPHER_get_mode(ossl_prov_cipher_cipher(&macctx->cipher)) in gmac_set_ctx_params()
H A Dcmac_prov.c265 if (EVP_CIPHER_get_mode(ossl_prov_cipher_cipher(&macctx->cipher)) in cmac_set_ctx_params()
/openssl/crypto/cms/
H A Dcms_dh.c127 || EVP_CIPHER_get_mode(kekcipher) != EVP_CIPH_WRAP_MODE) in dh_cms_set_shared_info()
H A Dcms_ec.c192 if (kekcipher == NULL || EVP_CIPHER_get_mode(kekcipher) != EVP_CIPH_WRAP_MODE) in ecdh_cms_set_shared_info()
H A Dcms_kari.c441 if (EVP_CIPHER_get_mode(kekcipher) != EVP_CIPH_WRAP_MODE) in cms_wrap_init()
/openssl/crypto/evp/
H A Devp_lib.c110 switch (EVP_CIPHER_get_mode(cipher)) { in evp_cipher_param_to_asn1_ex()
181 switch (EVP_CIPHER_get_mode(cipher)) { in evp_cipher_asn1_to_param_ex()
731 int EVP_CIPHER_get_mode(const EVP_CIPHER *cipher) in EVP_CIPHER_get_mode() function
/openssl/apps/
H A Denc.c749 || EVP_CIPHER_get_mode(cipher) == EVP_CIPH_XTS_MODE) in show_ciphers()
H A Dspeed.c2948 mode_op = EVP_CIPHER_get_mode(evp_cipher); in speed_main()
/openssl/doc/man3/
H A DEVP_EncryptInit.pod49 EVP_CIPHER_get_mode,
183 unsigned long EVP_CIPHER_get_mode(const EVP_CIPHER *e);
224 #define EVP_CIPHER_mode EVP_CIPHER_get_mode
596 =item EVP_CIPHER_get_mode() and EVP_CIPHER_CTX_get_mode()
677 See L</EVP_CIPHER_get_mode() and EVP_CIPHER_CTX_get_mode()> for a list of valid modes.
678 Use EVP_CIPHER_get_mode() to retrieve the cached value.
/openssl/include/openssl/
H A Devp.h608 int EVP_CIPHER_get_mode(const EVP_CIPHER *cipher);
609 # define EVP_CIPHER_mode EVP_CIPHER_get_mode
658 # define EVP_CIPHER_CTX_get_mode(c) EVP_CIPHER_get_mode(EVP_CIPHER_CTX_get0_cipher(c))
/openssl/apps/lib/
H A Dopt.c434 mode = EVP_CIPHER_get_mode(c); in opt_cipher()
/openssl/util/
H A Dlibcrypto.num4593 EVP_CIPHER_get_mode 4721 3_0_0 EXIST::FUNCTION:

Completed in 119 milliseconds