Home
last modified time | relevance | path

Searched refs:hmac_sha1_ctx (Results 1 – 4 of 4) sorted by relevance

/linux/include/crypto/
H A Dsha1.h114 struct hmac_sha1_ctx { struct
142 void hmac_sha1_init(struct hmac_sha1_ctx *ctx, const struct hmac_sha1_key *key);
156 void hmac_sha1_init_usingrawkey(struct hmac_sha1_ctx *ctx,
169 static inline void hmac_sha1_update(struct hmac_sha1_ctx *ctx, in hmac_sha1_update()
184 void hmac_sha1_final(struct hmac_sha1_ctx *ctx,
/linux/crypto/
H A Dsha1.c120 #define HMAC_SHA1_CTX(desc) ((struct hmac_sha1_ctx *)shash_desc_ctx(desc))
162 struct hmac_sha1_ctx *ctx = HMAC_SHA1_CTX(desc); in crypto_hmac_sha1_import()
175 struct hmac_sha1_ctx *ctx = HMAC_SHA1_CTX(desc); in crypto_hmac_sha1_import_core()
217 .descsize = sizeof(struct hmac_sha1_ctx),
/linux/lib/crypto/
H A Dsha1.c275 void hmac_sha1_init(struct hmac_sha1_ctx *ctx, const struct hmac_sha1_key *key) in hmac_sha1_init()
283 void hmac_sha1_init_usingrawkey(struct hmac_sha1_ctx *ctx, in hmac_sha1_init_usingrawkey()
292 void hmac_sha1_final(struct hmac_sha1_ctx *ctx, u8 out[SHA1_DIGEST_SIZE]) in hmac_sha1_final()
314 struct hmac_sha1_ctx ctx; in hmac_sha1()
326 struct hmac_sha1_ctx ctx; in hmac_sha1_usingrawkey()
/linux/lib/crypto/tests/
H A Dsha1_kunit.c15 #define HMAC_CTX hmac_sha1_ctx