Home
last modified time | relevance | path

Searched refs:sess1 (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/openssl/engines/
H A De_devcrypto.c894 session_op_t sess1, sess2; in prepare_digest_methods() local
902 memset(&sess1, 0, sizeof(sess1)); in prepare_digest_methods()
913 sess1.mac = digest_data[i].devcryptoid; in prepare_digest_methods()
915 if (ioctl(cfd, CIOCGSESSION, &sess1) < 0) { in prepare_digest_methods()
922 siop.ses = sess1.ses; in prepare_digest_methods()
937 sess2.mac = sess1.mac; in prepare_digest_methods()
942 cphash.src_ses = sess1.ses; in prepare_digest_methods()
968 ioctl(cfd, CIOCFSESSION, &sess1.ses); in prepare_digest_methods()
/freebsd/crypto/openssl/test/
H A Dsslapitest.c2041 SSL_SESSION *sess1 = NULL, *sess2 = NULL; in execute_test_session() local
2084 || !TEST_ptr(sess1 = SSL_get1_session(clientssl1))) in execute_test_session()
2088 if (use_int_cache && !TEST_false(SSL_CTX_add_session(cctx, sess1))) in execute_test_session()
2099 || !TEST_true(SSL_set_session(clientssl2, sess1)) in execute_test_session()
2126 SSL_SESSION_free(sess1); in execute_test_session()
2127 if (!TEST_ptr(sess1 = SSL_get1_session(clientssl2))) in execute_test_session()
2152 if (!TEST_true(SSL_set_session(clientssl2, sess1))) in execute_test_session()
2157 if (!TEST_ptr_eq(SSL_get_session(clientssl2), sess1)) in execute_test_session()
2182 || !TEST_true(SSL_set_session(clientssl3, sess1)) in execute_test_session()
2221 SSL_SESSION_free(sess1); in execute_test_session()
[all …]