Searched refs:octx (Results 1 – 12 of 12) sorted by relevance
/linux/arch/s390/crypto/ |
A D | sha1_s390.c | 48 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()
|
A D | sha3_512_s390.c | 33 struct sha3_state *octx = out; in sha3_512_export() local 35 octx->rsiz = sctx->count; in sha3_512_export() 36 octx->rsizw = sctx->count >> 32; in sha3_512_export() 38 memcpy(octx->st, sctx->state, sizeof(octx->st)); in sha3_512_export() 39 memcpy(octx->buf, sctx->buf, sizeof(octx->buf)); in sha3_512_export()
|
A D | sha512_s390.c | 42 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()
|
A D | sha3_256_s390.c | 34 struct sha3_state *octx = out; in sha3_256_export() local 36 octx->rsiz = sctx->count; in sha3_256_export() 37 memcpy(octx->st, sctx->state, sizeof(octx->st)); in sha3_256_export() 38 memcpy(octx->buf, sctx->buf, sizeof(octx->buf)); in sha3_256_export()
|
A D | sha256_s390.c | 41 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()
|
/linux/drivers/crypto/allwinner/sun4i-ss/ |
A D | sun4i-ss-hash.c | 65 struct md5_state *octx = out; in sun4i_hash_export_md5() local 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() 118 octx->state[0] = SHA1_H0; in sun4i_hash_export_sha1() 119 octx->state[1] = SHA1_H1; in sun4i_hash_export_sha1() 120 octx->state[2] = SHA1_H2; in sun4i_hash_export_sha1() 121 octx->state[3] = SHA1_H3; in sun4i_hash_export_sha1() [all …]
|
/linux/drivers/crypto/ |
A 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()
|
A D | omap-aes.h | 104 struct omap_aes_ctx octx; member
|
/linux/net/ipv4/ |
A D | tcp_fastopen.c | 61 struct tcp_fastopen_context *ctx, *octx; in tcp_fastopen_reset_cipher() local 83 octx = xchg((__force struct tcp_fastopen_context **)&q->ctx, ctx); in tcp_fastopen_reset_cipher() 85 octx = xchg((__force struct tcp_fastopen_context **)&net->ipv4.tcp_fastopen_ctx, ctx); in tcp_fastopen_reset_cipher() 88 if (octx) in tcp_fastopen_reset_cipher() 89 call_rcu(&octx->rcu, tcp_fastopen_ctx_free); in tcp_fastopen_reset_cipher()
|
/linux/fs/ |
A D | userfaultfd.c | 642 struct userfaultfd_ctx *ctx = NULL, *octx; in dup_userfaultfd() local 645 octx = vma->vm_userfaultfd_ctx.ctx; in dup_userfaultfd() 646 if (!octx || !(octx->features & UFFD_FEATURE_EVENT_FORK)) { in dup_userfaultfd() 653 if (fctx->orig == octx) { in dup_userfaultfd() 670 ctx->flags = octx->flags; in dup_userfaultfd() 671 ctx->features = octx->features; in dup_userfaultfd() 677 userfaultfd_ctx_get(octx); in dup_userfaultfd() 678 atomic_inc(&octx->mmap_changing); in dup_userfaultfd() 679 fctx->orig = octx; in dup_userfaultfd()
|
/linux/drivers/net/ethernet/ibm/emac/ |
A D | emac.h | 69 u32 octx; member
|
/linux/drivers/block/drbd/ |
A 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() 1283 struct one_flush_context *octx = kmalloc(sizeof(*octx), GFP_NOIO); in submit_one_flush() local 1284 if (!bio || !octx) { in submit_one_flush() 1289 kfree(octx); in submit_one_flush() 1299 octx->device = device; in submit_one_flush() 1300 octx->ctx = ctx; in submit_one_flush() 1302 bio->bi_private = octx; in submit_one_flush()
|
Completed in 32 milliseconds