Lines Matching refs:derr
86 derr(1, "failed to get user pages for data input"); in get_userbuf_tls()
113 derr(1, "dst and auth_src cannot be both null"); in get_userbuf_srtp()
145 derr(1, "cannot adjust sg array"); in get_userbuf_srtp()
152 derr(1, "failed to get user pages for data input"); in get_userbuf_srtp()
167 derr(1, "failed to get enough pages for auth data"); in get_userbuf_srtp()
222 derr(1, "invalid session ID=0x%08X", caop->ses); in fill_kcaop_from_caop()
228 derr(1, "Non-inplace encryption and decryption is not efficient and not implemented"); in fill_kcaop_from_caop()
245 derr(1, "error copying IV (%d bytes), copy_from_user returned %d for address %p", in fill_kcaop_from_caop()
270 derr(1, "Error in copying to userspace"); in fill_caop_from_kcaop()
282 derr(1, "Error in copying from userspace"); in cryptodev_kcaop_from_user()
296 derr(1, "fill_caop_from_kcaop"); in cryptodev_kcaop_to_user()
301 derr(1, "Error in copying to userspace"); in cryptodev_kcaop_to_user()
354 derr(1, "Error in copying from userspace"); in compat_kcaop_from_user()
371 derr(1, "fill_caop_from_kcaop"); in compat_kcaop_to_user()
378 derr(1, "Error in copying to userspace"); in compat_kcaop_to_user()
418 derr(1, "Pad size: %d", pad_size); in verify_tls_record_pad()
426 derr(1, "Pad size: %u, pad: %d", pad_size, pad[i]); in verify_tls_record_pad()
454 derr(0, "cryptodev_hash_update: %d", ret); in tls_auth_n_crypt()
463 derr(0, "cryptodev_hash_update: %d", ret); in tls_auth_n_crypt()
470 derr(0, "cryptodev_hash_final: %d", ret); in tls_auth_n_crypt()
487 derr(0, "cryptodev_cipher_encrypt: %d", ret); in tls_auth_n_crypt()
497 derr(0, "cryptodev_cipher_decrypt: %d", ret); in tls_auth_n_crypt()
504 derr(2, "verify_record_pad: %d", ret); in tls_auth_n_crypt()
514 derr(1, "Illegal tag len size"); in tls_auth_n_crypt()
525 derr(0, "cryptodev_hash_update: %d", ret); in tls_auth_n_crypt()
534 derr(0, "cryptodev_hash_update: %d", ret); in tls_auth_n_crypt()
541 derr(0, "cryptodev_hash_final: %d", ret); in tls_auth_n_crypt()
546 derr(2, "MAC verification failed (tag_len: %d)", caop->tag_len); in tls_auth_n_crypt()
575 derr(0, "cryptodev_cipher_encrypt: %d", ret); in srtp_auth_n_crypt()
585 derr(0, "cryptodev_hash_update: %d", ret); in srtp_auth_n_crypt()
592 derr(0, "cryptodev_hash_final: %d", ret); in srtp_auth_n_crypt()
603 derr(1, "Illegal tag len size"); in srtp_auth_n_crypt()
613 derr(0, "cryptodev_hash_update: %d", ret); in srtp_auth_n_crypt()
619 derr(0, "cryptodev_hash_final: %d", ret); in srtp_auth_n_crypt()
624 derr(2, "MAC verification failed"); in srtp_auth_n_crypt()
634 derr(0, "cryptodev_cipher_decrypt: %d", ret); in srtp_auth_n_crypt()
655 derr(0, "Illegal tag length: %d", caop->tag_len); in rk_auth_n_crypt()
669 derr(0, "cryptodev_cipher_encrypt: %d", ret); in rk_auth_n_crypt()
675 derr(0, "cryptodev_cipher_decrypt: %d", ret); in rk_auth_n_crypt()
698 derr(0, "Illegal tag length: %d", caop->tag_len); in auth_n_crypt()
713 derr(0, "cryptodev_cipher_encrypt: %d", ret); in auth_n_crypt()
723 derr(0, "cryptodev_cipher_decrypt: %d", ret); in auth_n_crypt()
741 derr(0, "Only stream modes are allowed in SRTP mode (but not AEAD)"); in crypto_auth_zc_srtp()
747 derr(1, "get_userbuf_srtp(): Error getting user pages."); in crypto_auth_zc_srtp()
768 derr(1, "auth data len is excessive."); in crypto_auth_zc_tls()
774 derr(1, "unable to get a free page."); in crypto_auth_zc_tls()
780 derr(1, "unable to copy auth data from userspace."); in crypto_auth_zc_tls()
793 derr(1, "get_userbuf_tls(): Error getting user pages."); in crypto_auth_zc_tls()
824 derr(0, "Only stream and AEAD ciphers are allowed for authenc"); in crypto_auth_zc_aead()
829 derr(1, "auth data len is excessive."); in crypto_auth_zc_aead()
835 derr(1, "unable to get a free page."); in crypto_auth_zc_aead()
842 derr(1, "get_userbuf(): Error getting user pages."); in crypto_auth_zc_aead()
849 derr(1, "unable to copy auth data from userspace."); in crypto_auth_zc_aead()
865 derr(1, "unable to copy auth data from userspace."); in crypto_auth_zc_aead()
931 derr(0, "Only stream and AEAD ciphers are allowed for authenc"); in crypto_auth_zc_rk()
936 derr(1, "auth data len is excessive."); in crypto_auth_zc_rk()
944 derr(1, "get_userbuf(): Error getting user pages."); in crypto_auth_zc_rk()
956 derr(1, "unable to kcalloc %d.", caop->tag_len); in crypto_auth_zc_rk()
962 derr(1, "unable to copy tag data from userspace."); in crypto_auth_zc_rk()
982 derr(1, "unable to get a free page."); in crypto_auth_zc_rk()
989 derr(1, "unable to copy auth data from userspace."); in crypto_auth_zc_rk()
1014 derr(1, "Error in copying to userspace"); in crypto_auth_zc_rk()
1070 derr(1, "invalid session ID=0x%08X", caop->ses); in crypto_auth_run()
1075 derr(1, "cipher context not initialized"); in crypto_auth_run()
1084 derr(1, "error in cryptodev_hash_reset()"); in crypto_auth_run()
1094 derr(1, "error in __crypto_auth_run_zc()"); in crypto_auth_run()