Lines Matching defs:data
43 * Size of right-hand part of input data, in bytes; also the size of the block
79 * Buffer for right-hand part of data, i.e.
126 } *data;
140 data = kzalloc(sizeof(*data) +
142 if (!data)
144 data->iv[0] = 1;
145 sg_init_one(&data->sg, data->derived_keys, sizeof(data->derived_keys));
146 crypto_init_wait(&data->wait);
147 skcipher_request_set_tfm(&data->req, tctx->streamcipher);
148 skcipher_request_set_callback(&data->req, CRYPTO_TFM_REQ_MAY_SLEEP |
150 crypto_req_done, &data->wait);
151 skcipher_request_set_crypt(&data->req, &data->sg, &data->sg,
152 sizeof(data->derived_keys), data->iv);
153 err = crypto_wait_req(crypto_skcipher_encrypt(&data->req), &data->wait);
156 keyp = data->derived_keys;
178 WARN_ON(keyp != &data->derived_keys[ARRAY_SIZE(data->derived_keys)]);
180 kfree_sensitive(data);
313 struct skcipher_request *req = areq->data;
364 * XChaCha needs to be done on all the data except the last 16 bytes;