head 1.30; access; symbols netbsd-11-0-RC4:1.30 netbsd-11-0-RC3:1.30 netbsd-11-0-RC2:1.30 netbsd-11-0-RC1:1.30 perseant-exfatfs-base-20250801:1.30 netbsd-11:1.30.0.28 netbsd-11-base:1.30 netbsd-10-1-RELEASE:1.30 perseant-exfatfs-base-20240630:1.30 perseant-exfatfs:1.30.0.26 perseant-exfatfs-base:1.30 netbsd-8-3-RELEASE:1.26 netbsd-9-4-RELEASE:1.27 netbsd-10-0-RELEASE:1.30 netbsd-10-0-RC6:1.30 netbsd-10-0-RC5:1.30 netbsd-10-0-RC4:1.30 netbsd-10-0-RC3:1.30 netbsd-10-0-RC2:1.30 thorpej-ifq:1.30.0.24 thorpej-ifq-base:1.30 thorpej-altq-separation:1.30.0.22 thorpej-altq-separation-base:1.30 netbsd-10-0-RC1:1.30 netbsd-10:1.30.0.20 netbsd-10-base:1.30 bouyer-sunxi-drm:1.30.0.18 bouyer-sunxi-drm-base:1.30 netbsd-9-3-RELEASE:1.27 thorpej-i2c-spi-conf2:1.30.0.16 thorpej-i2c-spi-conf2-base:1.30 thorpej-futex2:1.30.0.14 thorpej-futex2-base:1.30 thorpej-cfargs2:1.30.0.12 thorpej-cfargs2-base:1.30 cjep_sun2x-base1:1.30 cjep_sun2x:1.30.0.10 cjep_sun2x-base:1.30 cjep_staticlib_x-base1:1.30 netbsd-9-2-RELEASE:1.27 cjep_staticlib_x:1.30.0.8 cjep_staticlib_x-base:1.30 thorpej-i2c-spi-conf:1.30.0.6 thorpej-i2c-spi-conf-base:1.30 thorpej-cfargs:1.30.0.4 thorpej-cfargs-base:1.30 thorpej-futex:1.30.0.2 thorpej-futex-base:1.30 netbsd-9-1-RELEASE:1.27 bouyer-xenpvh-base2:1.29 phil-wifi-20200421:1.28 bouyer-xenpvh-base1:1.28 phil-wifi-20200411:1.28 bouyer-xenpvh:1.28.0.4 bouyer-xenpvh-base:1.28 is-mlppp:1.28.0.2 is-mlppp-base:1.28 phil-wifi-20200406:1.28 netbsd-8-2-RELEASE:1.26 ad-namecache-base3:1.28 netbsd-9-0-RELEASE:1.27 netbsd-9-0-RC2:1.27 ad-namecache-base2:1.27 ad-namecache-base1:1.27 ad-namecache:1.27.0.6 ad-namecache-base:1.27 netbsd-9-0-RC1:1.27 phil-wifi-20191119:1.27 netbsd-9:1.27.0.4 netbsd-9-base:1.27 phil-wifi-20190609:1.27 netbsd-8-1-RELEASE:1.26 netbsd-8-1-RC1:1.26 isaki-audio2:1.27.0.2 isaki-audio2-base:1.27 pgoyette-compat-merge-20190127:1.26.8.2 pgoyette-compat-20190127:1.26 pgoyette-compat-20190118:1.26 pgoyette-compat-1226:1.26 pgoyette-compat-1126:1.26 pgoyette-compat-1020:1.26 pgoyette-compat-0930:1.26 pgoyette-compat-0906:1.26 netbsd-7-2-RELEASE:1.25 pgoyette-compat-0728:1.26 netbsd-8-0-RELEASE:1.26 phil-wifi:1.26.0.10 phil-wifi-base:1.26 pgoyette-compat-0625:1.26 netbsd-8-0-RC2:1.26 pgoyette-compat-0521:1.26 pgoyette-compat-0502:1.26 pgoyette-compat-0422:1.26 netbsd-8-0-RC1:1.26 pgoyette-compat-0415:1.26 pgoyette-compat-0407:1.26 pgoyette-compat-0330:1.26 pgoyette-compat-0322:1.26 pgoyette-compat-0315:1.26 netbsd-7-1-2-RELEASE:1.25 pgoyette-compat:1.26.0.8 pgoyette-compat-base:1.26 netbsd-7-1-1-RELEASE:1.25 tls-maxphys-base-20171202:1.26 matt-nb8-mediatek:1.26.0.6 matt-nb8-mediatek-base:1.26 nick-nhusb-base-20170825:1.26 perseant-stdc-iso10646:1.26.0.4 perseant-stdc-iso10646-base:1.26 netbsd-8:1.26.0.2 netbsd-8-base:1.26 prg-localcount2-base3:1.25 prg-localcount2-base2:1.25 prg-localcount2-base1:1.25 prg-localcount2:1.25.0.40 prg-localcount2-base:1.25 pgoyette-localcount-20170426:1.25 bouyer-socketcan-base1:1.25 jdolecek-ncq:1.25.0.38 jdolecek-ncq-base:1.25 pgoyette-localcount-20170320:1.25 netbsd-7-1:1.25.0.36 netbsd-7-1-RELEASE:1.25 netbsd-7-1-RC2:1.25 nick-nhusb-base-20170204:1.25 netbsd-7-nhusb-base-20170116:1.25 bouyer-socketcan:1.25.0.34 bouyer-socketcan-base:1.25 pgoyette-localcount-20170107:1.25 netbsd-7-1-RC1:1.25 nick-nhusb-base-20161204:1.25 pgoyette-localcount-20161104:1.25 netbsd-7-0-2-RELEASE:1.25 nick-nhusb-base-20161004:1.25 localcount-20160914:1.25 netbsd-7-nhusb:1.25.0.32 netbsd-7-nhusb-base:1.25 pgoyette-localcount-20160806:1.25 pgoyette-localcount-20160726:1.25 pgoyette-localcount:1.25.0.30 pgoyette-localcount-base:1.25 nick-nhusb-base-20160907:1.25 nick-nhusb-base-20160529:1.25 netbsd-7-0-1-RELEASE:1.25 nick-nhusb-base-20160422:1.25 nick-nhusb-base-20160319:1.25 nick-nhusb-base-20151226:1.25 netbsd-7-0:1.25.0.28 netbsd-7-0-RELEASE:1.25 nick-nhusb-base-20150921:1.25 netbsd-7-0-RC3:1.25 netbsd-7-0-RC2:1.25 netbsd-7-0-RC1:1.25 nick-nhusb-base-20150606:1.25 nick-nhusb-base-20150406:1.25 nick-nhusb:1.25.0.26 nick-nhusb-base:1.25 netbsd-5-2-3-RELEASE:1.19.20.1 netbsd-5-1-5-RELEASE:1.19.20.1 netbsd-6-0-6-RELEASE:1.25 netbsd-6-1-5-RELEASE:1.25 netbsd-7:1.25.0.24 netbsd-7-base:1.25 yamt-pagecache-base9:1.25 yamt-pagecache-tag8:1.24.4.1 netbsd-6-1-4-RELEASE:1.25 netbsd-6-0-5-RELEASE:1.25 tls-earlyentropy:1.25.0.22 tls-earlyentropy-base:1.25 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.25 riastradh-drm2-base3:1.25 netbsd-6-1-3-RELEASE:1.25 netbsd-6-0-4-RELEASE:1.25 netbsd-5-2-2-RELEASE:1.19.20.1 netbsd-5-1-4-RELEASE:1.19.20.1 netbsd-6-1-2-RELEASE:1.25 netbsd-6-0-3-RELEASE:1.25 netbsd-5-2-1-RELEASE:1.19.20.1 netbsd-5-1-3-RELEASE:1.19.20.1 rmind-smpnet-nbase:1.25 netbsd-6-1-1-RELEASE:1.25 riastradh-drm2-base2:1.25 riastradh-drm2-base1:1.25 riastradh-drm2:1.25.0.20 riastradh-drm2-base:1.25 rmind-smpnet:1.25.0.12 rmind-smpnet-base:1.25 netbsd-6-1:1.25.0.18 netbsd-6-0-2-RELEASE:1.25 netbsd-6-1-RELEASE:1.25 khorben-n900:1.25.0.16 netbsd-6-1-RC4:1.25 netbsd-6-1-RC3:1.25 agc-symver:1.25.0.14 agc-symver-base:1.25 netbsd-6-1-RC2:1.25 netbsd-6-1-RC1:1.25 yamt-pagecache-base8:1.25 netbsd-5-2:1.19.20.1.0.6 netbsd-6-0-1-RELEASE:1.25 yamt-pagecache-base7:1.25 netbsd-5-2-RELEASE:1.19.20.1 netbsd-5-2-RC1:1.19.20.1 matt-nb6-plus-nbase:1.25 yamt-pagecache-base6:1.25 netbsd-6-0:1.25.0.10 netbsd-6-0-RELEASE:1.25 netbsd-6-0-RC2:1.25 tls-maxphys:1.25.0.8 tls-maxphys-base:1.25 matt-nb6-plus:1.25.0.6 matt-nb6-plus-base:1.25 netbsd-6-0-RC1:1.25 jmcneill-usbmp-base10:1.25 yamt-pagecache-base5:1.25 jmcneill-usbmp-base9:1.25 yamt-pagecache-base4:1.25 jmcneill-usbmp-base8:1.25 jmcneill-usbmp-base7:1.25 jmcneill-usbmp-base6:1.25 jmcneill-usbmp-base5:1.25 jmcneill-usbmp-base4:1.25 jmcneill-usbmp-base3:1.25 jmcneill-usbmp-pre-base2:1.25 jmcneill-usbmp-base2:1.25 netbsd-6:1.25.0.4 netbsd-6-base:1.25 netbsd-5-1-2-RELEASE:1.19.20.1 netbsd-5-1-1-RELEASE:1.19.20.1 jmcneill-usbmp:1.25.0.2 jmcneill-usbmp-base:1.25 jmcneill-audiomp3:1.24.0.6 jmcneill-audiomp3-base:1.24 yamt-pagecache-base3:1.24 yamt-pagecache-base2:1.24 yamt-pagecache:1.24.0.4 yamt-pagecache-base:1.24 rmind-uvmplock-nbase:1.24 cherry-xenmp:1.24.0.2 cherry-xenmp-base:1.24 bouyer-quota2-nbase:1.21 bouyer-quota2:1.20.0.8 bouyer-quota2-base:1.20 jruoho-x86intr:1.20.0.6 jruoho-x86intr-base:1.20 matt-mips64-premerge-20101231:1.20 matt-nb5-mips64-premerge-20101231:1.19 matt-nb5-pq3:1.19.20.1.0.4 matt-nb5-pq3-base:1.19.20.1 netbsd-5-1:1.19.20.1.0.2 netbsd-5-1-RELEASE:1.19.20.1 uebayasi-xip-base4:1.20 uebayasi-xip-base3:1.20 yamt-nfs-mp-base11:1.20 netbsd-5-1-RC4:1.19.20.1 matt-nb5-mips64-k15:1.19 uebayasi-xip-base2:1.20 yamt-nfs-mp-base10:1.20 netbsd-5-1-RC3:1.19.20.1 netbsd-5-1-RC2:1.19.20.1 uebayasi-xip-base1:1.20 netbsd-5-1-RC1:1.19.20.1 rmind-uvmplock:1.20.0.4 rmind-uvmplock-base:1.24 yamt-nfs-mp-base9:1.20 uebayasi-xip:1.20.0.2 uebayasi-xip-base:1.20 netbsd-5-0-2-RELEASE:1.19 matt-nb5-mips64-premerge-20091211:1.19 matt-premerge-20091211:1.20 yamt-nfs-mp-base8:1.20 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.19 matt-nb4-mips64-k7-u2a-k9b:1.19 matt-nb5-mips64-u1-k1-k5:1.19 yamt-nfs-mp-base7:1.20 matt-nb5-mips64:1.19.0.28 netbsd-5-0-1-RELEASE:1.19 jymxensuspend-base:1.20 yamt-nfs-mp-base6:1.20 yamt-nfs-mp-base5:1.20 yamt-nfs-mp-base4:1.20 jym-xensuspend-nbase:1.20 yamt-nfs-mp-base3:1.20 nick-hppapmap-base4:1.20 nick-hppapmap-base3:1.20 netbsd-5-0:1.19.0.26 netbsd-5-0-RELEASE:1.19 netbsd-5-0-RC4:1.19 netbsd-5-0-RC3:1.19 nick-hppapmap-base2:1.19 netbsd-5-0-RC2:1.19 jym-xensuspend:1.19.0.24 jym-xensuspend-base:1.20 netbsd-5-0-RC1:1.19 haad-dm-base2:1.19 haad-nbase2:1.19 ad-audiomp2:1.19.0.22 ad-audiomp2-base:1.19 netbsd-5:1.19.0.20 netbsd-5-base:1.19 nick-hppapmap:1.19.0.18 nick-hppapmap-base:1.20 matt-mips64-base2:1.19 matt-mips64:1.18.0.44 haad-dm-base1:1.19 wrstuden-revivesa-base-4:1.19 netbsd-4-0-1-RELEASE:1.18 wrstuden-revivesa-base-3:1.19 wrstuden-revivesa-base-2:1.19 wrstuden-fixsa-newbase:1.18 nick-csl-alignment-base5:1.18 haad-dm:1.19.0.16 haad-dm-base:1.19 wrstuden-revivesa-base-1:1.19 simonb-wapbl-nbase:1.19 yamt-pf42-base4:1.19 simonb-wapbl:1.19.0.14 simonb-wapbl-base:1.19 yamt-pf42-base3:1.19 hpcarm-cleanup-nbase:1.19 yamt-pf42-baseX:1.19 yamt-pf42-base2:1.19 yamt-nfs-mp-base2:1.19 wrstuden-revivesa:1.19.0.12 wrstuden-revivesa-base:1.19 yamt-nfs-mp:1.19.0.10 yamt-nfs-mp-base:1.19 yamt-pf42:1.19.0.8 yamt-pf42-base:1.19 ad-socklock-base1:1.19 yamt-lazymbuf-base15:1.19 yamt-lazymbuf-base14:1.19 keiichi-mipv6-nbase:1.19 mjf-devfs2:1.19.0.6 mjf-devfs2-base:1.19 nick-net80211-sync:1.19.0.4 nick-net80211-sync-base:1.19 keiichi-mipv6:1.19.0.2 keiichi-mipv6-base:1.19 bouyer-xeni386-merge1:1.18 matt-armv6-prevmlocking:1.18 wrstuden-fixsa-base-1:1.18 vmlocking2-base3:1.18 netbsd-4-0:1.18.0.42 netbsd-4-0-RELEASE:1.18 bouyer-xeni386-nbase:1.18 yamt-kmem-base3:1.18 cube-autoconf:1.18.0.40 cube-autoconf-base:1.18 yamt-kmem-base2:1.18 bouyer-xeni386:1.18.0.38 bouyer-xeni386-base:1.18 yamt-kmem:1.18.0.36 yamt-kmem-base:1.18 vmlocking2-base2:1.18 reinoud-bufcleanup-nbase:1.18 vmlocking2:1.18.0.34 vmlocking2-base1:1.18 netbsd-4-0-RC5:1.18 matt-nb4-arm:1.18.0.32 matt-nb4-arm-base:1.18 matt-armv6-nbase:1.19 jmcneill-base:1.18 netbsd-4-0-RC4:1.18 mjf-devfs:1.18.0.30 mjf-devfs-base:1.19 bouyer-xenamd64-base2:1.18 vmlocking-nbase:1.18 yamt-x86pmap-base4:1.18 bouyer-xenamd64:1.18.0.28 bouyer-xenamd64-base:1.18 netbsd-4-0-RC3:1.18 yamt-x86pmap-base3:1.18 yamt-x86pmap-base2:1.18 netbsd-4-0-RC2:1.18 yamt-x86pmap:1.18.0.26 yamt-x86pmap-base:1.18 netbsd-4-0-RC1:1.18 matt-armv6:1.18.0.24 matt-armv6-base:1.18 matt-mips64-base:1.18 jmcneill-pm:1.18.0.22 jmcneill-pm-base:1.18 hpcarm-cleanup:1.18.0.20 hpcarm-cleanup-base:1.19 nick-csl-alignment:1.18.0.18 nick-csl-alignment-base:1.18 netbsd-3-1-1-RELEASE:1.15 netbsd-3-0-3-RELEASE:1.15 yamt-idlelwp-base8:1.18 wrstuden-fixsa:1.18.0.16 wrstuden-fixsa-base:1.18 thorpej-atomic:1.18.0.14 thorpej-atomic-base:1.18 reinoud-bufcleanup:1.18.0.12 reinoud-bufcleanup-base:1.18 mjf-ufs-trans:1.18.0.10 mjf-ufs-trans-base:1.18 vmlocking:1.18.0.8 vmlocking-base:1.18 ad-audiomp:1.18.0.6 ad-audiomp-base:1.18 yamt-idlelwp:1.18.0.4 post-newlock2-merge:1.18 newlock2-nbase:1.18 yamt-splraiseipl-base5:1.18 yamt-splraiseipl-base4:1.18 yamt-splraiseipl-base3:1.18 abandoned-netbsd-4-base:1.17 abandoned-netbsd-4:1.17.0.18 netbsd-3-1:1.15.0.14 netbsd-3-1-RELEASE:1.15 netbsd-3-0-2-RELEASE:1.15 yamt-splraiseipl-base2:1.17 netbsd-3-1-RC4:1.15 yamt-splraiseipl:1.17.0.22 yamt-splraiseipl-base:1.17 netbsd-3-1-RC3:1.15 yamt-pdpolicy-base9:1.17 newlock2:1.17.0.20 newlock2-base:1.18 yamt-pdpolicy-base8:1.17 netbsd-3-1-RC2:1.15 netbsd-3-1-RC1:1.15 yamt-pdpolicy-base7:1.17 netbsd-4:1.18.0.2 netbsd-4-base:1.18 yamt-pdpolicy-base6:1.17 chap-midi-nbase:1.17 netbsd-3-0-1-RELEASE:1.15 gdamore-uart:1.17.0.16 gdamore-uart-base:1.17 simonb-timcounters-final:1.17 yamt-pdpolicy-base5:1.17 chap-midi:1.17.0.14 chap-midi-base:1.17 yamt-pdpolicy-base4:1.17 yamt-pdpolicy-base3:1.17 peter-altq-base:1.17 peter-altq:1.17.0.12 yamt-pdpolicy-base2:1.17 elad-kernelauth-base:1.17 elad-kernelauth:1.17.0.10 yamt-pdpolicy:1.17.0.8 yamt-pdpolicy-base:1.17 yamt-uio_vmspace-base5:1.17 simonb-timecounters:1.17.0.6 simonb-timecounters-base:1.17 rpaulo-netinet-merge-pcb:1.17.0.4 rpaulo-netinet-merge-pcb-base:1.17 yamt-uio_vmspace:1.17.0.2 netbsd-3-0:1.15.0.12 netbsd-3-0-RELEASE:1.15 netbsd-3-0-RC6:1.15 yamt-readahead-base3:1.17 netbsd-3-0-RC5:1.15 netbsd-3-0-RC4:1.15 netbsd-3-0-RC3:1.15 yamt-readahead-base2:1.15 netbsd-3-0-RC2:1.15 yamt-readahead-pervnode:1.15 yamt-readahead-perfile:1.15 yamt-readahead:1.15.0.10 yamt-readahead-base:1.15 netbsd-3-0-RC1:1.15 yamt-vop-base3:1.15 netbsd-2-0-3-RELEASE:1.14 netbsd-2-1:1.14.0.16 yamt-vop-base2:1.15 thorpej-vnode-attr:1.15.0.8 thorpej-vnode-attr-base:1.15 netbsd-2-1-RELEASE:1.14 yamt-vop:1.15.0.6 yamt-vop-base:1.15 netbsd-2-1-RC6:1.14 netbsd-2-1-RC5:1.14 netbsd-2-1-RC4:1.14 netbsd-2-1-RC3:1.14 netbsd-2-1-RC2:1.14 netbsd-2-1-RC1:1.14 yamt-lazymbuf:1.15.0.4 yamt-km-base4:1.15 netbsd-2-0-2-RELEASE:1.14 yamt-km-base3:1.15 netbsd-3:1.15.0.2 netbsd-3-base:1.15 yamt-km-base2:1.14 yamt-km:1.14.0.12 yamt-km-base:1.14 kent-audio2:1.14.0.10 kent-audio2-base:1.15 netbsd-2-0-1-RELEASE:1.14 kent-audio1-beforemerge:1.14 netbsd-2:1.14.0.8 netbsd-2-base:1.14 kent-audio1:1.14.0.6 kent-audio1-base:1.14 netbsd-2-0-RELEASE:1.14 netbsd-2-0-RC5:1.14 netbsd-2-0-RC4:1.14 netbsd-2-0-RC3:1.14 netbsd-2-0-RC2:1.14 netbsd-2-0-RC1:1.14 ktrace-lwp-base:1.17 ktrace-lwp:1.14.0.4 netbsd-2-0:1.14.0.2 netbsd-2-0-base:1.14; locks; strict; comment @# @; 1.30 date 2020.06.29.23.34.48; author riastradh; state Exp; branches; next 1.29; commitid z3PzBArY7jlh2beC; 1.29 date 2020.04.22.09.15.40; author rin; state Exp; branches; next 1.28; commitid fnbj7cWSLWXdqm5C; 1.28 date 2020.01.27.17.09.17; author pgoyette; state Exp; branches 1.28.4.1; next 1.27; commitid aPtK71nEx2cONlUB; 1.27 date 2019.01.27.02.08.48; author pgoyette; state Exp; branches 1.27.6.1; next 1.26; commitid ipPva1Pj3xTcBm9B; 1.26 date 2017.05.24.10.05.09; author knakahara; state Exp; branches 1.26.8.1 1.26.10.1; next 1.25; commitid huRhDvurPfQtWCSz; 1.25 date 2011.11.19.22.51.30; author tls; state Exp; branches 1.25.8.1 1.25.26.1; next 1.24; 1.24 date 2011.05.26.21.50.03; author drochner; state Exp; branches 1.24.4.1; next 1.23; 1.23 date 2011.05.24.19.10.11; author drochner; state Exp; branches; next 1.22; 1.22 date 2011.05.05.17.44.39; author drochner; state Exp; branches; next 1.21; 1.21 date 2011.02.19.16.26.34; author drochner; state Exp; branches; next 1.20; 1.20 date 2009.03.25.01.26.13; author darran; state Exp; branches 1.20.4.1 1.20.6.1 1.20.8.1; next 1.19; 1.19 date 2008.02.04.00.35.35; author tls; state Exp; branches 1.19.10.1 1.19.18.1 1.19.20.1 1.19.24.1 1.19.28.1; next 1.18; 1.18 date 2006.10.27.21.20.48; author christos; state Exp; branches 1.18.24.1 1.18.30.1; next 1.17; 1.17 date 2005.11.25.16.41.31; author thorpej; state Exp; branches 1.17.20.1 1.17.22.1; next 1.16; 1.16 date 2005.11.25.16.16.46; author thorpej; state Exp; branches; next 1.15; 1.15 date 2005.02.26.22.39.52; author perry; state Exp; branches 1.15.4.1 1.15.10.1; next 1.14; 1.14 date 2003.12.31.16.44.26; author jonathan; state Exp; branches 1.14.4.1 1.14.10.1 1.14.12.1; next 1.13; 1.13 date 2003.11.16.12.07.50; author tls; state Exp; branches; next 1.12; 1.12 date 2003.08.27.00.05.28; author thorpej; state Exp; branches; next 1.11; 1.11 date 2003.08.26.16.37.38; author thorpej; state Exp; branches; next 1.10; 1.10 date 2003.08.26.14.24.06; author thorpej; state Exp; branches; next 1.9; 1.9 date 2003.08.24.19.29.09; author thorpej; state Exp; branches; next 1.8; 1.8 date 2003.08.24.19.28.32; author thorpej; state Exp; branches; next 1.7; 1.7 date 2003.08.24.19.26.56; author thorpej; state Exp; branches; next 1.6; 1.6 date 2003.08.24.19.21.13; author thorpej; state Exp; branches; next 1.5; 1.5 date 2003.07.30.18.28.58; author jonathan; state Exp; branches; next 1.4; 1.4 date 2003.07.28.21.28.23; author jonathan; state Exp; branches; next 1.3; 1.3 date 2003.07.27.03.34.40; author jonathan; state Exp; branches; next 1.2; 1.2 date 2003.07.26.13.49.53; author he; state Exp; branches; next 1.1; 1.1 date 2003.07.25.21.12.47; author jonathan; state Exp; branches; next ; 1.28.4.1 date 2020.04.25.11.24.07; author bouyer; state Exp; branches; next ; commitid d0banFLkg9JL4L5C; 1.27.6.1 date 2020.02.29.20.21.08; author ad; state Exp; branches; next ; commitid OjSb8ro7YQETQBYB; 1.26.8.1 date 2018.09.22.10.30.00; author pgoyette; state Exp; branches; next 1.26.8.2; commitid KBpR4OohgIn9s5TA; 1.26.8.2 date 2018.09.23.01.33.26; author pgoyette; state Exp; branches; next ; commitid tonJcFlg7zj1saTA; 1.26.10.1 date 2019.06.10.22.09.49; author christos; state Exp; branches; next 1.26.10.2; commitid jtc8rnCzWiEEHGqB; 1.26.10.2 date 2020.04.08.14.08.59; author martin; state Exp; branches; next ; commitid Qli2aW9E74UFuA3C; 1.25.8.1 date 2017.12.03.11.39.06; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; 1.25.26.1 date 2017.08.28.17.53.13; author skrll; state Exp; branches; next ; commitid UQQpnjvcNkUZn05A; 1.24.4.1 date 2012.04.17.00.08.48; author yamt; state Exp; branches; next ; 1.20.4.1 date 2011.03.05.20.56.05; author rmind; state Exp; branches; next 1.20.4.2; 1.20.4.2 date 2011.05.31.03.05.10; author rmind; state Exp; branches; next ; 1.20.6.1 date 2011.06.06.09.10.04; author jruoho; state Exp; branches; next ; 1.20.8.1 date 2011.03.05.15.10.48; author bouyer; state Exp; branches; next ; 1.19.10.1 date 2009.05.04.08.14.24; author yamt; state Exp; branches; next ; 1.19.18.1 date 2009.04.28.07.37.50; author skrll; state Exp; branches; next ; 1.19.20.1 date 2009.05.03.17.24.45; author snj; state Exp; branches; next ; 1.19.24.1 date 2009.05.13.17.22.56; author jym; state Exp; branches; next ; 1.19.28.1 date 2011.05.20.08.11.32; author matt; state Exp; branches; next ; 1.18.24.1 date 2008.03.23.02.05.09; author matt; state Exp; branches; next ; 1.18.30.1 date 2008.02.18.21.07.18; author mjf; state Exp; branches; next ; 1.17.20.1 date 2006.11.18.21.39.44; author ad; state Exp; branches; next ; 1.17.22.1 date 2006.12.10.07.19.28; author yamt; state Exp; branches; next ; 1.15.4.1 date 2006.06.21.15.12.02; author yamt; state Exp; branches; next 1.15.4.2; 1.15.4.2 date 2006.12.30.20.50.54; author yamt; state Exp; branches; next 1.15.4.3; 1.15.4.3 date 2008.02.04.09.24.48; author yamt; state Exp; branches; next ; 1.15.10.1 date 2005.11.29.21.23.33; author yamt; state Exp; branches; next ; 1.14.4.1 date 2003.12.31.16.44.26; author skrll; state dead; branches; next 1.14.4.2; 1.14.4.2 date 2004.08.03.10.56.25; author skrll; state Exp; branches; next 1.14.4.3; 1.14.4.3 date 2004.09.18.14.56.20; author skrll; state Exp; branches; next 1.14.4.4; 1.14.4.4 date 2004.09.21.13.38.44; author skrll; state Exp; branches; next 1.14.4.5; 1.14.4.5 date 2005.03.04.16.54.22; author skrll; state Exp; branches; next 1.14.4.6; 1.14.4.6 date 2005.12.11.10.29.36; author christos; state Exp; branches; next ; 1.14.10.1 date 2005.04.29.11.29.37; author kent; state Exp; branches; next ; 1.14.12.1 date 2005.03.19.08.36.52; author yamt; state Exp; branches; next ; desc @@ 1.30 log @opencrypto: Switch from legacy rijndael API to new aes API. While here, apply various rijndael->aes renames, reduce the size of aesxcbc_ctx by 480 bytes, and convert some malloc->kmem. Leave in the symbol enc_xform_rijndael128 for now, though, so this doesn't break any kernel ABI. @ text @# $NetBSD: files.opencrypto,v 1.29 2020/04/22 09:15:40 rin Exp $ # # # Opencrypto framework. # Devices that provide crypto transforms via opencrypto, or subsystems # that use the opencrypto framework, should list opencrypto as a dependency # to pull in the framework. define opencrypto: aes file opencrypto/criov.c opencrypto file opencrypto/xform.c opencrypto file opencrypto/crypto.c opencrypto # Pseudo-device that provides software implementations of various cryptographic # algorithms. defpseudo swcrypto: opencrypto, blowfish, des, cast128, skipjack, camellia file opencrypto/cryptosoft.c swcrypto file opencrypto/deflate.c swcrypto # wrapper around zlib file opencrypto/aesxcbcmac.c swcrypto file opencrypto/gmac.c swcrypto # Pseudo-device for userspace access to opencrypto # (and thus crypto hardware accelerators). defpseudo crypto: opencrypto file opencrypto/cryptodev.c crypto file opencrypto/ocryptodev.c compat_50 & crypto file opencrypto/compat_crypto_50.c compat_50 & crypto defflag opt_ocf.h CRYPTO_DEBUG CRYPTO_TIMING defparam opt_ocf.h CRYPTO_RET_Q_MAXLEN CRYPTO_RET_KQ_MAXLEN @ 1.29 log @Make crypto/rijindael optional again as cprng_strong does no longer depend on it. Dependency is explicitly declared in files.foo if a component requires it. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.28 2020/01/27 17:09:17 pgoyette Exp $ d10 1 a10 1 define opencrypto: rijndael @ 1.28 log @Split the module glue out from the rest of opencrypto/ocryptodev to make rump happy. Rump doesn't have compat modules (the compat code is included in the relevant librump*.so), so there's no module compat_50 listed in link_set_modules, and thus ocryptodev's MODULE(...) can't "require" it. This fixes the problem of "built-in module compat_50 not found" when starting up rump_allserver (or rump_server with -l rumpdev_opencrypto). XXX This does not resolve the long-standing "crypto: unable to XXX register devsw, error 17" message noted at line 78 of XXX sys/rump/dev/lib/libopencrypto/opencrypto_component.c @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.27 2019/01/27 02:08:48 pgoyette Exp $ d10 1 a10 1 define opencrypto @ 1.28.4.1 log @Sync with bouyer-xenpvh-base2 (HEAD) @ text @d1 1 a1 1 # $NetBSD$ d10 1 a10 1 define opencrypto: rijndael @ 1.27 log @Merge the [pgoyette-compat] branch @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.26 2017/05/24 10:05:09 knakahara Exp $ d29 1 @ 1.27.6.1 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.28 2020/01/27 17:09:17 pgoyette Exp $ a28 1 file opencrypto/compat_crypto_50.c compat_50 & crypto @ 1.26 log @make the default values of q_maxlen build parameters. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.25 2011/11/19 22:51:30 tls Exp $ d28 1 a28 1 file opencrypto/ocryptodev.c crypto & compat_50 @ 1.26.10.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.27 2019/01/27 02:08:48 pgoyette Exp $ d28 1 a28 1 file opencrypto/ocryptodev.c compat_50 & crypto @ 1.26.10.2 log @Merge changes from current as of 20200406 @ text @d1 1 a1 1 # $NetBSD$ a28 1 file opencrypto/compat_crypto_50.c compat_50 & crypto @ 1.26.8.1 log @Include the compat code whether or not the calling device or filesystem exists. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.26 2017/05/24 10:05:09 knakahara Exp $ d28 1 a28 1 file opencrypto/ocryptodev.c compat_50 @ 1.26.8.2 log @Split the compat_crypto_50 from the rest of the crypto module Cleanup some stuff left over from similar changes to raid modules. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.26.8.1 2018/09/22 10:30:00 pgoyette Exp $ d28 1 a28 1 file opencrypto/ocryptodev.c compat_50 & crypto @ 1.25 log @First step of random number subsystem rework described in <20111022023242.BA26F14A158@@mail.netbsd.org>. This change includes the following: An initial cleanup and minor reorganization of the entropy pool code in sys/dev/rnd.c and sys/dev/rndpool.c. Several bugs are fixed. Some effort is made to accumulate entropy more quickly at boot time. A generic interface, "rndsink", is added, for stream generators to request that they be re-keyed with good quality entropy from the pool as soon as it is available. The arc4random()/arc4randbytes() implementation in libkern is adjusted to use the rndsink interface for rekeying, which helps address the problem of low-quality keys at boot time. An implementation of the FIPS 140-2 statistical tests for random number generator quality is provided (libkern/rngtest.c). This is based on Greg Rose's implementation from Qualcomm. A new random stream generator, nist_ctr_drbg, is provided. It is based on an implementation of the NIST SP800-90 CTR_DRBG by Henric Jungheim. This generator users AES in a modified counter mode to generate a backtracking-resistant random stream. An abstraction layer, "cprng", is provided for in-kernel consumers of randomness. The arc4random/arc4randbytes API is deprecated for in-kernel use. It is replaced by "cprng_strong". The current cprng_fast implementation wraps the existing arc4random implementation. The current cprng_strong implementation wraps the new CTR_DRBG implementation. Both interfaces are rekeyed from the entropy pool automatically at intervals justifiable from best current cryptographic practice. In some quick tests, cprng_fast() is about the same speed as the old arc4randbytes(), and cprng_strong() is about 20% faster than rnd_extract_data(). Performance is expected to improve. The AES code in src/crypto/rijndael is no longer an optional kernel component, as it is required by cprng_strong, which is not an optional kernel component. The entropy pool output is subjected to the rngtest tests at startup time; if it fails, the system will reboot. There is approximately a 3/10000 chance of a false positive from these tests. Entropy pool _input_ from hardware random numbers is subjected to the rngtest tests at attach time, as well as the FIPS continuous-output test, to detect bad or stuck hardware RNGs; if any are detected, they are detached, but the system continues to run. A problem with rndctl(8) is fixed -- datastructures with pointers in arrays are no longer passed to userspace (this was not a security problem, but rather a major issue for compat32). A new kernel will require a new rndctl. The sysctl kern.arandom() and kern.urandom() nodes are hooked up to the new generators, but the /dev/*random pseudodevices are not, yet. Manual pages for the new kernel interfaces are forthcoming. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.24 2011/05/26 21:50:03 drochner Exp $ d31 1 @ 1.25.8.1 log @update from HEAD @ text @d1 1 a1 1 # $NetBSD$ a30 1 defparam opt_ocf.h CRYPTO_RET_Q_MAXLEN CRYPTO_RET_KQ_MAXLEN @ 1.25.26.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.26 2017/05/24 10:05:09 knakahara Exp $ a30 1 defparam opt_ocf.h CRYPTO_RET_Q_MAXLEN CRYPTO_RET_KQ_MAXLEN @ 1.24 log @pull in AES-GCM/GMAC support from OpenBSD This is still somewhat experimental. Tested between 2 similar boxes so far. There is much potential for performance improvement. For now, I've changed the gmac code to accept any data alignment, as the "char *" pointer suggests. As the code is practically used, 32-bit alignment can be assumed, at the cost of data copies. I don't know whether bytewise access or copies are worse performance-wise. For efficient implementations using SSE2 instructions on x86, even stricter alignment requirements might arise. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.23 2011/05/24 19:10:11 drochner Exp $ d18 1 a18 1 blowfish, des, cast128, rijndael, skipjack, camellia @ 1.24.4.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.24 2011/05/26 21:50:03 drochner Exp $ d18 1 a18 1 blowfish, des, cast128, skipjack, camellia @ 1.23 log @copy AES-XCBC-MAC support from KAME IPSEC to FAST_IPSEC For this to fit, an API change in cryptosoft was adopted from OpenBSD (addition of a "Setkey" method to hashes) which was done for GCM/GMAC support there, so it might be useful in the future anyway. tested against KAME IPSEC AFAICT, FAST_IPSEC now supports as much as KAME. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.22 2011/05/05 17:44:39 drochner Exp $ d22 1 @ 1.22 log @support camellia-cbc by swcrypt @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.21 2011/02/19 16:26:34 drochner Exp $ d21 1 @ 1.21 log @make the compatibility code conditional on COMPAT_50 @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.20 2009/03/25 01:26:13 darran Exp $ d18 1 a18 1 blowfish, des, cast128, rijndael, skipjack @ 1.20 log @Fixes PR kern/41069 and PR kern/41070. Extends the Opencrypto API to allow the destination buffer size to be specified when its not the same size as the input buffer (i.e. for operations like compress and decompress). The crypto_op and crypt_n_op structures gain a u_int dst_len field. The session_op structure gains a comp_alg field to specify a compression algorithm. Moved four ioctls to new ids; CIOCGSESSION, CIOCNGSESSION, CIOCCRYPT, and CIOCNCRYPTM. Added four backward compatible ioctls; OCIOCGSESSION, OCIOCNGSESSION, OCIOCCRYPT, and OCIOCNCRYPTM. Backward compatibility is maintained in ocryptodev.h and ocryptodev.c which implement the original ioctls and set dst_len and comp_alg to 0. Adds user-space access to compression features. Adds software gzip support (CRYPTO_GZIP_COMP). Adds the fast version of crc32 from zlib to libkern. This should be generally useful and provide a place to start normalizing the various crc32 routines in the kernel. The crc32 routine is used in this patch to support GZIP. With input and support from tls@@NetBSD.org. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.19 2008/02/04 00:35:35 tls Exp $ d26 1 a26 1 file opencrypto/ocryptodev.c crypto @ 1.20.6.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.24 2011/05/26 21:50:03 drochner Exp $ d18 1 a18 1 blowfish, des, cast128, rijndael, skipjack, camellia a20 2 file opencrypto/aesxcbcmac.c swcrypto file opencrypto/gmac.c swcrypto d26 1 a26 1 file opencrypto/ocryptodev.c crypto & compat_50 @ 1.20.4.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD$ d26 1 a26 1 file opencrypto/ocryptodev.c crypto & compat_50 @ 1.20.4.2 log @sync with head @ text @d18 1 a18 1 blowfish, des, cast128, rijndael, skipjack, camellia a20 2 file opencrypto/aesxcbcmac.c swcrypto file opencrypto/gmac.c swcrypto @ 1.20.8.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD$ d26 1 a26 1 file opencrypto/ocryptodev.c crypto & compat_50 @ 1.19 log @Rework opencrypto to use a spin mutex (crypto_mtx) instead of "splcrypto" (actually splnet) and condvars instead of tsleep/wakeup. Fix a few miscellaneous problems and add some debugging printfs while there. Restore set of CRYPTO_F_DONE in crypto_done() which was lost at some point after this code came from FreeBSD -- it made it impossible to wait properly for a condition. Add flags analogous to the "crp" flags to the key operation's krp struct. Add a new flag, CRYPTO_F_ONRETQ which tells us a request finished before the kthread had a chance to dequeue it and call its callback -- this was letting requests stick on the queues before even though done and copied out. Callers of crypto_newsession() or crypto_freesession() must now take the mutex. Change netipsec to do so. Dispatch takes the mutex itself as needed. This was tested fairly extensively with the cryptosoft backend and lightly with a new hardware driver. It has not been tested with FAST_IPSEC; I am unable to ascertain whether FAST_IPSEC currently works at all in our tree. pjd@@FreeBSD.ORG, ad@@NetBSD.ORG, and darran@@snark.us pointed me in the right direction several times in the course of this. Remaining bugs are mine alone. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.18 2006/10/27 21:20:48 christos Exp $ d26 1 @ 1.19.28.1 log @bring matt-nb5-mips64 up to date with netbsd-5-1-RELEASE (except compat). @ text @d1 1 a1 1 # $NetBSD$ a25 1 file opencrypto/ocryptodev.c crypto @ 1.19.24.1 log @Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.20 2009/03/25 01:26:13 darran Exp $ a25 1 file opencrypto/ocryptodev.c crypto @ 1.19.10.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.19 2008/02/04 00:35:35 tls Exp $ a25 1 file opencrypto/ocryptodev.c crypto @ 1.19.20.1 log @Pull up following revision(s) (requested by tls in ticket #611): sys/lib/libkern/Makefile: patch sys/lib/libkern/crc32.c: revision 1.1 sys/lib/libkern/crc32.h: revision 1.1 sys/lib/libkern/libkern.h: revision 1.89 sys/lib/libkern/arch/i386/Makefile.inc: revision 1.28 sys/net/zlib.h: revision 1.14 via patch sys/opencrypto/crypto.c: revision 1.33 sys/opencrypto/cryptodev.c: revision 1.46 sys/opencrypto/cryptodev.h: revision 1.16 sys/opencrypto/cryptosoft.c: revision 1.24 sys/opencrypto/cryptosoft.h: revision 1.6 sys/opencrypto/deflate.h: revision 1.6 sys/opencrypto/cryptosoft_xform.c: revision 1.12 sys/opencrypto/deflate.c: revision 1.13 sys/opencrypto/files.opencrypto: revision 1.20 sys/opencrypto/ocryptodev.c: revision 1.1 sys/opencrypto/ocryptodev.h: revision 1.1 sys/opencrypto/xform.c: revision 1.18 sys/opencrypto/xform.h: revision 1.10 Fixes PR kern/41069 and PR kern/41070. Extends the Opencrypto API to allow the destination buffer size to be specified when its not the same size as the input buffer (i.e. for operations like compress and decompress). The crypto_op and crypt_n_op structures gain a u_int dst_len field. The session_op structure gains a comp_alg field to specify a compression algorithm. Moved four ioctls to new ids; CIOCGSESSION, CIOCNGSESSION, CIOCCRYPT, and CIOCNCRYPTM. Added four backward compatible ioctls; OCIOCGSESSION, OCIOCNGSESSION, OCIOCCRYPT, and OCIOCNCRYPTM. Backward compatibility is maintained in ocryptodev.h and ocryptodev.c which implement the original ioctls and set dst_len and comp_alg to 0. Adds user-space access to compression features. Adds software gzip support (CRYPTO_GZIP_COMP). Adds the fast version of crc32 from zlib to libkern. This should be generally useful and provide a place to start normalizing the various crc32 routines in the kernel. The crc32 routine is used in this patch to support GZIP. With input and support from tls@@NetBSD.org. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.19 2008/02/04 00:35:35 tls Exp $ a25 1 file opencrypto/ocryptodev.c crypto @ 1.19.18.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.20 2009/03/25 01:26:13 darran Exp $ a25 1 file opencrypto/ocryptodev.c crypto @ 1.18 log @Merge kernel and userland rmd160 and sha2 implementation. XXX: We still install rmd160.h and sha2.h in /usr/include/crypto, unlike the other hash functions which get installed in /usr/include for compatibility. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.17 2005/11/25 16:41:31 thorpej Exp $ d26 2 @ 1.18.24.1 log @sync with HEAD @ text @d1 1 a1 1 # files.opencrypto,v 1.18 2006/10/27 21:20:48 christos Exp a25 2 defflag opt_ocf.h CRYPTO_DEBUG CRYPTO_TIMING @ 1.18.30.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.19 2008/02/04 00:35:35 tls Exp $ a25 2 defflag opt_ocf.h CRYPTO_DEBUG CRYPTO_TIMING @ 1.17 log @swcr -> swcrypto @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.16 2005/11/25 16:16:46 thorpej Exp $ d18 1 a18 1 blowfish, des, cast128, rijndael, ripemd160, sha2, skipjack @ 1.17.22.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.17 2005/11/25 16:41:31 thorpej Exp $ d18 1 a18 1 blowfish, des, cast128, rijndael, skipjack @ 1.17.20.1 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.18 2006/10/27 21:20:48 christos Exp $ d18 1 a18 1 blowfish, des, cast128, rijndael, skipjack @ 1.16 log @- De-couple the software crypto implementation from the rest of the framework. There is no need to waste the space if you are only using algoritms provided by hardware accelerators. To get the software implementations, add "pseudo-device swcr" to your kernel config. - Lazily initialize the opencrypto framework when crypto drivers (either hardware or swcr) register themselves with the framework. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.15 2005/02/26 22:39:52 perry Exp $ d17 1 a17 1 defpseudo swcr: opencrypto, d19 2 a20 2 file opencrypto/cryptosoft.c swcr file opencrypto/deflate.c swcr # wrapper around zlib @ 1.15 log @nuke trailing whitespace @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.14 2003/12/31 16:44:26 jonathan Exp $ d10 2 a11 5 define opencrypto: blowfish, des, cast128, rijndael, ripemd160, sha2, skipjack file opencrypto/criov.c opencrypto needs-flag file opencrypto/cryptosoft.c opencrypto d15 6 a20 3 # wrapper around zlib functions file opencrypto/deflate.c opencrypto d24 1 a24 3 defpseudo crypto: opencrypto @ 1.15.4.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.15 2005/02/26 22:39:52 perry Exp $ d10 5 a14 2 define opencrypto file opencrypto/criov.c opencrypto d18 3 a20 6 # Pseudo-device that provides software implementations of various cryptographic # algorithms. defpseudo swcrypto: opencrypto, blowfish, des, cast128, rijndael, ripemd160, sha2, skipjack file opencrypto/cryptosoft.c swcrypto file opencrypto/deflate.c swcrypto # wrapper around zlib d24 3 a26 1 defpseudo crypto: opencrypto @ 1.15.4.2 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.15.4.1 2006/06/21 15:12:02 yamt Exp $ d18 1 a18 1 blowfish, des, cast128, rijndael, skipjack @ 1.15.4.3 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.15.4.2 2006/12/30 20:50:54 yamt Exp $ a25 2 defflag opt_ocf.h CRYPTO_DEBUG CRYPTO_TIMING @ 1.15.10.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.15 2005/02/26 22:39:52 perry Exp $ d10 5 a14 2 define opencrypto file opencrypto/criov.c opencrypto d18 3 a20 6 # Pseudo-device that provides software implementations of various cryptographic # algorithms. defpseudo swcrypto: opencrypto, blowfish, des, cast128, rijndael, ripemd160, sha2, skipjack file opencrypto/cryptosoft.c swcrypto file opencrypto/deflate.c swcrypto # wrapper around zlib d24 3 a26 1 defpseudo crypto: opencrypto @ 1.14 log @Split opencrypto configuration into an attribute, usable by inkernel clients, and a pseudo-device for userspace access. The attribute is named `opencrypto'. The pseudo-device is renamed to "crypto", which has a dependency on "opencrypto". The sys/conf/majors entry and pseudo-device attach entrypoint are updated to match the new pseudo-device name. Fast IPsec (sys/netipsec/files.ipsec) now lists a dependency on the "opencrypto" attribute. Drivers for crypto accelerators (ubsec, hifn775x) also pull in opencrypto, as providers of opencrypto transforms. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.13 2003/11/16 12:07:50 tls Exp $ d5 1 a5 1 # Opencrypto framework. @ 1.14.4.1 log @file files.opencrypto was added on branch ktrace-lwp on 2004-08-03 10:56:25 +0000 @ text @d1 27 @ 1.14.4.2 log @Sync with HEAD @ text @a0 27 # $NetBSD: files.opencrypto,v 1.14.4.1 2004/08/03 10:56:25 skrll Exp $ # # # Opencrypto framework. # Devices that provide crypto transforms via opencrypto, or subsystems # that use the opencrypto framework, should list opencrypto as a dependency # to pull in the framework. define opencrypto: blowfish, des, cast128, rijndael, ripemd160, sha2, skipjack file opencrypto/criov.c opencrypto needs-flag file opencrypto/cryptosoft.c opencrypto file opencrypto/xform.c opencrypto file opencrypto/crypto.c opencrypto # wrapper around zlib functions file opencrypto/deflate.c opencrypto # Pseudo-device for userspace access to opencrypto # (and thus crypto hardware accelerators). defpseudo crypto: opencrypto file opencrypto/cryptodev.c crypto @ 1.14.4.3 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.14.4.2 2004/09/18 14:56:20 skrll Exp $ @ 1.14.4.4 log @Fix the sync with head I botched. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.14.4.3 2004/09/21 13:38:44 skrll Exp $ @ 1.14.4.5 log @Sync with HEAD. Hi Perry! @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.14.4.4 2005/03/04 16:54:22 skrll Exp $ d5 1 a5 1 # Opencrypto framework. @ 1.14.4.6 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.14.4.5 2005/12/11 10:29:36 christos Exp $ d10 5 a14 2 define opencrypto file opencrypto/criov.c opencrypto d18 3 a20 6 # Pseudo-device that provides software implementations of various cryptographic # algorithms. defpseudo swcrypto: opencrypto, blowfish, des, cast128, rijndael, ripemd160, sha2, skipjack file opencrypto/cryptosoft.c swcrypto file opencrypto/deflate.c swcrypto # wrapper around zlib d24 3 a26 1 defpseudo crypto: opencrypto @ 1.14.10.1 log @sync with -current @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.15 2005/02/26 22:39:52 perry Exp $ d5 1 a5 1 # Opencrypto framework. @ 1.14.12.1 log @sync with head. xen and whitespace. xen part is not finished. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.14 2003/12/31 16:44:26 jonathan Exp $ d5 1 a5 1 # Opencrypto framework. @ 1.13 log @Move the Skipjack algorithm from sys/opencrypto to sys/crypto/skipjack. There are now no cryptographic algorithms in sys/opencrypto, which, according to the comment formerly in files.opencrypto, was the original intent. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.12 2003/08/27 00:05:28 thorpej Exp $ d5 4 a8 1 defpseudo opencrypto: blowfish, des, cast128, rijndael, ripemd160, sha2, skipjack d10 4 a13 2 file opencrypto/criov.c opencrypto file opencrypto/cryptodev.c opencrypto d16 1 a16 1 file opencrypto/crypto.c opencrypto needs-flag d20 8 @ 1.12 log @Use the Blowfish in crypto/blowfish, which has hooks for using tuned assembly for the transform. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.11 2003/08/26 16:37:38 thorpej Exp $ d5 1 a5 1 defpseudo opencrypto: blowfish, des, cast128, rijndael, ripemd160, sha2 d13 1 a13 3 # local crypto algorithms - XXX should G/C and use crypto/... file opencrypto/skipjack.c opencrypto @ 1.11 log @Move the opencrypto CAST-128 implementation to crypto/cast128, removing the old one. Rename the functions/structures from cast_* to cast128_*. Adapt the KAME IPsec to use the new CAST-128 code, which has a simpler API and smaller footprint. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.10 2003/08/26 14:24:06 thorpej Exp $ d5 1 a5 1 defpseudo opencrypto: des, cast128, rijndael, ripemd160, sha2 a13 1 file opencrypto/blf.c opencrypto @ 1.10 log @G/C opencrypto's local copy of rijndael. Adapt the extant rijndael code for opencrypto's use by adding the simplified API that opencrypto expects. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.9 2003/08/24 19:29:09 thorpej Exp $ d5 1 a5 1 defpseudo opencrypto: des, rijndael, ripemd160, sha2 a15 1 file opencrypto/cast.c opencrypto @ 1.9 log @crypto_mbuf.c is unused; remove it. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.8 2003/08/24 19:28:32 thorpej Exp $ d5 1 a5 1 defpseudo opencrypto: des, ripemd160, sha2 a16 1 file opencrypto/rijndael.c opencrypto @ 1.8 log @G/C some unused config definitions. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.7 2003/08/24 19:26:56 thorpej Exp $ a11 3 #Standalone m_apply()/m_getptr() #file opencrypto/crypto_mbuf.c opencrypto @ 1.7 log @Make opencrypto depend on the "ripemd160" and "sha2" attributes, rather than polluting the crypto algorithm config info with opencrypto knowledge. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.6 2003/08/24 19:21:13 thorpej Exp $ a22 5 # old pre-OpenCryptoFramework/fast-ipsec crypto hooks. #file crypto/des/des_ecb.c opencrypto #file crypto/des/des_setkey.c opencrypto @ 1.6 log @Move the opencrypto defpseudo into files.opencrypto. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.5 2003/07/30 18:28:58 jonathan Exp $ d5 1 a5 1 defpseudo opencrypto: des d16 1 a16 1 # crypto algorithms a18 1 # rmd160.c is now in sys/crypto/ripemd160/files.ripemd160 a20 1 # sha2.c is in crypto/sha2/files.sha2 @ 1.5 log @Add ``needs-flag'' to opencrypto/crypto.c, so that init_main() can do a feature-test and if present, initialize the crypto framework before configuring hardware devices, so the crypto framework is ready to accept attachment requests when crypto hardware are auto-configured and try to register themselves with the framework. Thanks to Quentin Garnier who, given a heads-up about the problem, tested the same basic fix with a hardware device. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.4 2003/07/28 21:28:23 jonathan Exp $ d4 2 @ 1.4 log @Clean up dependencies between opencrypto framework and sys/crypto, by making the sys/crypto transforms depend on (per-transform-config-keyword|opencrypto) Thanks to Martin Husemann for double-checking the changes. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.3 2003/07/27 03:34:40 jonathan Exp $ d9 1 a9 1 file opencrypto/crypto.c opencrypto @ 1.3 log @Cleanup traces of previous standalone m_apply()/m_getptr(). @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.2 2003/07/26 13:49:53 he Exp $ a3 1 defpseudo opencrypto d17 1 a17 1 file opencrypto/rmd160.c opencrypto @ 1.2 log @Don't declare the sha2.c file twice, instead add opencrypto flag to existing declaration, and leave behind a comment in files.opencrypto. @ text @d1 1 a1 1 # $NetBSD: files.opencrypto,v 1.1 2003/07/25 21:12:47 jonathan Exp $ d11 3 a13 1 file opencrypto/crypto_mbuf.c opencrypto @ 1.1 log @Commit initial NetBSD port of the OpenCrypto Framework (OCF). This code is derived from Sam Leffler's FreeBSD port of OCF, which is in turn a port of Angelos Keromytis's OpenBSD work. Credit to Sam and Angelos, any blame for the NetBSD port to me. @ text @d1 1 a1 1 # $NetBSD:$ a14 1 file crypto/sha2/sha2.c opencrypto d19 1 @