Home
last modified time | relevance | path

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

/linux-4.4.14/arch/s390/crypto/
Dsha1_s390.c53 struct sha1_state *octx = out; in sha1_export() local
55 octx->count = sctx->count; in sha1_export()
56 memcpy(octx->state, sctx->state, sizeof(octx->state)); in sha1_export()
57 memcpy(octx->buffer, sctx->buf, sizeof(octx->buffer)); in sha1_export()
Dsha512_s390.c47 struct sha512_state *octx = out; in sha512_export() local
49 octx->count[0] = sctx->count; in sha512_export()
50 octx->count[1] = 0; in sha512_export()
51 memcpy(octx->state, sctx->state, sizeof(octx->state)); in sha512_export()
52 memcpy(octx->buf, sctx->buf, sizeof(octx->buf)); in sha512_export()
Dsha256_s390.c46 struct sha256_state *octx = out; in sha256_export() local
48 octx->count = sctx->count; in sha256_export()
49 memcpy(octx->state, sctx->state, sizeof(octx->state)); in sha256_export()
50 memcpy(octx->buf, sctx->buf, sizeof(octx->buf)); in sha256_export()
/linux-4.4.14/drivers/crypto/sunxi-ss/
Dsun4i-ss-hash.c50 struct md5_state *octx = out; in sun4i_hash_export_md5() local
53 octx->byte_count = op->byte_count + op->len; in sun4i_hash_export_md5()
55 memcpy(octx->block, op->buf, op->len); in sun4i_hash_export_md5()
59 octx->hash[i] = op->hash[i]; in sun4i_hash_export_md5()
61 octx->hash[0] = SHA1_H0; in sun4i_hash_export_md5()
62 octx->hash[1] = SHA1_H1; in sun4i_hash_export_md5()
63 octx->hash[2] = SHA1_H2; in sun4i_hash_export_md5()
64 octx->hash[3] = SHA1_H3; in sun4i_hash_export_md5()
92 struct sha1_state *octx = out; in sun4i_hash_export_sha1() local
95 octx->count = op->byte_count + op->len; in sun4i_hash_export_sha1()
[all …]
/linux-4.4.14/net/ipv4/
Dtcp_fastopen.c42 struct tcp_fastopen_context *ctx, *octx; in tcp_fastopen_reset_cipher() local
65 octx = rcu_dereference_protected(tcp_fastopen_ctx, in tcp_fastopen_reset_cipher()
70 if (octx) in tcp_fastopen_reset_cipher()
71 call_rcu(&octx->rcu, tcp_fastopen_ctx_free); in tcp_fastopen_reset_cipher()
/linux-4.4.14/drivers/net/ethernet/ibm/emac/
Demac.h74 u32 octx; member
Ddebug.c107 in_be32(&p->octx), in_be32(&p->ocrx) in emac_mac_dump()