Lines Matching refs:ksmbd_debug

87 		ksmbd_debug(AUTH, "could not crypto alloc hmacmd5\n");  in ksmbd_gen_sess_key()
95 ksmbd_debug(AUTH, "hmacmd5 set key fail error %d\n", rc); in ksmbd_gen_sess_key()
101 ksmbd_debug(AUTH, "could not init hmacmd5 error %d\n", rc); in ksmbd_gen_sess_key()
109 ksmbd_debug(AUTH, "Could not update with response error %d\n", rc); in ksmbd_gen_sess_key()
115 ksmbd_debug(AUTH, "Could not generate hmacmd5 hash error %d\n", rc); in ksmbd_gen_sess_key()
134 ksmbd_debug(AUTH, "can't generate ntlmv2 hash\n"); in calc_ntlmv2_hash()
142 ksmbd_debug(AUTH, "Could not set NT Hash as a key\n"); in calc_ntlmv2_hash()
148 ksmbd_debug(AUTH, "could not init hmacmd5\n"); in calc_ntlmv2_hash()
172 ksmbd_debug(AUTH, "Could not update with user\n"); in calc_ntlmv2_hash()
195 ksmbd_debug(AUTH, "Could not update with domain\n"); in calc_ntlmv2_hash()
201 ksmbd_debug(AUTH, "Could not generate md5 hash\n"); in calc_ntlmv2_hash()
232 ksmbd_debug(AUTH, "could not get v2 hash rc %d\n", rc); in ksmbd_auth_ntlmv2()
238 ksmbd_debug(AUTH, "could not crypto alloc hmacmd5\n"); in ksmbd_auth_ntlmv2()
246 ksmbd_debug(AUTH, "Could not set NTLMV2 Hash as a key\n"); in ksmbd_auth_ntlmv2()
252 ksmbd_debug(AUTH, "Could not init hmacmd5\n"); in ksmbd_auth_ntlmv2()
268 ksmbd_debug(AUTH, "Could not update with response\n"); in ksmbd_auth_ntlmv2()
274 ksmbd_debug(AUTH, "Could not generate md5 hash\n"); in ksmbd_auth_ntlmv2()
282 ksmbd_debug(AUTH, "Could not generate sess key\n"); in ksmbd_auth_ntlmv2()
315 ksmbd_debug(AUTH, "negotiate blob len %d too small\n", in ksmbd_decode_ntlmssp_auth_blob()
321 ksmbd_debug(AUTH, "blob signature incorrect %s\n", in ksmbd_decode_ntlmssp_auth_blob()
342 ksmbd_debug(AUTH, "decode_ntlmssp_authenticate_blob dname%s\n", in ksmbd_decode_ntlmssp_auth_blob()
390 ksmbd_debug(AUTH, "negotiate blob len %d too small\n", in ksmbd_decode_ntlmssp_neg_blob()
396 ksmbd_debug(AUTH, "blob signature incorrect %s\n", in ksmbd_decode_ntlmssp_neg_blob()
506 ksmbd_debug(AUTH, "NTLMSSP SecurityBufferLength %d\n", blob_len); in ksmbd_build_ntlmssp_challenge_blob()
521 ksmbd_debug(AUTH, "SPNEGO_AUTHEN_REQUEST failure\n"); in ksmbd_krb5_authenticate()
526 ksmbd_debug(AUTH, "krb5 authentication failure\n"); in ksmbd_krb5_authenticate()
532 ksmbd_debug(AUTH, "buf len %d, but blob len %d\n", in ksmbd_krb5_authenticate()
539 ksmbd_debug(AUTH, "session key is too long\n"); in ksmbd_krb5_authenticate()
549 ksmbd_debug(AUTH, "login failure\n"); in ksmbd_krb5_authenticate()
589 ksmbd_debug(AUTH, "could not crypto alloc hmacmd5\n"); in ksmbd_sign_smb2_pdu()
601 ksmbd_debug(AUTH, "hmacsha256 init error %d\n", rc); in ksmbd_sign_smb2_pdu()
610 ksmbd_debug(AUTH, "hmacsha256 update error %d\n", rc); in ksmbd_sign_smb2_pdu()
617 ksmbd_debug(AUTH, "hmacsha256 generation error %d\n", rc); in ksmbd_sign_smb2_pdu()
640 ksmbd_debug(AUTH, "could not crypto alloc cmac\n"); in ksmbd_sign_smb3_pdu()
652 ksmbd_debug(AUTH, "cmaces init error %d\n", rc); in ksmbd_sign_smb3_pdu()
661 ksmbd_debug(AUTH, "cmaces update error %d\n", rc); in ksmbd_sign_smb3_pdu()
668 ksmbd_debug(AUTH, "cmaces generation error %d\n", rc); in ksmbd_sign_smb3_pdu()
698 ksmbd_debug(AUTH, "could not crypto alloc hmacmd5\n"); in generate_key()
710 ksmbd_debug(AUTH, "hmacsha256 init error %d\n", rc); in generate_key()
716 ksmbd_debug(AUTH, "could not update with n\n"); in generate_key()
724 ksmbd_debug(AUTH, "could not update with label\n"); in generate_key()
730 ksmbd_debug(AUTH, "could not update with zero\n"); in generate_key()
738 ksmbd_debug(AUTH, "could not update with context\n"); in generate_key()
749 ksmbd_debug(AUTH, "could not update with L\n"); in generate_key()
755 ksmbd_debug(AUTH, "Could not generate hmacmd5 hash error %d\n", in generate_key()
792 ksmbd_debug(AUTH, "dumping generated AES signing keys\n"); in generate_smb3signingkey()
793 ksmbd_debug(AUTH, "Session Id %llu\n", sess->id); in generate_smb3signingkey()
794 ksmbd_debug(AUTH, "Session Key %*ph\n", in generate_smb3signingkey()
796 ksmbd_debug(AUTH, "Signing Key %*ph\n", in generate_smb3signingkey()
861 ksmbd_debug(AUTH, "dumping generated AES encryption keys\n"); in generate_smb3encryptionkey()
862 ksmbd_debug(AUTH, "Cipher type %d\n", conn->cipher_type); in generate_smb3encryptionkey()
863 ksmbd_debug(AUTH, "Session Id %llu\n", sess->id); in generate_smb3encryptionkey()
864 ksmbd_debug(AUTH, "Session Key %*ph\n", in generate_smb3encryptionkey()
868 ksmbd_debug(AUTH, "ServerIn Key %*ph\n", in generate_smb3encryptionkey()
870 ksmbd_debug(AUTH, "ServerOut Key %*ph\n", in generate_smb3encryptionkey()
873 ksmbd_debug(AUTH, "ServerIn Key %*ph\n", in generate_smb3encryptionkey()
875 ksmbd_debug(AUTH, "ServerOut Key %*ph\n", in generate_smb3encryptionkey()
938 ksmbd_debug(AUTH, "could not alloc sha512\n"); in ksmbd_gen_preauth_integrity_hash()
944 ksmbd_debug(AUTH, "could not init shashn"); in ksmbd_gen_preauth_integrity_hash()
950 ksmbd_debug(AUTH, "could not update with n\n"); in ksmbd_gen_preauth_integrity_hash()
956 ksmbd_debug(AUTH, "could not update with n\n"); in ksmbd_gen_preauth_integrity_hash()
962 ksmbd_debug(AUTH, "Could not generate hash err : %d\n", rc); in ksmbd_gen_preauth_integrity_hash()
978 ksmbd_debug(AUTH, "could not alloc sha256\n"); in ksmbd_gen_sd_hash()
984 ksmbd_debug(AUTH, "could not init shashn"); in ksmbd_gen_sd_hash()
990 ksmbd_debug(AUTH, "could not update with n\n"); in ksmbd_gen_sd_hash()
996 ksmbd_debug(AUTH, "Could not generate hash err : %d\n", rc); in ksmbd_gen_sd_hash()