Home
last modified time | relevance | path

Searched refs:algorithm_enc (Results 1 – 13 of 13) sorted by relevance

/freebsd/crypto/openssl/ssl/
H A Dssl_ciph.c485 int i = ssl_cipher_info_lookup(ssl_cipher_table_cipher, sslc->algorithm_enc); in ssl_cipher_get_evp_cipher()
585 if (c->algorithm_enc == SSL_RC4 in ssl_cipher_get_evp()
589 else if (c->algorithm_enc == SSL_AES128 in ssl_cipher_get_evp()
594 else if (c->algorithm_enc == SSL_AES256 in ssl_cipher_get_evp()
599 else if (c->algorithm_enc == SSL_AES128 in ssl_cipher_get_evp()
604 else if (c->algorithm_enc == SSL_AES256 in ssl_cipher_get_evp()
706 (c->algorithm_enc & disabled_enc) || in ssl_cipher_collect_ciphers()
783 uint32_t algorithm_enc = cipher_aliases[i].algorithm_enc; in ssl_cipher_collect_aliases() local
794 if (algorithm_enc) in ssl_cipher_collect_aliases()
795 if ((algorithm_enc & mask_enc) == 0) in ssl_cipher_collect_aliases()
[all …]
H A Dktls.c97 switch (s->s3.tmp.new_cipher->algorithm_enc) { in ktls_check_supported_cipher()
130 switch (s->s3.tmp.new_cipher->algorithm_enc) { in ktls_configure_crypto()
H A Dt1_enc.c363 new_cipher->algorithm_enc & (SSL_AES128CCM8 | SSL_AES256CCM8)) in tls1_change_cipher_state()
539 if (s->session->cipher->algorithm_enc == SSL_eNULL) in tls1_setup_key_block()
542 if (s->session->cipher->algorithm_enc == SSL_RC4) in tls1_setup_key_block()
H A Dtls13_enc.c365 algenc = s->s3.tmp.new_cipher->algorithm_enc; in derive_secret_key_and_iv()
368 algenc = s->session->cipher->algorithm_enc; in derive_secret_key_and_iv()
371 algenc = s->psksession->cipher->algorithm_enc; in derive_secret_key_and_iv()
H A Ds3_enc.c301 if (s->session->cipher->algorithm_enc == SSL_eNULL) in ssl3_setup_key_block()
304 if (s->session->cipher->algorithm_enc == SSL_RC4) in ssl3_setup_key_block()
H A Ds3_lib.c4180 if (c->algorithm_enc == SSL_CHACHA20POLY1305) { in ssl3_choose_cipher()
4186 if (c->algorithm_enc == SSL_CHACHA20POLY1305) { in ssl3_choose_cipher()
4199 if (c->algorithm_enc == SSL_CHACHA20POLY1305) in ssl3_choose_cipher()
4205 if (c->algorithm_enc != SSL_CHACHA20POLY1305) in ssl3_choose_cipher()
H A Dssl_cert.c1064 if (level >= 2 && c->algorithm_enc == SSL_RC4) in ssl_security_default_callback()
H A Dssl_local.h473 uint32_t algorithm_enc; /* symmetric encryption */ member
/freebsd/crypto/openssl/ssl/record/
H A Dssl3_record_tls13.c74 alg_enc = s->session->cipher->algorithm_enc; in tls13_enc()
81 alg_enc = s->psksession->cipher->algorithm_enc; in tls13_enc()
92 alg_enc = s->s3.tmp.new_cipher->algorithm_enc; in tls13_enc()
/freebsd/crypto/openssl/test/
H A Dcipher_overhead_test.c23 if (ciph->algorithm_enc != SSL_eNULL in cipher_enabled()
/freebsd/crypto/openssl/ssl/statem/
H A Dextensions_srvr.c1540 || s->s3.tmp.new_cipher->algorithm_enc == SSL_RC4 in tls_construct_stoc_etm()
1541 || s->s3.tmp.new_cipher->algorithm_enc == SSL_eGOST2814789CNT in tls_construct_stoc_etm()
1542 || s->s3.tmp.new_cipher->algorithm_enc == SSL_eGOST2814789CNT12 in tls_construct_stoc_etm()
1543 || s->s3.tmp.new_cipher->algorithm_enc == SSL_MAGMA in tls_construct_stoc_etm()
1544 || s->s3.tmp.new_cipher->algorithm_enc == SSL_KUZNYECHIK) { in tls_construct_stoc_etm()
H A Dextensions_clnt.c1709 && s->s3.tmp.new_cipher->algorithm_enc != SSL_RC4 in tls_parse_stoc_etm()
1710 && s->s3.tmp.new_cipher->algorithm_enc != SSL_eGOST2814789CNT in tls_parse_stoc_etm()
1711 && s->s3.tmp.new_cipher->algorithm_enc != SSL_eGOST2814789CNT12 in tls_parse_stoc_etm()
1712 && s->s3.tmp.new_cipher->algorithm_enc != SSL_MAGMA in tls_parse_stoc_etm()
1713 && s->s3.tmp.new_cipher->algorithm_enc != SSL_KUZNYECHIK) in tls_parse_stoc_etm()
H A Dstatem_clnt.c3125 if ((s->s3.tmp.new_cipher->algorithm_enc & SSL_MAGMA) != 0) in ossl_gost18_cke_cipher_nid()
3127 else if ((s->s3.tmp.new_cipher->algorithm_enc & SSL_KUZNYECHIK) != 0) in ossl_gost18_cke_cipher_nid()