Lines Matching defs:crd
65 struct cryptodesc *crd;
82 p = malloc(sizeof(*crp) + sizeof(*crd) + sizeof(*uio) + sizeof(*iov),
89 crd = (struct cryptodesc *)p; p += sizeof(*crd);
101 crd->crd_skip = 0;
102 crd->crd_len = datasize;
103 crd->crd_flags = CRD_F_IV_EXPLICIT | CRD_F_IV_PRESENT;
105 crd->crd_flags |= CRD_F_ENCRYPT;
106 crd->crd_alg = algo;
107 crd->crd_key = __DECONST(void *, key);
108 crd->crd_klen = keysize;
109 bzero(crd->crd_iv, sizeof(crd->crd_iv));
110 crd->crd_next = NULL;
119 crp->crp_desc = crd;