Changeset View
Changeset View
Standalone View
Standalone View
sys/opencrypto/cryptodev.h
Show First 20 Lines • Show All 656 Lines • ▼ Show 20 Lines | int crypto_apply_buf(struct crypto_buffer *cb, int off, int len, | ||||
int (*f)(void *, const void *, u_int), void *arg); | int (*f)(void *, const void *, u_int), void *arg); | ||||
void *crypto_buffer_contiguous_subsegment(struct crypto_buffer *cb, | void *crypto_buffer_contiguous_subsegment(struct crypto_buffer *cb, | ||||
size_t skip, size_t len); | size_t skip, size_t len); | ||||
size_t crypto_buffer_len(struct crypto_buffer *cb); | size_t crypto_buffer_len(struct crypto_buffer *cb); | ||||
void crypto_cursor_init(struct crypto_buffer_cursor *cc, | void crypto_cursor_init(struct crypto_buffer_cursor *cc, | ||||
const struct crypto_buffer *cb); | const struct crypto_buffer *cb); | ||||
void crypto_cursor_advance(struct crypto_buffer_cursor *cc, size_t amount); | void crypto_cursor_advance(struct crypto_buffer_cursor *cc, size_t amount); | ||||
void *crypto_cursor_segment(struct crypto_buffer_cursor *cc, size_t *len); | void *crypto_cursor_segment(struct crypto_buffer_cursor *cc, size_t *len); | ||||
void *crypto_cursor_segbase(struct crypto_buffer_cursor *cc); | |||||
size_t crypto_cursor_seglen(struct crypto_buffer_cursor *cc); | |||||
void crypto_cursor_copyback(struct crypto_buffer_cursor *cc, int size, | void crypto_cursor_copyback(struct crypto_buffer_cursor *cc, int size, | ||||
const void *vsrc); | const void *vsrc); | ||||
void crypto_cursor_copydata(struct crypto_buffer_cursor *cc, int size, | void crypto_cursor_copydata(struct crypto_buffer_cursor *cc, int size, | ||||
void *vdst); | void *vdst); | ||||
void crypto_cursor_copydata_noadv(struct crypto_buffer_cursor *cc, int size, | void crypto_cursor_copydata_noadv(struct crypto_buffer_cursor *cc, int size, | ||||
void *vdst); | void *vdst); | ||||
static __inline void | static __inline void | ||||
Show All 13 Lines |