Home
last modified time | relevance | path

Searched refs:octx (Results 1 – 5 of 5) sorted by relevance

/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-hash.c65 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/
Domap-aes-gcm.c233 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()
Domap-aes.h104 struct omap_aes_ctx octx; member
/drivers/net/ethernet/ibm/emac/
Demac.h69 u32 octx; member
/drivers/block/drbd/
Ddrbd_receiver.c1259 struct one_flush_context *octx = bio->bi_private; in one_flush_endio() local
1260 struct drbd_device *device = octx->device; in one_flush_endio()
1261 struct issue_flush_context *ctx = octx->ctx; in one_flush_endio()
1267 kfree(octx); in one_flush_endio()
1281 struct one_flush_context *octx = kmalloc(sizeof(*octx), GFP_NOIO); in submit_one_flush() local
1282 if (!bio || !octx) { in submit_one_flush()
1287 kfree(octx); in submit_one_flush()
1297 octx->device = device; in submit_one_flush()
1298 octx->ctx = ctx; in submit_one_flush()
1300 bio->bi_private = octx; in submit_one_flush()