Home
last modified time | relevance | path

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

/arch/s390/crypto/
Dsha1_s390.c48 struct sha1_state *octx = out; in sha1_export() local
50 octx->count = sctx->count; in sha1_export()
51 memcpy(octx->state, sctx->state, sizeof(octx->state)); in sha1_export()
52 memcpy(octx->buffer, sctx->buf, sizeof(octx->buffer)); in sha1_export()
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()
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()
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()
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()