Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun4i-ss/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/s390/crypto/
H A Dsha1_s390.c48 struct sha1_state *octx = out; in s390_sha1_export() local
50 octx->count = sctx->count; in s390_sha1_export()
51 memcpy(octx->state, sctx->state, sizeof(octx->state)); in s390_sha1_export()
52 memcpy(octx->buffer, sctx->buf, sizeof(octx->buffer)); in s390_sha1_export()
H A Dsha3_512_s390.c34 struct sha3_state *octx = out; in sha3_512_export() local
36 octx->rsiz = sctx->count; in sha3_512_export()
37 octx->rsizw = sctx->count >> 32; in sha3_512_export()
39 memcpy(octx->st, sctx->state, sizeof(octx->st)); in sha3_512_export()
40 memcpy(octx->buf, sctx->buf, sizeof(octx->buf)); in sha3_512_export()
H A Dsha512_s390.c42 struct sha512_state *octx = out; in sha512_export() local
44 octx->count[0] = sctx->count; in sha512_export()
45 octx->count[1] = 0; in sha512_export()
46 memcpy(octx->state, sctx->state, sizeof(octx->state)); in sha512_export()
47 memcpy(octx->buf, sctx->buf, sizeof(octx->buf)); in sha512_export()
H A Dsha3_256_s390.c35 struct sha3_state *octx = out; in sha3_256_export() local
37 octx->rsiz = sctx->count; in sha3_256_export()
38 memcpy(octx->st, sctx->state, sizeof(octx->st)); in sha3_256_export()
39 memcpy(octx->buf, sctx->buf, sizeof(octx->buf)); in sha3_256_export()
H A Dsha256_s390.c41 struct sha256_state *octx = out; in sha256_export() local
43 octx->count = sctx->count; in sha256_export()
44 memcpy(octx->state, sctx->state, sizeof(octx->state)); in sha256_export()
45 memcpy(octx->buf, sctx->buf, sizeof(octx->buf)); in sha256_export()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A 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()
H A Domap-aes.h104 struct omap_aes_ctx octx; member
/OK3568_Linux_fs/external/xserver/Xext/
H A Dxselinux_ext.c40 security_context_t octx; member
314 if (avc_sid_to_context_raw(obj->sid, &i->octx) < 0) in SELinuxPopulateItem()
320 i->octx_len = bytes_to_int32(strlen(i->octx) + 1); in SELinuxPopulateItem()
333 freecon(items[k].octx); in SELinuxFreeItems()
370 memcpy((char *) (buf + pos), items[k].octx, strlen(items[k].octx) + 1); in SELinuxSendItemsToClient()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dtcp_fastopen.c72 struct tcp_fastopen_context *ctx, *octx; in tcp_fastopen_reset_cipher() local
95 octx = rcu_dereference_protected(q->ctx, in tcp_fastopen_reset_cipher()
99 octx = rcu_dereference_protected(net->ipv4.tcp_fastopen_ctx, in tcp_fastopen_reset_cipher()
105 if (octx) in tcp_fastopen_reset_cipher()
106 call_rcu(&octx->rcu, tcp_fastopen_ctx_free); in tcp_fastopen_reset_cipher()
/OK3568_Linux_fs/kernel/fs/
H A Duserfaultfd.c641 struct userfaultfd_ctx *ctx = NULL, *octx; in dup_userfaultfd() local
644 octx = vma->vm_userfaultfd_ctx.ctx; in dup_userfaultfd()
645 if (!octx || !(octx->features & UFFD_FEATURE_EVENT_FORK)) { in dup_userfaultfd()
655 if (fctx->orig == octx) { in dup_userfaultfd()
672 ctx->flags = octx->flags; in dup_userfaultfd()
673 ctx->features = octx->features; in dup_userfaultfd()
679 userfaultfd_ctx_get(octx); in dup_userfaultfd()
680 WRITE_ONCE(octx->mmap_changing, true); in dup_userfaultfd()
681 fctx->orig = octx; in dup_userfaultfd()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ibm/emac/
H A Demac.h69 u32 octx; member
/OK3568_Linux_fs/kernel/drivers/block/drbd/
H A 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()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/qemu/qemu/
H A D0016_let_ld_pointer_dma_function_take_MemTxAttrs_argument.patch72 octx = xhci_mask64(poctx);
H A D0018_let_ld_pointer_dma_function_propagate_MemTxResult.patch74 octx = xhci_mask64(poctx);