Searched refs:enc_mech (Results 1 – 4 of 4) sorted by relevance
86 if (s->enc_mech != NULL) in smb3_encrypt_init_mech()109 s->enc_mech = mech; in smb3_encrypt_init_mech()141 s->enc_mech == NULL) in smb3_encrypt_begin()319 if (s->enc_mech == NULL) in smb3_decrypt_sr()398 ctx.mech = *((smb_crypto_mech_t *)s->enc_mech); in smb3_decrypt_sr()528 if (s->enc_mech == NULL || enc_key->len != keylen) { in smb3_encrypt_sr()561 ctx.mech = *((smb_crypto_mech_t *)s->enc_mech); in smb3_encrypt_sr()650 if ((mech = s->enc_mech) != NULL) { in smb3_encrypt_ssn_fini()652 s->enc_mech = NULL; in smb3_encrypt_ssn_fini()
825 if (session->enc_mech != NULL) in smb_session_delete()
2826 crypto_mechanism_t enc_mech; in setup_crypto() local2845 enc_mech.cm_type = cd->mech_type; in setup_crypto()2846 enc_mech.cm_param = cd->ivec; in setup_crypto()2847 enc_mech.cm_param_len = cd->ivlen; in setup_crypto()2866 rv = crypto_create_ctx_template(&enc_mech, in setup_crypto()
957 void *enc_mech; member