Searched refs:csession (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/ |
| H A D | cryptodev.h | 160 struct csession { struct 176 struct csession *crypto_get_session_by_sid(struct fcrypt *fcr, uint32_t sid); argument 179 uint32_t sid_1, struct csession **ses_ptr_1, 180 uint32_t sid_2, struct csession **ses_ptr_2); 182 static inline void crypto_put_session(struct csession *ses_ptr) in crypto_put_session() 186 int cryptodev_adjust_sg_array(struct csession *ses, int pagecount);
|
| H A D | authenc.c | 53 static int get_userbuf_tls(struct csession *ses, struct kernel_crypt_auth_op *kcaop, in get_userbuf_tls() 104 static int get_userbuf_srtp(struct csession *ses, struct kernel_crypt_auth_op *kcaop, in get_userbuf_srtp() 179 static int cryptodev_get_tag_len(struct csession *ses_ptr) in cryptodev_get_tag_len() 192 static int cryptodev_get_dst_len(struct crypt_auth_op *caop, struct csession *ses_ptr) in cryptodev_get_dst_len() 216 struct csession *ses_ptr; in fill_kcaop_from_caop() 437 tls_auth_n_crypt(struct csession *ses_ptr, struct kernel_crypt_auth_op *kcaop, in tls_auth_n_crypt() 559 srtp_auth_n_crypt(struct csession *ses_ptr, struct kernel_crypt_auth_op *kcaop, in srtp_auth_n_crypt() 644 static int rk_auth_n_crypt(struct csession *ses_ptr, struct kernel_crypt_auth_op *kcaop, in rk_auth_n_crypt() 687 auth_n_crypt(struct csession *ses_ptr, struct kernel_crypt_auth_op *kcaop, in auth_n_crypt() 733 static int crypto_auth_zc_srtp(struct csession *ses_ptr, struct kernel_crypt_auth_op *kcaop) in crypto_auth_zc_srtp() [all …]
|
| H A D | main.c | 56 hash_n_crypt(struct csession *ses_ptr, struct crypt_op *cop, in hash_n_crypt() 104 __crypto_run_std(struct csession *ses_ptr, struct crypt_op *cop) in __crypto_run_std() 164 __crypto_run_zc(struct csession *ses_ptr, struct kernel_crypt_op *kcop) in __crypto_run_zc() 185 struct csession *ses_ptr; in crypto_run()
|
| H A D | zc.h | 10 void cryptodev_release_user_pages(struct csession *ses); 12 int cryptodev_get_userbuf(struct csession *ses,
|
| H A D | ioctl.c | 111 struct csession *ses_new = NULL, *ses_ptr; in crypto_create_session() 373 crypto_destroy_session(struct csession *ses_ptr) in crypto_destroy_session() 400 struct csession *tmp, *ses_ptr; in crypto_finish_session() 427 struct csession *tmp, *ses_ptr; in crypto_finish_all_sessions() 443 struct csession * 446 struct csession *ses_ptr, *retval = NULL; in crypto_get_session_by_sid() 475 uint32_t sid_1, struct csession **ses_ptr_1, in crypto_get_sessions_by_sid() 476 uint32_t sid_2, struct csession **ses_ptr_2) in crypto_get_sessions_by_sid() 478 struct csession *ses_ptr; in crypto_get_sessions_by_sid() 522 struct csession *src_ses, *dst_ses; in crypto_copy_hash_state() [all …]
|
| H A D | zc.c | 111 int cryptodev_adjust_sg_array(struct csession *ses, int pagecount) in cryptodev_adjust_sg_array() 137 void cryptodev_release_user_pages(struct csession *ses) in cryptodev_release_user_pages() 158 int cryptodev_get_userbuf(struct csession *ses, in cryptodev_get_userbuf()
|
| H A D | rk_cryptodev.c | 114 struct csession *ses_ptr; in fill_kcop_fd_from_cop() 193 hash_n_crypt_fd(struct csession *ses_ptr, struct crypt_fd_op *cop, in hash_n_crypt_fd() 340 static int __crypto_fd_run(struct fcrypt *fcr, struct csession *ses_ptr, in __crypto_fd_run() 396 struct csession *ses_ptr; in crypto_fd_run() 749 static int rk_auth_fd_n_crypt(struct csession *ses_ptr, struct kernel_crypt_auth_fd_op *kcaop, in rk_auth_fd_n_crypt() 802 static int crypto_auth_fd_zc_rk(struct fcrypt *fcr, struct csession *ses_ptr, in crypto_auth_fd_zc_rk() 933 static int __crypto_auth_fd_run_zc(struct fcrypt *fcr, struct csession *ses_ptr, in __crypto_auth_fd_run_zc() 949 struct csession *ses_ptr; in crypto_auth_fd_run() 1004 static int rk_cryptodev_get_tag_len(struct csession *ses_ptr) in rk_cryptodev_get_tag_len() 1017 static int rk_cryptodev_fd_get_dst_len(struct crypt_auth_fd_op *caop, struct csession *ses_ptr) in rk_cryptodev_fd_get_dst_len() [all …]
|