Lines Matching defs:digest

20  * These data structures define modular message digest algorithm
45 * struct hash_alg_common - define properties of message digest
86 * struct ahash_alg - asynchronous message digest definition
96 * final message digest as this only adds more data into the
113 * @digest: Combination of @init and @update and @final. This function
130 * @init, @update, @final, @finup, @digest is called. No data
163 int (*digest)(struct ahash_request *req);
194 * struct shash_alg - synchronous message digest definition
199 * @digest: see struct ahash_alg
217 * @descsize: Size of the operational state for the message digest. This state
232 int (*digest)(struct shash_desc *desc, const u8 *data,
257 int (*digest)(struct ahash_request *req);
276 * The asynchronous message digest API is used with the ciphers of type
355 * The block size for the message digest cipher referenced with the cipher
378 * crypto_ahash_digestsize() - obtain message digest size
381 * The size for the message digest created by the message digest cipher
385 * Return: message digest size of cipher
469 * crypto_ahash_finup() - update and finalize message digest
482 * crypto_ahash_final() - calculate message digest
486 * Finalize the message digest operation and create the message digest
487 * based on all data added to the cipher handle. The message digest is placed
491 * 0 if the message digest was successfully calculated;
499 * crypto_ahash_digest() - calculate message digest for a buffer
512 * crypto_ahash_export() - extract current message digest state
528 * crypto_ahash_import() - import message digest state
549 * crypto_ahash_init() - (re)initialize message digest handle
553 * The call (re-)initializes the message digest referenced by the ahash_request
591 * crypto_ahash_update() - add data to message digest for processing
595 * Updates the message digest state of the &ahash_request handle. The input data
618 * to plaintext and the message digest output buffer, asynchronous callback
643 * message digest API calls. During
723 * @result: buffer that is filled with the message digest -- the caller must
729 * The source scatter/gather list points to the data the message digest is to
744 * The synchronous message digest API is used with the ciphers of type
747 * The message digest API is able to maintain state information for the
750 * The synchronous message digest API can store user-related context in its
755 * crypto_alloc_shash() - allocate message digest handle
757 * message digest cipher
761 * Allocate a cipher handle for a message digest. The returned &struct
763 * API invocation for that message digest.
781 * crypto_free_shash() - zeroize and free the message digest handle
811 * The block size for the message digest cipher referenced with the cipher
832 * crypto_shash_digestsize() - obtain message digest size
835 * The size for the message digest created by the message digest cipher
838 * Return: digest size of cipher
891 * crypto_shash_setkey() - set key for message digest
896 * The caller provided key is set for the keyed message digest cipher. The
897 * cipher handle must point to a keyed message digest cipher in order for this
907 * crypto_shash_digest() - calculate message digest for buffer
918 * Return: 0 if the message digest creation was successful; < 0 if an error
925 * crypto_shash_tfm_digest() - calculate message digest for buffer
944 * crypto_shash_export() - extract operational state for message digest
983 * crypto_shash_init() - (re)initialize message digest
986 * The call (re-)initializes the message digest referenced by the
991 * Return: 0 if the message digest initialization was successful; < 0 if an
1005 * crypto_shash_update() - add data to message digest for processing
1007 * @data: input data to be added to the message digest
1010 * Updates the message digest state of the operational state handle.
1013 * Return: 0 if the message digest update was successful; < 0 if an error
1020 * crypto_shash_final() - calculate message digest
1022 * @out: output buffer filled with the message digest
1024 * Finalize the message digest operation and create the message digest
1025 * based on all data added to the cipher handle. The message digest is placed
1030 * Return: 0 if the message digest creation was successful; < 0 if an error
1036 * crypto_shash_finup() - calculate message digest of buffer
1047 * Return: 0 if the message digest creation was successful; < 0 if an error