Searched refs:ENCR_DECR_CONTEXT (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | key_mgr.c | 239 ENCR_DECR_CONTEXT * ctx = NULL; in key_mgr_wrap_key() 326 ctx = (ENCR_DECR_CONTEXT *)malloc(sizeof (ENCR_DECR_CONTEXT)); in key_mgr_wrap_key() 330 (void) memset(ctx, 0x0, sizeof (ENCR_DECR_CONTEXT)); in key_mgr_wrap_key() 358 ENCR_DECR_CONTEXT * ctx = NULL; in key_mgr_unwrap_key() 418 ctx = (ENCR_DECR_CONTEXT *)malloc(sizeof (ENCR_DECR_CONTEXT)); in key_mgr_unwrap_key() 422 (void) memset(ctx, 0x0, sizeof (ENCR_DECR_CONTEXT)); in key_mgr_unwrap_key()
|
H A D | sess_mgr.c | 785 sizeof (ENCR_DECR_CONTEXT) + in session_mgr_get_op_state() 801 sizeof (ENCR_DECR_CONTEXT)); in session_mgr_get_op_state() 803 offset += sizeof (ENCR_DECR_CONTEXT); in session_mgr_get_op_state() 826 sizeof (ENCR_DECR_CONTEXT) + in session_mgr_get_op_state() 842 sizeof (ENCR_DECR_CONTEXT)); in session_mgr_get_op_state() 844 offset += sizeof (ENCR_DECR_CONTEXT); in session_mgr_get_op_state() 1015 ENCR_DECR_CONTEXT *ctx = (ENCR_DECR_CONTEXT *)cptr; in session_mgr_set_op_state() 1017 len = sizeof (ENCR_DECR_CONTEXT) + in session_mgr_set_op_state() 1029 ptr2 = ptr1 + sizeof (ENCR_DECR_CONTEXT); in session_mgr_set_op_state() 1162 sizeof (ENCR_DECR_CONTEXT)); in session_mgr_set_op_state() [all …]
|
H A D | decr_mgr.c | 34 ENCR_DECR_CONTEXT *ctx, in decr_mgr_init() 134 decr_mgr_cleanup(ENCR_DECR_CONTEXT *ctx) in decr_mgr_cleanup() 162 ENCR_DECR_CONTEXT *ctx, in decr_mgr_decrypt()
|
H A D | encr_mgr.c | 32 ENCR_DECR_CONTEXT * ctx, in encr_mgr_init() 133 encr_mgr_cleanup(ENCR_DECR_CONTEXT *ctx) in encr_mgr_cleanup() 161 ENCR_DECR_CONTEXT *ctx, in encr_mgr_encrypt()
|
H A D | tpmtok_int.h | 278 } ENCR_DECR_CONTEXT; typedef 315 ENCR_DECR_CONTEXT encr_ctx; 316 ENCR_DECR_CONTEXT decr_ctx; 634 ENCR_DECR_CONTEXT *, 642 ENCR_DECR_CONTEXT *, 765 ENCR_DECR_CONTEXT *, 770 CK_RV encr_mgr_cleanup(ENCR_DECR_CONTEXT *); 773 ENCR_DECR_CONTEXT *, 778 ENCR_DECR_CONTEXT *, 783 CK_RV decr_mgr_cleanup(ENCR_DECR_CONTEXT *); [all …]
|
H A D | mech_rsa.c | 177 ENCR_DECR_CONTEXT *ctx, in rsa_pkcs_encrypt() 220 ENCR_DECR_CONTEXT *ctx, in rsa_pkcs_decrypt()
|