Searched refs:octx (Results 1 – 5 of 5) sorted by relevance
/drivers/crypto/allwinner/sun4i-ss/ |
D | sun4i-ss-hash.c | 65 struct md5_state *octx = out; in sun4i_hash_export_md5() local 68 octx->byte_count = op->byte_count + op->len; in sun4i_hash_export_md5() 70 memcpy(octx->block, op->buf, op->len); in sun4i_hash_export_md5() 74 octx->hash[i] = op->hash[i]; in sun4i_hash_export_md5() 76 octx->hash[0] = SHA1_H0; in sun4i_hash_export_md5() 77 octx->hash[1] = SHA1_H1; in sun4i_hash_export_md5() 78 octx->hash[2] = SHA1_H2; in sun4i_hash_export_md5() 79 octx->hash[3] = SHA1_H3; in sun4i_hash_export_md5() 107 struct sha1_state *octx = out; in sun4i_hash_export_sha1() local 110 octx->count = op->byte_count + op->len; in sun4i_hash_export_sha1() [all …]
|
/drivers/crypto/ |
D | omap-aes-gcm.c | 233 dd->ctx = &ctx->octx; in omap_aes_gcm_prepare_req() 293 memcpy(rctx->iv, ctx->octx.nonce, 4); in omap_aes_4106gcm_encrypt() 305 memcpy(rctx->iv, ctx->octx.nonce, 4); in omap_aes_4106gcm_decrypt() 321 memcpy(ctx->octx.key, key, keylen); in omap_aes_gcm_setkey() 322 ctx->octx.keylen = keylen; in omap_aes_gcm_setkey() 341 memcpy(ctx->octx.key, key, keylen); in omap_aes_4106gcm_setkey() 342 memcpy(ctx->octx.nonce, key + keylen, 4); in omap_aes_4106gcm_setkey() 343 ctx->octx.keylen = keylen; in omap_aes_4106gcm_setkey()
|
D | omap-aes.h | 104 struct omap_aes_ctx octx; member
|
/drivers/net/ethernet/ibm/emac/ |
D | emac.h | 69 u32 octx; member
|
/drivers/block/drbd/ |
D | drbd_receiver.c | 1261 struct one_flush_context *octx = bio->bi_private; in one_flush_endio() local 1262 struct drbd_device *device = octx->device; in one_flush_endio() 1263 struct issue_flush_context *ctx = octx->ctx; in one_flush_endio() 1269 kfree(octx); in one_flush_endio() 1284 struct one_flush_context *octx = kmalloc(sizeof(*octx), GFP_NOIO); in submit_one_flush() local 1286 if (!octx) { in submit_one_flush() 1299 octx->device = device; in submit_one_flush() 1300 octx->ctx = ctx; in submit_one_flush() 1301 bio->bi_private = octx; in submit_one_flush()
|