Home
last modified time | relevance | path

Searched refs:sess (Results 1 – 18 of 18) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/src/radius/
Dradius_server.c166 struct radius_session *sess = client->sessions; in radius_server_get_session() local
168 while (sess) { in radius_server_get_session()
169 if (sess->sess_id == sess_id) { in radius_server_get_session()
172 sess = sess->next; in radius_server_get_session()
175 return sess; in radius_server_get_session()
180 struct radius_session *sess) in radius_server_session_free() argument
182 eloop_cancel_timeout(radius_server_session_timeout, data, sess); in radius_server_session_free()
183 eloop_cancel_timeout(radius_server_session_remove_timeout, data, sess); in radius_server_session_free()
184 eap_server_sm_deinit(sess->eap); in radius_server_session_free()
185 if (sess->last_msg) { in radius_server_session_free()
[all …]
/external/openssl/crypto/engine/
Deng_cryptodev.c235 struct session_op sess; in get_cryptodev_ciphers() local
242 memset(&sess, 0, sizeof(sess)); in get_cryptodev_ciphers()
243 sess.key = (caddr_t)"123456789abcdefghijklmno"; in get_cryptodev_ciphers()
248 sess.cipher = ciphers[i].id; in get_cryptodev_ciphers()
249 sess.keylen = ciphers[i].keylen; in get_cryptodev_ciphers()
250 sess.mac = 0; in get_cryptodev_ciphers()
251 if (ioctl(fd, CIOCGSESSION, &sess) != -1 && in get_cryptodev_ciphers()
252 ioctl(fd, CIOCFSESSION, &sess.ses) != -1) in get_cryptodev_ciphers()
275 struct session_op sess; in get_cryptodev_digests() local
282 memset(&sess, 0, sizeof(sess)); in get_cryptodev_digests()
[all …]
/external/openssl/ssl/
Ds2_clnt.c616 SSL_SESSION *sess; in client_master_key() local
630 sess=s->session; in client_master_key()
635 i=ssl_put_cipher_by_char(s,sess->cipher,p); in client_master_key()
640 sess->key_arg_length=i; in client_master_key()
648 if (RAND_pseudo_bytes(sess->key_arg,i) <= 0) in client_master_key()
653 sess->master_key_length=i; in client_master_key()
656 if (i > (int)sizeof(sess->master_key)) in client_master_key()
662 if (RAND_bytes(sess->master_key,i) <= 0) in client_master_key()
669 if (sess->cipher->algorithm2 & SSL2_CF_8_BYTE_ENC) in client_master_key()
671 else if (SSL_C_IS_EXPORT(sess->cipher)) in client_master_key()
[all …]
Dssl_sess.c159 SSL_SESSION *sess; in SSL_get1_session() local
164 sess = ssl->session; in SSL_get1_session()
165 if(sess) in SSL_get1_session()
166 sess->references++; in SSL_get1_session()
168 return(sess); in SSL_get1_session()
1015 int (*cb)(struct ssl_st *ssl,SSL_SESSION *sess)) in SSL_CTX_sess_set_new_cb() argument
1020 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(SSL *ssl, SSL_SESSION *sess) in SSL_CTX_sess_get_new_cb()
1026 void (*cb)(SSL_CTX *ctx,SSL_SESSION *sess)) in SSL_CTX_sess_set_remove_cb() argument
1031 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(SSL_CTX * ctx,SSL_SESSION *sess) in SSL_CTX_sess_get_remove_cb()
Dd1_pkt.c377 SSL_SESSION *sess; in dtls1_process_record() local
384 sess = s->session; in dtls1_process_record()
430 if ( (sess == NULL) || in dtls1_process_record()
531 SSL_SESSION *sess; in dtls1_get_record() local
538 sess=s->session; in dtls1_get_record()
1361 SSL_SESSION *sess; in do_dtls1_write() local
1397 sess=s->session; in do_dtls1_write()
1399 if ( (sess == NULL) || in do_dtls1_write()
Ds3_pkt.c287 SSL_SESSION *sess; in ssl3_get_record() local
303 sess=s->session; in ssl3_get_record()
445 if ( (sess == NULL) || in ssl3_get_record()
662 SSL_SESSION *sess; in do_ssl3_write() local
686 sess=s->session; in do_ssl3_write()
688 if ( (sess == NULL) || in do_ssl3_write()
Dt1_lib.c1646 SSL_SESSION *sess; in tls_decrypt_ticket() local
1715 sess = d2i_SSL_SESSION(NULL, &p, slen); in tls_decrypt_ticket()
1717 if (sess) in tls_decrypt_ticket()
1725 memcpy(sess->session_id, sess_id, sesslen); in tls_decrypt_ticket()
1726 sess->session_id_length = sesslen; in tls_decrypt_ticket()
1727 *psess = sess; in tls_decrypt_ticket()
Dssl.h728 int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess);
729 void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess);
916 …SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess));
917 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess);
918 …s_set_remove_cb(SSL_CTX *ctx, void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess));
919 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
Dd1_clnt.c606 SSL_SESSION *sess = s->session; in dtls1_client_hello() local
610 !sess->session_id_length || in dtls1_client_hello()
612 (!sess->session_id_length && !sess->tlsext_tick) || in dtls1_client_hello()
Ds3_clnt.c661 SSL_SESSION *sess = s->session; in ssl3_client_hello() local
662 if ((sess == NULL) || in ssl3_client_hello()
663 (sess->ssl_version != s->version) || in ssl3_client_hello()
665 !sess->session_id_length || in ssl3_client_hello()
667 (!sess->session_id_length && !sess->tlsext_tick) || in ssl3_client_hello()
669 (sess->not_resumable)) in ssl3_client_hello()
/external/openssl/crypto/evp/
Dopenbsd_hw.c276 session_op sess;
284 if(!dev_crypto_init(&md_data->sess))
290 md_data->sess.mac=mac;
292 if (ioctl(fd,CIOCGSESSION,&md_data->sess) == -1)
302 if (ioctl(fd,CIOCFSESSION,&md_data->sess.ses) == -1)
377 return do_digest(md_data->sess.ses,md_data->md,data,len);
398 ret=do_digest(md_data->sess.ses,md,md_data->data,md_data->len);
/external/bluetooth/bluez/tools/
Dsdptool.c755 static int set_attrib(sdp_session_t *sess, uint32_t handle, uint16_t attrib, char *value) in set_attrib() argument
764 rec = sdp_service_attr_req(sess, handle, SDP_ATTR_REQ_RANGE, attrid_list); in set_attrib()
801 ret = sdp_device_record_update(sess, &interface, rec); in set_attrib()
825 sdp_session_t *sess; in cmd_setattr() local
848 sess = sdp_connect(BDADDR_ANY, BDADDR_LOCAL, 0); in cmd_setattr()
849 if (!sess) in cmd_setattr()
852 status = set_attrib(sess, handle, attrib, argv[2]); in cmd_setattr()
853 sdp_close(sess); in cmd_setattr()
964 sdp_session_t *sess; in cmd_setseq() local
990 sess = sdp_connect(BDADDR_ANY, BDADDR_LOCAL, 0); in cmd_setseq()
[all …]
/external/openssl/apps/
Ds_client.c935 SSL_SESSION *sess; in MAIN() local
944 sess = PEM_read_bio_SSL_SESSION(stmp, NULL, 0, NULL); in MAIN()
946 if (!sess) in MAIN()
953 SSL_set_session(con, sess); in MAIN()
954 SSL_SESSION_free(sess); in MAIN()
/external/openssl/include/openssl/
Dssl.h728 int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess);
729 void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess);
916 …SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess));
917 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess);
918 …s_set_remove_cb(SSL_CTX *ctx, void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess));
919 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
/external/openssl/patches/
Djsse.patch115 (sess->not_resumable))
289 @@ -269,6 +274,8 @@ int ssl_get_new_session(SSL *s, int sess
Dsmall_records.patch30 SSL_SESSION *sess;
142 sess=s->session;
/external/bluetooth/bluez/lib/bluetooth/
Dsdp_lib.h464 int sdp_record_update(sdp_session_t *sess, const sdp_record_t *rec);
/external/sqlite/dist/
Dsqlite3.c.orig102836 !stem(&z, "sess", "ss", 0) &&