/src/sys/opencrypto/ |
cryptodev.c | 236 struct crypt_sfop *sfop; local in function:cryptof_ioctl 326 sfop = (struct crypt_sfop *)data; 327 if (sfop->count <= 0 328 || SIZE_MAX / sizeof(u_int32_t) <= sfop->count) { 332 sesid = kmem_alloc((sfop->count * sizeof(u_int32_t)), 334 error = copyin(sfop->sesid, sesid, 335 (sfop->count * sizeof(u_int32_t))); 337 cryptodev_msessionfin(fcr, sfop->count, sesid); 339 kmem_free(sesid, (sfop->count * sizeof(u_int32_t)));
|
cryptodev.c | 236 struct crypt_sfop *sfop; local in function:cryptof_ioctl 326 sfop = (struct crypt_sfop *)data; 327 if (sfop->count <= 0 328 || SIZE_MAX / sizeof(u_int32_t) <= sfop->count) { 332 sesid = kmem_alloc((sfop->count * sizeof(u_int32_t)), 334 error = copyin(sfop->sesid, sesid, 335 (sfop->count * sizeof(u_int32_t))); 337 cryptodev_msessionfin(fcr, sfop->count, sesid); 339 kmem_free(sesid, (sfop->count * sizeof(u_int32_t)));
|
cryptodev.c | 236 struct crypt_sfop *sfop; local in function:cryptof_ioctl 326 sfop = (struct crypt_sfop *)data; 327 if (sfop->count <= 0 328 || SIZE_MAX / sizeof(u_int32_t) <= sfop->count) { 332 sesid = kmem_alloc((sfop->count * sizeof(u_int32_t)), 334 error = copyin(sfop->sesid, sesid, 335 (sfop->count * sizeof(u_int32_t))); 337 cryptodev_msessionfin(fcr, sfop->count, sesid); 339 kmem_free(sesid, (sfop->count * sizeof(u_int32_t)));
|