Searched refs:hash_ctx (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/crypto/
H A Dalgif_hash.c24 struct hash_ctx { struct
48 struct hash_ctx *ctx = ask->private; hash_sendmsg()
109 struct hash_ctx *ctx = ask->private; hash_sendpage()
154 struct hash_ctx *ctx = ask->private; hash_recvmsg()
185 struct hash_ctx *ctx = ask->private; hash_accept()
190 struct hash_ctx *ctx2; hash_accept()
387 struct hash_ctx *ctx = ask->private; hash_sock_destruct()
397 struct hash_ctx *ctx; hash_accept_parent_nokey()
/linux-4.1.27/drivers/crypto/ux500/hash/
H A Dhash_core.c148 struct hash_ctx *ctx = data; hash_dma_callback()
153 static int hash_set_dma_transfer(struct hash_ctx *ctx, struct scatterlist *sg, hash_set_dma_transfer()
200 static void hash_dma_done(struct hash_ctx *ctx) hash_dma_done()
210 static int hash_dma_write(struct hash_ctx *ctx, hash_dma_write()
236 struct hash_ctx *ctx = device_data->current_ctx; get_empty_message_digest()
373 * @hash_ctx: Structure for the hash context.
380 static int hash_get_device_data(struct hash_ctx *ctx, hash_get_device_data()
486 struct hash_ctx *ctx) init_hash_hw()
567 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); hash_init()
757 void hash_begin(struct hash_device_data *device_data, struct hash_ctx *ctx) hash_begin()
779 struct hash_ctx *ctx, struct hash_req_ctx *req_ctx, hash_process_data()
872 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); hash_dma_final()
978 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); hash_hw_final()
1085 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); hash_hw_update()
1350 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); hash_setkey()
1369 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); ahash_sha1_init()
1382 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); ahash_sha256_init()
1425 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); hmac_sha1_init()
1438 struct hash_ctx *ctx = crypto_ahash_ctx(tfm); hmac_sha256_init()
1497 struct hash_ctx *ctx = crypto_tfm_ctx(tfm); hash_cra_init()
1527 .halg.statesize = sizeof(struct hash_ctx),
1534 .cra_ctxsize = sizeof(struct hash_ctx),
1549 .halg.statesize = sizeof(struct hash_ctx),
1556 .cra_ctxsize = sizeof(struct hash_ctx),
1573 .halg.statesize = sizeof(struct hash_ctx),
1580 .cra_ctxsize = sizeof(struct hash_ctx),
1597 .halg.statesize = sizeof(struct hash_ctx),
1604 .cra_ctxsize = sizeof(struct hash_ctx),
1893 struct hash_ctx *temp_ctx = NULL; ux500_hash_suspend()
1930 struct hash_ctx *temp_ctx = NULL; ux500_hash_resume()
H A Dhash_alg.h320 * struct hash_ctx - The context used for hash calculations.
328 struct hash_ctx { struct
337 * struct hash_ctx - The request context used for hash calculations.
370 struct hash_ctx *current_ctx;
385 void hash_begin(struct hash_device_data *device_data, struct hash_ctx *ctx);
/linux-4.1.27/arch/x86/crypto/sha-mb/
H A Dsha1_mb.c83 static inline struct mcryptd_hash_request_ctx *cast_hash_to_mcryptd_ctx(struct sha1_hash_ctx *hash_ctx) cast_hash_to_mcryptd_ctx() argument
87 desc = container_of((void *) hash_ctx, struct shash_desc, __ctx); cast_hash_to_mcryptd_ctx()
/linux-4.1.27/drivers/crypto/
H A Dpicoxcell_crypto.c172 u8 hash_ctx[SPACC_CRYPTO_IPSEC_HASH_PG_SZ]; member in struct:spacc_aead_ctx
507 if (keys.authkeylen > sizeof(ctx->hash_ctx)) spacc_aead_setkey()
519 memcpy(ctx->hash_ctx, keys.authkey, keys.authkeylen); spacc_aead_setkey()
609 ctx->hash_ctx, ctx->hash_key_len); spacc_aead_submit()

Completed in 239 milliseconds