Lines Matching defs:data
19 * These data structures define modular message digest algorithm
37 * @base: Start of data structure of cipher algorithm. The common data
39 * The hash_alg_common data structure now adds the hash-specific
67 * transformation. No data processing happens at this point. Driver code
69 * @update: **[mandatory]** Push a chunk of data into the driver for transformation. This
70 * function actually pushes blocks of data from upper layers into the
73 * final message digest as this only adds more data into the
81 * pushes it back to upper layers. No data processing happens at this
83 * (then the data buffered by the device driver is processed).
107 * @init, @update, @final, @finup, @digest is called. No data
111 * data so it can be @import 'ed back later on. This is useful in case
113 * processing certain amount of data and reload this partial result
114 * multiple times later on for multiple re-use. No data processing
118 * data so the transformation can continue from this point onward. No
119 * data processing happens at this point. Driver must not use
200 int (*update)(struct shash_desc *desc, const u8 *data,
203 int (*finup)(struct shash_desc *desc, const u8 *data,
205 int (*digest)(struct shash_desc *desc, const u8 *data,
408 * crypto_ahash_reqsize() - obtain size of the request data structure
411 * Return: size of the request data
456 * based on all data added to the cipher handle. The message digest is placed
461 * -EINPROGRESS if data is feeded into hardware (DMA) or queued for later;
520 * data using the ahash_request_* API functions
539 * crypto_ahash_update() - add data to message digest for processing
543 * Updates the message digest state of the &ahash_request handle. The input data
565 * The &ahash_request data structure contains all pointers to data
579 * data structure with a different one.
588 * ahash_request_alloc() - allocate request data structure
592 * Allocate the request data structure that must be used with the ahash
595 * is registered in the request data structure.
614 * ahash_request_free() - zeroize and free the request data structure
615 * @req: request data structure cipher handle to be freed
642 * @data: The data pointer refers to memory that is not used by the kernel
646 * related functionality, it may need to access data structures of the
648 * callback function can access the memory via the "data" field in the
649 * &crypto_async_request data structure provided to the callback function.
662 void *data)
665 req->base.data = data;
670 * ahash_request_set_crypt() - set data buffers
679 * The source scatter/gather list points to the data the message digest is to
701 * shash_desc request data structure.
821 * that data structure is to be calculated as
855 * @data: see crypto_shash_update()
867 int crypto_shash_digest(struct shash_desc *desc, const u8 *data,
873 * @data: see crypto_shash_update()
886 int crypto_shash_tfm_digest(struct crypto_shash *tfm, const u8 *data,
951 * crypto_shash_update() - add data to message digest for processing
953 * @data: input data to be added to the message digest
954 * @len: length of the input data
962 int crypto_shash_update(struct shash_desc *desc, const u8 *data,
967 * @desc: operational state handle that is already filled with data
971 * based on all data added to the cipher handle. The message digest is placed
984 * @data: see crypto_shash_update()
996 int crypto_shash_finup(struct shash_desc *desc, const u8 *data,