Module Name:src
Committed By: andvar
Date: Sat Aug 14 20:43:05 UTC 2021
Modified Files:
src/sys/opencrypto: crypto.c cryptodev.h
Log Message:
fix typo in CRK_ALGORITHM_MIN definition to match CRK_ALGORITHM_MAX one.
while here fix few typos in comments.
To generate a diff
Module Name:src
Committed By: knakahara
Date: Tue Apr 6 03:38:04 UTC 2021
Modified Files:
src/sys/opencrypto: cryptosoft.c
Log Message:
Fix ATF failures, sorry.
To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/opencrypto/cryptosoft.c
Please note th
Module Name:src
Committed By: knakahara
Date: Mon Apr 5 01:24:50 UTC 2021
Modified Files:
src/sys/opencrypto: cryptosoft.c
Log Message:
refactor: reduce access to swcr_sessions[i] directly
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/opencrypto/
Module Name:src
Committed By: knakahara
Date: Mon Apr 5 01:23:15 UTC 2021
Modified Files:
src/sys/opencrypto: cryptosoft.c
Log Message:
refactor: reduce changing swcr_sesnum
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/opencrypto/cryptosoft.c
P
Module Name:src
Committed By: knakahara
Date: Mon Apr 5 01:22:22 UTC 2021
Modified Files:
src/sys/opencrypto: cryptosoft.c
Log Message:
use kmem_{z,}alloc() instead of malloc()
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/opencrypto/cryptosoft.c
Module Name:src
Committed By: riastradh
Date: Sat Jul 4 18:07:31 UTC 2020
Modified Files:
src/sys/opencrypto: cryptosoft.c
Log Message:
Fix kmem_free size in recent malloc->kmem conversion.
Should address this bracket report that has my name all over it:
https://mail-in
Module Name:src
Committed By: riastradh
Date: Mon Jun 29 23:34:48 UTC 2020
Modified Files:
src/sys/opencrypto: aesxcbcmac.c aesxcbcmac.h cryptosoft.c
cryptosoft_xform.c files.opencrypto gmac.c gmac.h xform.c
Log Message:
opencrypto: Switch from legacy rijndael
Module Name:src
Committed By: riastradh
Date: Sun Jun 14 23:23:55 UTC 2020
Modified Files:
src/sys/opencrypto: cryptosoft.c
Log Message:
swcrypto(4): Simplify iv generation logic with cprng_fast.
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/openc
Module Name:src
Committed By: pgoyette
Date: Wed Apr 8 15:27:18 UTC 2020
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
Revert previous change to use SYSCTL_SETUP since it breaks on macppc.
For some reason, the crypto module fails to link, and this results in
Module Name:src
Committed By: riastradh
Date: Sat Feb 1 13:48:09 UTC 2020
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
softint_disestablish does xc_barrier(0) for us already.
To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/opencrypto
Module Name:src
Committed By: riastradh
Date: Sat Feb 1 12:54:30 UTC 2020
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
Switch opencrypto to percpu_create.
Can't sleep for allocation in percpu_foreach.
To generate a diff of this commit:
cvs rdiff -u -r1.110
Module Name:src
Committed By: pgoyette
Date: Mon Jan 27 17:11:27 UTC 2020
Modified Files:
src/sys/opencrypto: compat_crypto_50.c
Log Message:
Remove left-over #includes
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/opencrypto/compat_crypto_50.c
Ple
Module Name:src
Committed By: pgoyette
Date: Mon Jan 27 02:56:15 UTC 2020
Modified Files:
src/sys/opencrypto: cryptodev.c
Log Message:
If we get an error from devsw_attach(), don't destroy the error value,
since we need to return it to our caller. While we're here, improv
Module Name:src
Committed By: christos
Date: Thu Jan 16 15:29:24 UTC 2020
Modified Files:
src/sys/opencrypto: cryptodev.c ocryptodev.c
Log Message:
Initialize the session variable to an impossible session to prevent compiler
warnings.
To generate a diff of this commit:
c
Module Name:src
Committed By: knakahara
Date: Mon Jan 8 23:34:56 UTC 2018
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
Fix PR kern/52910. Reported and implemented a patch by Sevan Janiyan, thanks.
To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.
Module Name:src
Committed By: christos
Date: Tue Nov 14 14:29:33 UTC 2017
Modified Files:
src/sys/opencrypto: cryptodev.c
Log Message:
check results of pool_prime.
To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/opencrypto/cryptodev.c
Please note t
Module Name:src
Committed By: christos
Date: Thu Nov 9 22:20:26 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
use PR_NOWAIT.
To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/opencrypto/crypto.c
Please note that diffs are not
Module Name:src
Committed By: knakahara
Date: Fri Sep 22 03:04:06 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
fix opencrypto(9) part of PR kern/52515
percpu data use pointers to TAILQ instead of TAILQ itself.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: knakahara
Date: Mon Jul 31 04:25:45 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
use pool_cache(9) instead of pool(9) as they can be called concurrently.
To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 sr
Module Name:src
Committed By: knakahara
Date: Mon Jul 31 04:23:48 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
use kmem_alloc KPI instead of malloc KPI.
To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/opencrypto/crypto.c
Pleas
Module Name:src
Committed By: knakahara
Date: Mon Jul 31 04:21:59 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
pack crypto_drivers variables to struct and add cacheline_aligned qualifier.
To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98
Module Name:src
Committed By: knakahara
Date: Mon Jul 31 04:19:26 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
refactor: remove glue macros for FreeBSD code.
To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/sys/opencrypto/crypto.c
Module Name:src
Committed By: riastradh
Date: Fri Jul 28 17:14:04 UTC 2017
Modified Files:
src/sys/opencrypto: ocryptodev.c
Log Message:
Avoid another userland-controlled integer overflow.
>From Ilja Van Sprundel.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -
Module Name:src
Committed By: riastradh
Date: Fri Jul 28 14:16:29 UTC 2017
Modified Files:
src/sys/opencrypto: ocryptodev.c
Log Message:
Avert userland-controlled integer overflow.
>From Ilja Van Sprundel.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src
Module Name:src
Committed By: riastradh
Date: Fri Jul 28 14:13:56 UTC 2017
Modified Files:
src/sys/opencrypto: ocryptodev.c
Log Message:
Don't disclose uninitialized 32-bit word if cryptodev_session fails.
>From Ilja Van Sprundel.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: knakahara
Date: Wed Jul 26 06:44:50 UTC 2017
Modified Files:
src/sys/opencrypto: cryptodev.h
Log Message:
update locking notes of opencrypto(9)
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/opencrypto/cryptodev.h
Ple
Module Name:src
Committed By: knakahara
Date: Wed Jul 26 06:44:01 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
divide crp_ret_{,k}q by CPU to avoid reordering.
update locking note later.
To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96
Module Name:src
Committed By: knakahara
Date: Wed Jul 26 06:40:43 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
make crp_{,k}q percpu to scale crypto_dispatch().
update locking note later.
To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.9
Module Name:src
Committed By: knakahara
Date: Thu Jul 20 23:07:12 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
fix typo
To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/opencrypto/crypto.c
Please note that diffs are not public
Module Name:src
Committed By: knakahara
Date: Thu Jul 20 09:31:36 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
fix panic when using ecryption devices attached earlier than ipi_sysinit().
pointed out and tested by martin@n.o, thanks.
To generate a d
Module Name:src
Committed By: knakahara
Date: Tue Jul 18 06:01:37 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c cryptodev.h
Log Message:
make cryptoret() context softint to balance dequeuing crypto_ret_q with
enqueuing it.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: ozaki-r
Date: Thu Jul 6 08:27:07 UTC 2017
Modified Files:
src/sys/opencrypto: xform.c
Log Message:
Apply C99-style struct initialization to enc_xform, auth_hash and comp_algo
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src
Module Name:src
Committed By: ozaki-r
Date: Thu Jul 6 08:22:45 UTC 2017
Modified Files:
src/sys/opencrypto: xform.h
Log Message:
KNF
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/opencrypto/xform.h
Please note that diffs are not public domain; t
Module Name:src
Committed By: knakahara
Date: Mon Jun 26 05:34:49 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
simplify mutex_enter/exit(crypto_q_mtx), and fix missing exit.
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/openc
Module Name:src
Committed By: knakahara
Date: Fri Jun 23 11:41:58 UTC 2017
Modified Files:
src/sys/opencrypto: cryptosoft.c
Log Message:
fix cryptosoft.c:r1.51 mistake. swcrypto_attach() must not be called from
module_init_class().
swcrypto_attach() will call softint_est
Module Name:src
Committed By: knakahara
Date: Thu Jun 15 12:45:10 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
Reduce crypto_ret_q_mtx lock regions.
crypto.c does not access the members of crp when the crp is in crp_q or
crp_ret_q. Furthermore, crp_q
Module Name:src
Committed By: knakahara
Date: Thu Jun 15 12:41:18 UTC 2017
Modified Files:
src/sys/opencrypto: cryptodev.c cryptodev.h
Log Message:
Divide crp_devflags from crp_flags to write exclusively.
CRYPTO_F_DQRETQ(new name is CRYPTODEV_F_RET) is used by cryptodev.c
Module Name:src
Committed By: knakahara
Date: Wed Jun 14 07:38:24 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
support multiple encryption drivers (port from FreeBSD).
To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/opencrypto/
Module Name:src
Committed By: knakahara
Date: Wed Jun 14 07:36:24 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
refactor crypto_newsession() like FreeBSD.
To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/opencrypto/crypto.c
Plea
Module Name:src
Committed By: knakahara
Date: Wed Jun 14 07:32:19 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
must release cap->cc_lock before calling cap->cc_newsession() because of
spinlock.
To generate a diff of this commit:
cvs rdiff -u -r1.86
Module Name:src
Committed By: knakahara
Date: Thu Jun 8 09:49:46 UTC 2017
Modified Files:
src/sys/opencrypto: cryptodev.c
Log Message:
sanitize in CIOCNCRYPTM and initialize comp_alg in CIOCNGSESSION
To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/
Module Name:src
Committed By: knakahara
Date: Thu Jun 8 03:02:26 UTC 2017
Modified Files:
src/sys/opencrypto: cryptodev.c
Log Message:
sanitize count used for kmem_alloc size.
Hmm, who uses CIOCNGSESSION, CIOCNFSESSION, CIOCNCRYPTM or CIOCNFKEYM?
To generate a diff of
Module Name:src
Committed By: christos
Date: Thu Jun 8 00:17:02 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
Put back crypto_checkdriver(); use it when we need to make sure that we
get back a cryptocap that has been initialized.
To generate a diff
Module Name:src
Committed By: christos
Date: Tue Jun 6 18:08:23 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
- acquire lock
- use c99 loop indexes
- initialize featp
To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/opencrypto/c
Module Name:src
Committed By: knakahara
Date: Tue Jun 6 04:11:41 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
apply the same fix as crypto.c:r1.83 for crypto_dispatch to crypto_kdispatch.
To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.8
Module Name:src
Committed By: knakahara
Date: Tue Jun 6 01:51:39 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
avoid crp_q reordering as hardware interrupts.
crypto_{,k}invoke() can be called with holding crp_q_mtx now.
To generate a diff of this c
Module Name:src
Committed By: knakahara
Date: Tue Jun 6 01:48:34 UTC 2017
Modified Files:
src/sys/opencrypto: cryptodev.h
Log Message:
add locking notes.
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/opencrypto/cryptodev.h
Please note that diffs
Module Name:src
Committed By: knakahara
Date: Tue Jun 6 01:47:23 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
restructure locks(2/2): crypto_q_mtx can be adaptive now.
To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/opencrypto
Module Name:src
Committed By: knakahara
Date: Tue Jun 6 01:45:57 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c cryptodev.h
Log Message:
restructure locks(1/2): make relation between lock and data explicit.
+ crypto_drv_mtx protects
- whole crypto_drive
Module Name:src
Committed By: knakahara
Date: Mon Jun 5 09:09:13 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
fix reading crp_q without holding crypto_q_mtx
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/opencrypto/crypto.c
Module Name:src
Committed By: knakahara
Date: Mon Jun 5 09:07:46 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
use crypto_checkdriver_uninit() when it may touch uninitialized crypto_drivers.
To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1
Module Name:src
Committed By: knakahara
Date: Fri Jun 2 09:46:57 UTC 2017
Modified Files:
src/sys/opencrypto: cryptodev.c cryptodev_internal.h ocryptodev.c
Log Message:
rename crypto_mtx to cryptodev_mtx
It is used by cryptodev.c and ocryptodev.c only.
To generate a di
Module Name:src
Committed By: knakahara
Date: Thu Jun 1 08:49:35 UTC 2017
Modified Files:
src/sys/opencrypto: cryptosoft.c
Log Message:
swcrypto0 was initialized twice. Fix like pseudo network interfaces.
ok by pgoyette@n.o.
To generate a diff of this commit:
cvs rdiff
Module Name:src
Committed By: knakahara
Date: Wed May 31 02:17:49 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
fix: crypto_unregister didn't work.
To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/opencrypto/crypto.c
Please note
Module Name:src
Committed By: knakahara
Date: Mon May 29 09:02:46 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
strictly use crypto_checkdriver(i) instead of using crypto_drivers[i] directly.
To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1
Module Name:src
Committed By: knakahara
Date: Thu May 25 05:24:57 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c cryptodev.c cryptodev.h
Log Message:
add cryptkop alloc/free KPI instead of manipulating cryptkop_pool directly.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: knakahara
Date: Thu May 25 05:22:56 UTC 2017
Modified Files:
src/sys/opencrypto: cryptodev.h
Log Message:
remove obsoleted declarations.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/opencrypto/cryptodev.h
Please not
Module Name:src
Committed By: knakahara
Date: Wed May 24 10:05:09 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c files.opencrypto
Log Message:
make the default values of q_maxlen build parameters.
To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/s
Module Name:src
Committed By: knakahara
Date: Wed May 24 09:57:36 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
implement crypto_ret_q limitation. original code is implemented by hsuenaga@IIJ.
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r
Module Name:src
Committed By: knakahara
Date: Wed May 24 09:54:35 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
add crypto_ret_{,k}q length sysctl entries and statistics codes.
To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/ope
Module Name:src
Committed By: knakahara
Date: Wed May 24 05:11:29 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
initialize sysctl in the same way regardless of module or not.
To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/openc
Module Name:src
Committed By: knakahara
Date: Wed May 17 12:11:41 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
decrease the priority of batch crp even if there are more than one batch crp.
To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.7
Module Name:src
Committed By: knakahara
Date: Wed May 17 11:04:38 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
refactor cryptointr(), no functional changes.
To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/opencrypto/crypto.c
P
Module Name:src
Committed By: knakahara
Date: Wed May 17 11:03:42 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
fix cryptointr() can process unexpected request.
If migrate crp is linked after batch crp, "submit" is already set to
the batch crp. So, cr
Module Name:src
Committed By: knakahara
Date: Wed May 17 07:12:50 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
refactor crypto_kdispatch() in a similar way as crypto_dispatch().
To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/o
Module Name:src
Committed By: knakahara
Date: Wed May 17 06:53:02 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
refactor crypto_dispatch (3/3): do "blocked" operation previously
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/op
Module Name:src
Committed By: knakahara
Date: Wed May 17 06:52:08 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
refactor crypto_dispatch (2/3): divide migrate operation
To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/opencrypto/
Module Name:src
Committed By: knakahara
Date: Wed May 17 06:50:12 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
refactor crypto_dispatch (1/3): divide batch operation
Processing batch operation at first, crypto_q_mtx's lock region is reduced
because c
Module Name:src
Committed By: knakahara
Date: Wed May 17 06:33:04 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c cryptodev.c cryptodev.h cryptosoft.c
deflate.c ocryptodev.c
Log Message:
opencrypto: cleanup debug messages.
To generate a diff of this com
Module Name:src
Committed By: knakahara
Date: Wed May 10 09:45:51 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
fix: crypto_drivers[hid].cc_process() could be called even if it was null.
If a crypto driver is unregistered before calling cyrptointr(),
Module Name:src
Committed By: knakahara
Date: Wed May 10 03:26:33 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
unify implementation of crypto_unregister() and crypto_unregister_all()
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/
Module Name:src
Committed By: knakahara
Date: Wed May 10 03:23:26 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
refactor crypto_unregister()
- separate logic to crypto_unregister_locked()
- refactor cryptocap cleanup condition
To generate a
Module Name:src
Committed By: knakahara
Date: Wed May 10 03:15:32 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
use macro instead of immediate value
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/opencrypto/crypto.c
Please not
Module Name:src
Committed By: knakahara
Date: Tue May 2 03:17:43 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
add some assertion. tested by ATF net/ipsec/ and crypto/.
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/opencrypto
Module Name:src
Committed By: knakahara
Date: Wed Apr 26 03:29:37 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
When crypto request is deferred processing, opencrypto should not return error.
When the crypto device blocks a crypto request, opnecrypto
Module Name:src
Committed By: knakahara
Date: Mon Apr 24 03:29:37 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c cryptodev.c cryptodev.h
cryptodev_internal.h
Log Message:
separate crypto_drv_mtx from crypto_mtx.
crypto_mtx is used only for cryptodev.c a
Module Name:src
Committed By: knakahara
Date: Mon Apr 24 02:04:55 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
reduce crypto_q_mtx lock regions.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/opencrypto/crypto.c
Please note t
Module Name:src
Committed By: knakahara
Date: Mon Apr 24 01:42:00 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
refactor crypto_unblock(). No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/opencrypto/crypto.c
Module Name:src
Committed By: maya
Date: Tue Apr 18 17:05:05 UTC 2017
Modified Files:
src/sys/opencrypto: cryptosoft.c
Log Message:
Remove duplicate assignment.
We assign the same value unconditionally just before.
from clang static analyzer
XXX surrounding code seems fi
Module Name:src
Committed By: ozaki-r
Date: Thu Apr 13 01:24:34 UTC 2017
Modified Files:
src/sys/opencrypto: cryptosoft.c
Log Message:
Fix usage of MD5Final/SHA1Final
Passing NULL as the digest parameter is wrong.
To generate a diff of this commit:
cvs rdiff -u -r1.47 -
Module Name:src
Committed By: knakahara
Date: Fri Apr 7 12:17:57 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c cryptodev.c
Log Message:
the processing said "ghastly hacks" is unnecessary now.
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/
Module Name:src
Committed By: knakahara
Date: Fri Apr 7 12:15:51 UTC 2017
Modified Files:
src/sys/opencrypto: cryptodev.c cryptodev.h
Log Message:
fix race among crypto_done(), cryptoret(), and {cryptodev_op(),
cryptodev_key()}.
crypto_op() waited to be set CRYPTO_F_DON
Module Name:src
Committed By: knakahara
Date: Thu Apr 6 09:39:12 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
fix build failure ALL
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/opencrypto/crypto.c
Please note that diffs ar
Module Name:src
Committed By: knakahara
Date: Wed Apr 5 08:51:04 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c cryptodev.c
Log Message:
fix processes accessing /dev/crypto stall when over three processes run with a
hardware encryption driver
The process has stal
Module Name:src
Committed By: knakahara
Date: Wed Mar 29 23:02:43 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
fix missing mutex_exit() in crypto_destroy().
crypto_destroy() is called only in error case or unloading module.
To generate a diff of th
Module Name:src
Committed By: knakahara
Date: Thu Mar 16 05:23:56 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
fix: remove unmatched mutex_exit/enter. must be forgetting to remove at
crypto.c:r1.41
To generate a diff of this commit:
cvs rdiff -u -r
Module Name:src
Committed By: knakahara
Date: Thu Feb 9 06:03:29 UTC 2017
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
make some locks and condvar static
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/opencrypto/crypto.c
Please note
Module Name:src
Committed By: christos
Date: Mon Sep 26 14:50:54 UTC 2016
Modified Files:
src/sys/opencrypto: aesxcbcmac.c
Log Message:
>From Alexander Nasonov:
- Make constants static: Shrinks code and data size.
- Avoid overflow in limit calculation.
- Use uint8_t instea
Module Name:src
Committed By: dholland
Date: Fri Jan 22 22:35:27 UTC 2016
Modified Files:
src/sys/opencrypto: cryptodev.h
Log Message:
Needs sys/time.h for struct timespec.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/opencrypto/cryptodev.h
Plea
Module Name:src
Committed By: christos
Date: Sat Nov 28 03:40:43 UTC 2015
Modified Files:
src/sys/opencrypto: crypto.c
Log Message:
fix the build
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/opencrypto/crypto.c
Please note that diffs are not pub
Module Name:src
Committed By: pgoyette
Date: Sat Nov 28 03:06:46 UTC 2015
Modified Files:
src/sys/opencrypto: crypto.c cryptodev.h
Log Message:
Re-work the module init and destroy code to allow it to be unloaded and
then reloaded.
Should fix PR kern/49842
To generate a
Module Name:src
Committed By: prlw1
Date: Thu Mar 26 17:40:16 UTC 2015
Modified Files:
src/sys/opencrypto: cryptodev.c deflate.c
Log Message:
Trivial printf format changes and typo fix
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/opencrypto/crypt
Module Name:src
Committed By: christos
Date: Thu Nov 27 20:30:05 UTC 2014
Modified Files:
src/sys/opencrypto: cryptodev.c
Log Message:
Return ENOSPC instead of ENOMEM when there is no room in the buffer to
store results. ENOMEM in this subsystem means we cannot allocate mo
Module Name:src
Committed By: christos
Date: Thu Nov 27 20:30:21 UTC 2014
Modified Files:
src/sys/opencrypto: cryptosoft_xform.c
Log Message:
simplify, no functional change
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/opencrypto/cryptosoft_xform.
Module Name:src
Committed By: matt
Date: Fri Sep 5 09:23:40 UTC 2014
Modified Files:
src/sys/opencrypto: cryptodev.c ocryptodev.c
Log Message:
Try not to use f_data, use f_fcrypt to get a correctly typed pointer.
To generate a diff of this commit:
cvs rdiff -u -r1.80 -r
Module Name:src
Committed By: skrll
Date: Mon Aug 4 14:17:19 UTC 2014
Modified Files:
src/sys/opencrypto: cryptodev.c
Log Message:
At least crypto_mtx needs initialisation here. Spotted during PR/49065
investigation.
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: riastradh
Date: Wed Jul 2 18:58:42 UTC 2014
Modified Files:
src/sys/opencrypto: cryptosoft.c
Log Message:
If we register with pmf on attach, deregister on detach.
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/opencry
Module Name:src
Committed By: christos
Date: Sat Jun 21 17:34:30 UTC 2014
Modified Files:
src/sys/opencrypto: cryptosoft.c
Log Message:
register with pmf.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/opencrypto/cryptosoft.c
Please note that diff
Module Name:src
Committed By: pgoyette
Date: Fri Jan 31 18:11:32 UTC 2014
Modified Files:
src/sys/opencrypto: cryptodev.c
Log Message:
Replace home-grown config with standardized calls to
config_{init,fini}_component()
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: pgoyette
Date: Fri Jan 24 15:11:09 UTC 2014
Modified Files:
src/sys/opencrypto: cryptodev.c
Log Message:
As requested by mrg@, since there is still a small window during which
the in-module ref-counting can fail, completely disable auto-unload
1 - 100 of 144 matches
Mail list logo