type=SYSCALL msg=audit(1283346629.795:12190): arch=c000003e syscall=2 success=yes exit=3 a0=400b57 a1=2 a2=0 a3=7fffe965cd20 items=1 ppid=1269 pid=1338 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="ncr-setkey" exe="/home/mitr/cryptodev-linux/userspace/ncr-setkey" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=CRYPTO_USERSPACE_OP msg=audit(1283346629.795:12190): crypto_op=context_new ctx=0 type=CWD msg=audit(1283346629.795:12190): cwd="/root" type=PATH msg=audit(1283346629.795:12190): item=0 name="/dev/crypto" inode=10233 dev=00:05 mode=020660 ouid=0 ogid=0 rdev=0a:3a obj=system_u:object_r:device_t:s0 type=CRYPTO_STORAGE_KEY msg=audit(1283346629.801:12191): key_size=16 type=SYSCALL msg=audit(1283346629.801:12191): arch=c000003e syscall=16 success=yes exit=128 a0=3 a1=c01863ca a2=7fffe965d050 a3=7fffe965cd20 items=0 ppid=1269 pid=1338 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="ncr-setkey" exe="/home/mitr/cryptodev-linux/userspace/ncr-setkey" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=SYSCALL msg=audit(1283346632.358:12194): arch=c000003e syscall=16 success=yes exit=0 a0=3 a1=c02063c6 a2=7fffdbccc770 a3=7fffdbccb470 items=0 ppid=1269 pid=1339 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="ncr" exe="/home/mitr/cryptodev-linux/examples/ncr" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=CRYPTO_USERSPACE_OP msg=audit(1283346632.358:12194): crypto_op=key_zeroize ctx=0 algo=unknown key1=0 type=CRYPTO_USERSPACE_OP msg=audit(1283346632.358:12194): crypto_op=key_import ctx=0 algo=cbc(aes) key1=0 key1_id="ab" type=SYSCALL msg=audit(1283346632.360:12195): arch=c000003e syscall=16 success=yes exit=16 a0=3 a1=c02063c5 a2=7fffdbccc7f0 a3=7fffdbccb470 items=0 ppid=1269 pid=1339 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="ncr" exe="/home/mitr/cryptodev-linux/examples/ncr" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=CRYPTO_USERSPACE_OP msg=audit(1283346632.360:12195): crypto_op=key_export ctx=0 algo=cbc(aes) key1=0 key1_id="ab" type=SYSCALL msg=audit(1283346632.361:12196): arch=c000003e syscall=16 success=yes exit=0 a0=3 a1=400463c7 a2=7fffdbccc83c a3=7fffdbccb470 items=0 ppid=1269 pid=1339 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="ncr" exe="/home/mitr/cryptodev-linux/examples/ncr" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=CRYPTO_USERSPACE_OP msg=audit(1283346632.361:12196): crypto_op=key_zeroize ctx=0 algo=cbc(aes) key1=0 key1_id="ab" auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="ncr" exe="/home/mitr/cryptodev-linux/examples/ncr" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=CRYPTO_USERSPACE_OP msg=audit(1283346632.363:12199): crypto_op=key_get_info ctx=0 algo=cbc(aes) key1=0 key1_id=24C7891E08 type=SYSCALL msg=audit(1283346632.364:12201): arch=c000003e syscall=16 success=yes exit=0 a0=3 a1=c00c63c1 a2=7fffdbccc7c0 a3=6c626174726f7078 items=0 ppid=1269 pid=1339 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="ncr" exe="/home/mitr/cryptodev-linux/examples/ncr" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=CRYPTO_USERSPACE_OP msg=audit(1283346632.364:12201): crypto_op=key_zeroize ctx=0 algo=unknown key1=0 type=CRYPTO_USERSPACE_OP msg=audit(1283346632.364:12201): crypto_op=key_gen ctx=0 algo=cbc(aes) key1=0 key1_id=7576127E2F type=SYSCALL msg=audit(1283346632.367:12205): arch=c000003e syscall=16 success=yes exit=0 a0=3 a1=c00c63d3 a2=7fffdbccc8a0 a3=6c626174726f7078 items=0 ppid=1269 pid=1339 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="ncr" exe="/home/mitr/cryptodev-linux/examples/ncr" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=CRYPTO_USERSPACE_OP msg=audit(1283346632.367:12205): crypto_op=session_init ctx=0 operation=encrypt algo=ecb(aes) key1=0 key1_id="ab" type=CRYPTO_USERSPACE_OP msg=audit(1283346632.367:12205): crypto_op=session_op ctx=0 operation=encrypt algo=ecb(aes) type=CRYPTO_USERSPACE_OP msg=audit(1283346632.367:12205): crypto_op=session_final ctx=0 operation=encrypt algo=ecb(aes) type=SYSCALL msg=audit(1283346632.788:12240): arch=c000003e syscall=16 success=yes exit=0 a0=3 a1=c00c63d0 a2=7fffdbccc6a0 a3=fffffff7 items=0 ppid=1269 pid=1339 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="ncr" exe="/home/mitr/cryptodev-linux/examples/ncr" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=CRYPTO_USERSPACE_OP msg=audit(1283346632.788:12240): crypto_op=session_init ctx=0 session=0 operation=sign algo=hmac(md5) key1=2 key1_id="ab" type=SYSCALL msg=audit(1283346632.789:12241): arch=c000003e syscall=16 success=yes exit=0 a0=3 a1=c00c63d1 a2=7fffdbccc810 a3=fffffff7 items=0 ppid=1269 pid=1339 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="ncr" exe="/home/mitr/cryptodev-linux/examples/ncr" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=CRYPTO_USERSPACE_OP msg=audit(1283346632.789:12241): crypto_op=session_op ctx=0 session=0 operation=sign algo=hmac(md5) type=SYSCALL msg=audit(1283346632.789:12243): arch=c000003e syscall=16 success=yes exit=0 a0=3 a1=c00c63d2 a2=7fffdbccc7d0 a3=fffffff7 items=0 ppid=1269 pid=1339 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="ncr" exe="/home/mitr/cryptodev-linux/examples/ncr" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=CRYPTO_USERSPACE_OP msg=audit(1283346632.789:12243): crypto_op=session_op ctx=0 session=0 operation=sign algo=hmac(md5) type=CRYPTO_USERSPACE_OP msg=audit(1283346632.789:12243): crypto_op=session_final ctx=0 session=0 operation=sign algo=hmac(md5) type=SYSCALL msg=audit(1283346632.906:12282): arch=c000003e syscall=3 success=yes exit=0 a0=3 a1=7fffdbccb7b0 a2=7fffdbccc800 a3=7fffdbccc600 items=0 ppid=1269 pid=1339 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="ncr" exe="/home/mitr/cryptodev-linux/examples/ncr" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=CRYPTO_USERSPACE_OP msg=audit(1283346632.906:12282): crypto_op=context_del ctx=0 type=CRYPTO_USERSPACE_OP msg=audit(1283346632.906:12282): crypto_op=key_zeroize ctx=0 algo=cbc(aes) key1=0 key1_id="ab" type=CRYPTO_USERSPACE_OP msg=audit(1283346632.906:12282): crypto_op=key_zeroize ctx=0 algo=hmac(sha512) key1=1 key1_id="ab" type=CRYPTO_USERSPACE_OP msg=audit(1283346632.906:12282): crypto_op=key_zeroize ctx=0 algo=hmac(sha512) key1=2 key1_id="ab" type=CRYPTO_USERSPACE_OP msg=audit(1283346632.906:12282): crypto_op=key_zeroize ctx=0 algo=sha1 key1=3 key1_id="ab" type=CRYPTO_USERSPACE_OP msg=audit(1283346632.906:12282): crypto_op=key_zeroize ctx=0 algo=cbc(aes) key1=4 key1_id="ab" type=CRYPTO_USERSPACE_OP msg=audit(1283346632.906:12282): crypto_op=key_zeroize ctx=0 algo=unknown key1=5 type=CRYPTO_USERSPACE_OP msg=audit(1283346632.906:12282): crypto_op=key_zeroize ctx=0 algo=cbc(aes) key1=6 key1_id="ab" type=CRYPTO_USERSPACE_OP msg=audit(1283346632.906:12282): crypto_op=key_zeroize ctx=0 algo=cbc(aes) key1=7 key1_id="ba" type=CRYPTO_USERSPACE_OP msg=audit(1283346632.906:12282): crypto_op=key_zeroize ctx=0 algo=cbc(aes) key1=8 key1_id="ba" type=SYSCALL msg=audit(1283346634.776:12284): arch=c000003e syscall=16 success=yes exit=0 a0=4 a1=c01063c2 a2=7fffd049ffd0 a3=e30453144833da9a items=0 ppid=1269 pid=1391 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="pk" exe="/home/mitr/cryptodev-linux/examples/pk" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=CRYPTO_USERSPACE_OP msg=audit(1283346634.776:12284): crypto_op=key_zeroize ctx=0 algo=unknown key1=1 type=CRYPTO_USERSPACE_OP msg=audit(1283346634.776:12284): crypto_op=key_zeroize ctx=0 algo=unknown key1=0 type=CRYPTO_USERSPACE_OP msg=audit(1283346634.776:12284): crypto_op=key_gen ctx=0 algo=dh key1=0 key1_id=A6684BA1930FC2E3C01130B1B57B4AE3F2E6BF24 key2=1 key2_id=A6684BA1930FC2E3C01130B1B57B4AE3F2E6BF24 type=CRYPTO_KEY_VALUE msg=audit(1283346634.776:12284): key_value_y=5F63A9814BA2F475B4689D18A434267F9237FEA120CD93BAE457A5FBE2CAEE4F19931C0C5FC954976A819AAA7AEED6969B6D8670B283722183FA8DE7A03BD4B21CD2349CF76E0ADF3E0EFD0C9459FBC0F98DE57ED700D22741D86AB862F582AED2EAC18682A3AA8B56FA5910915C65725CEF2A88624FE464887A4474E1D144D5 # The CRYPTO_KEY_VALUE record is really painful type=SYSCALL msg=audit(1283346655.629:12322): arch=c000003e syscall=16 success=yes exit=0 a0=4 a1=c02063c9 a2=7fffd04a1790 a3=7fffd04a04a0 items=0 ppid=1269 pid=1391 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=1 comm="pk" exe="/home/mitr/cryptodev-linux/examples/pk" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) type=CRYPTO_USERSPACE_OP msg=audit(1283346655.629:12322): crypto_op=key_zeroize ctx=0 algo=rsa key1=10 key1_id=54C47EB2B69755DBFA4B3EE1B6477BD316C1B9FE type=CRYPTO_KEY_VALUE msg=audit(1283346655.629:12322): key_value_n=A4CDA49AE5E13334D306DAE4A9F07BB5CFDF8E5FDB4F5F49BD0FA04A78999AC9073CC8FFFAE4E9465F5F0615960B1E5DD7009D008749E884C9700011F0D3B51FA72D2B330A843822E3060299C63762575062BEE4B8574E999C1B341924F269003AA652587359A9A9C9D243D8C3862B864537A5FB54085891A6D76C17CF9AC192DC6D67EAB6B097BEB5C9C4F70F0E85273D81D611A0FA8F647CB5D1E9A6A2043C519E1E2C19C93F695490122A9E09FA3AC00B903C1F6FE524E6CF8065E96E2CF416088288EA15DEE093998AA39F17A50FCF2C5244D5BE53A9227C88CA8964223BF808325D76D9CF361ED7B9A82C04A282BA87E7346316B2DA2A756D5CDF1B6687A0AF414E3D27BC12E426778F05F26A46A9BE68F3AA5A8B7F6ADD8DAEA142426A0DD44084D26E2FD933B39C365EC1C1E6C9561F3AADB935F12FDBA223A2FA3A48D51EF643B3656ADCFD45658FE920437368C4BDEEFEEB1E9BF6BE4F07C5BD0847C9D93518D193757F611E9B2AD31A9EBC9F73BC10E83E4EEB850B29858EC61707520C89B1F8D0050DBAEFB2E42418BB2409B79D4A39E7 key_value_e=010001