cryptodev.c (9823d52705ad71f19ef2205aa729547ac396e3eb) cryptodev.c (ca04d21d5fdff6e58af745766024088091fe3d90)
1/* $OpenBSD: cryptodev.c,v 1.52 2002/06/19 07:22:46 deraadt Exp $ */
2
3/*-
4 * Copyright (c) 2001 Theo de Raadt
5 * Copyright (c) 2002-2006 Sam Leffler, Errno Consulting
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 290 unchanged lines hidden (view full) ---

299 .fo_truncate = cryptof_truncate,
300 .fo_ioctl = cryptof_ioctl,
301 .fo_poll = cryptof_poll,
302 .fo_kqfilter = cryptof_kqfilter,
303 .fo_stat = cryptof_stat,
304 .fo_close = cryptof_close,
305 .fo_chmod = invfo_chmod,
306 .fo_chown = invfo_chown,
1/* $OpenBSD: cryptodev.c,v 1.52 2002/06/19 07:22:46 deraadt Exp $ */
2
3/*-
4 * Copyright (c) 2001 Theo de Raadt
5 * Copyright (c) 2002-2006 Sam Leffler, Errno Consulting
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 290 unchanged lines hidden (view full) ---

299 .fo_truncate = cryptof_truncate,
300 .fo_ioctl = cryptof_ioctl,
301 .fo_poll = cryptof_poll,
302 .fo_kqfilter = cryptof_kqfilter,
303 .fo_stat = cryptof_stat,
304 .fo_close = cryptof_close,
305 .fo_chmod = invfo_chmod,
306 .fo_chown = invfo_chown,
307 .fo_sendfile = invfo_sendfile,
307};
308
309static struct csession *csefind(struct fcrypt *, u_int);
310static int csedelete(struct fcrypt *, struct csession *);
311static struct csession *cseadd(struct fcrypt *, struct csession *);
312static struct csession *csecreate(struct fcrypt *, u_int64_t, caddr_t,
313 u_int64_t, caddr_t, u_int64_t, u_int32_t, u_int32_t, struct enc_xform *,
314 struct auth_hash *);

--- 865 unchanged lines hidden ---
308};
309
310static struct csession *csefind(struct fcrypt *, u_int);
311static int csedelete(struct fcrypt *, struct csession *);
312static struct csession *cseadd(struct fcrypt *, struct csession *);
313static struct csession *csecreate(struct fcrypt *, u_int64_t, caddr_t,
314 u_int64_t, caddr_t, u_int64_t, u_int32_t, u_int32_t, struct enc_xform *,
315 struct auth_hash *);

--- 865 unchanged lines hidden ---