/external/openssl/crypto/engine/ |
D | eng_cryptodev.c | 259 struct session_op sess; in get_cryptodev_ciphers() local 266 memset(&sess, 0, sizeof(sess)); in get_cryptodev_ciphers() 267 sess.key = (caddr_t)"123456781234567812345678"; in get_cryptodev_ciphers() 272 sess.cipher = ciphers[i].id; in get_cryptodev_ciphers() 273 sess.keylen = ciphers[i].keylen; in get_cryptodev_ciphers() 274 sess.mac = 0; in get_cryptodev_ciphers() 275 if (ioctl(fd, CIOCGSESSION, &sess) != -1 && in get_cryptodev_ciphers() 276 ioctl(fd, CIOCFSESSION, &sess.ses) != -1) in get_cryptodev_ciphers() 298 struct session_op sess; in get_cryptodev_digests() local 305 memset(&sess, 0, sizeof(sess)); in get_cryptodev_digests() [all …]
|
/external/openssl/crypto/evp/ |
D | openbsd_hw.c | 276 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/openssl/ssl/ |
D | s2_clnt.c | 616 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 …]
|
D | ssl_sess.c | 77 SSL_SESSION *sess; in SSL_get1_session() local 82 sess = ssl->session; in SSL_get1_session() 83 if(sess) in SSL_get1_session() 84 sess->references++; in SSL_get1_session() 86 return(sess); in SSL_get1_session() 817 int (*cb)(struct ssl_st *ssl,SSL_SESSION *sess)) in SSL_CTX_sess_set_new_cb() argument 822 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(SSL *ssl, SSL_SESSION *sess) in SSL_CTX_sess_get_new_cb() 828 void (*cb)(SSL_CTX *ctx,SSL_SESSION *sess)) in SSL_CTX_sess_set_remove_cb() argument 833 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(SSL_CTX * ctx,SSL_SESSION *sess) in SSL_CTX_sess_get_remove_cb()
|
D | t1_lib.c | 789 SSL_SESSION *sess; in tls_decrypt_ticket() local 852 sess = d2i_SSL_SESSION(NULL, &p, slen); in tls_decrypt_ticket() 854 if (sess) in tls_decrypt_ticket() 862 memcpy(sess->session_id, sess_id, sesslen); in tls_decrypt_ticket() 863 sess->session_id_length = sesslen; in tls_decrypt_ticket() 864 *psess = sess; in tls_decrypt_ticket()
|
D | d1_pkt.c | 330 SSL_SESSION *sess; in dtls1_process_record() local 337 sess = s->session; in dtls1_process_record() 383 if ( (sess == NULL) || in dtls1_process_record() 488 SSL_SESSION *sess; in dtls1_get_record() local 495 sess=s->session; in dtls1_get_record() 1264 SSL_SESSION *sess; in do_dtls1_write() local 1289 sess=s->session; in do_dtls1_write() 1291 if ( (sess == NULL) || in do_dtls1_write()
|
D | s3_pkt.c | 236 SSL_SESSION *sess; in ssl3_get_record() local 247 sess=s->session; in ssl3_get_record() 370 if ( (sess == NULL) || in ssl3_get_record() 574 SSL_SESSION *sess; in do_ssl3_write() local 595 sess=s->session; in do_ssl3_write() 597 if ( (sess == NULL) || in do_ssl3_write()
|
D | ssl.h | 665 int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess); 666 void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess); 822 …SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess)); 823 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess); 824 …s_set_remove_cb(SSL_CTX *ctx, void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess)); 825 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
|
/external/bluez/utils/tools/ |
D | sdptool.c | 756 static int set_attrib(sdp_session_t *sess, uint32_t handle, uint16_t attrib, char *value) in set_attrib() argument 765 rec = sdp_service_attr_req(sess, handle, SDP_ATTR_REQ_RANGE, attrid_list); in set_attrib() 802 ret = sdp_device_record_update(sess, &interface, rec); in set_attrib() 826 sdp_session_t *sess; in cmd_setattr() local 849 sess = sdp_connect(BDADDR_ANY, BDADDR_LOCAL, 0); in cmd_setattr() 850 if (!sess) in cmd_setattr() 853 status = set_attrib(sess, handle, attrib, argv[2]); in cmd_setattr() 854 sdp_close(sess); in cmd_setattr() 965 sdp_session_t *sess; in cmd_setseq() local 991 sess = sdp_connect(BDADDR_ANY, BDADDR_LOCAL, 0); in cmd_setseq() [all …]
|
/external/openssl/apps/ |
D | s_client.c | 707 SSL_SESSION *sess; in MAIN() local 716 sess = PEM_read_bio_SSL_SESSION(stmp, NULL, 0, NULL); in MAIN() 718 if (!sess) in MAIN() 725 SSL_set_session(con, sess); in MAIN() 726 SSL_SESSION_free(sess); in MAIN()
|
/external/openssl/include/openssl/ |
D | ssl.h | 665 int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess); 666 void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess); 822 …SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess)); 823 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess); 824 …s_set_remove_cb(SSL_CTX *ctx, void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess)); 825 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
|
/external/bluez/libs/include/bluetooth/ |
D | sdp_lib.h | 464 int sdp_record_update(sdp_session_t *sess, const sdp_record_t *rec);
|
/external/bluez/utils/hcid/ |
D | dbus-sdp.c | 159 static void cache_sdp_session(sdp_session_t *sess, GIOChannel *io) in cache_sdp_session() argument 165 s->session = sess; in cache_sdp_session()
|