Lines Matching +full:sha +full:- +full:1

1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Common values for SHA-1 algorithms
30 * An implementation of SHA-1's compression function. Don't use in new code!
31 * You shouldn't be using SHA-1, and even if you *have* to use SHA-1, this isn't
32 * the correct way to hash something with SHA-1 (use crypto_shash instead).
39 /* State for the SHA-1 compression function */
45 * struct sha1_ctx - Context for hashing a message with SHA-1
57 * sha1_init() - Initialize a SHA-1 context for a new message
67 * sha1_update() - Update a SHA-1 context with message data
79 * sha1_final() - Finish computing a SHA-1 message digest
81 * @out: (output) the resulting SHA-1 message digest
90 * sha1() - Compute SHA-1 message digest in one shot
93 * @out: (output) the resulting SHA-1 message digest
100 * struct hmac_sha1_key - Prepared key for HMAC-SHA1
110 * struct hmac_sha1_ctx - Context for computing HMAC-SHA1 of a message
120 * hmac_sha1_preparekey() - Prepare a key for HMAC-SHA1
122 * @raw_key: the raw HMAC-SHA1 key
134 * hmac_sha1_init() - Initialize an HMAC-SHA1 context for a new message
145 * hmac_sha1_init_usingrawkey() - Initialize an HMAC-SHA1 context for a new
148 * @raw_key: the raw HMAC-SHA1 key
160 * hmac_sha1_update() - Update an HMAC-SHA1 context with message data
172 sha1_update(&ctx->sha_ctx, data, data_len); in hmac_sha1_update()
176 * hmac_sha1_final() - Finish computing an HMAC-SHA1 value
178 * @out: (output) the resulting HMAC-SHA1 value
187 * hmac_sha1() - Compute HMAC-SHA1 in one shot, using a prepared key
191 * @out: (output) the resulting HMAC-SHA1 value
201 * hmac_sha1_usingrawkey() - Compute HMAC-SHA1 in one shot, using a raw key
202 * @raw_key: the raw HMAC-SHA1 key
206 * @out: (output) the resulting HMAC-SHA1 value