state_sz 53 drivers/crypto/inside-secure/safexcel_cipher.c u32 state_sz; state_sz 386 drivers/crypto/inside-secure/safexcel_cipher.c (memcmp(ctx->ipad, istate.state, ctx->state_sz) || state_sz 387 drivers/crypto/inside-secure/safexcel_cipher.c memcmp(ctx->opad, ostate.state, ctx->state_sz))) state_sz 394 drivers/crypto/inside-secure/safexcel_cipher.c memcpy(ctx->ipad, &istate.state, ctx->state_sz); state_sz 395 drivers/crypto/inside-secure/safexcel_cipher.c memcpy(ctx->opad, &ostate.state, ctx->state_sz); state_sz 420 drivers/crypto/inside-secure/safexcel_cipher.c ctrl_size += ctx->state_sz / sizeof(u32); state_sz 427 drivers/crypto/inside-secure/safexcel_cipher.c ctrl_size += ctx->state_sz / sizeof(u32) * 2; state_sz 583 drivers/crypto/inside-secure/safexcel_cipher.c ctx->ipad, ctx->state_sz); state_sz 586 drivers/crypto/inside-secure/safexcel_cipher.c ctx->state_sz) / sizeof(u32), ctx->opad, state_sz 587 drivers/crypto/inside-secure/safexcel_cipher.c ctx->state_sz); state_sz 1577 drivers/crypto/inside-secure/safexcel_cipher.c ctx->state_sz = SHA1_DIGEST_SIZE; state_sz 1612 drivers/crypto/inside-secure/safexcel_cipher.c ctx->state_sz = SHA256_DIGEST_SIZE; state_sz 1647 drivers/crypto/inside-secure/safexcel_cipher.c ctx->state_sz = SHA256_DIGEST_SIZE; state_sz 1682 drivers/crypto/inside-secure/safexcel_cipher.c ctx->state_sz = SHA512_DIGEST_SIZE; state_sz 1717 drivers/crypto/inside-secure/safexcel_cipher.c ctx->state_sz = SHA512_DIGEST_SIZE; state_sz 2133 drivers/crypto/inside-secure/safexcel_cipher.c ctx->state_sz = GHASH_BLOCK_SIZE; state_sz 2216 drivers/crypto/inside-secure/safexcel_cipher.c ctx->state_sz = 2 * AES_BLOCK_SIZE + len; state_sz 2235 drivers/crypto/inside-secure/safexcel_cipher.c ctx->state_sz = 3 * AES_BLOCK_SIZE; state_sz 40 drivers/crypto/inside-secure/safexcel_hash.c u8 state_sz; /* expected state size, only set once */ state_sz 112 drivers/crypto/inside-secure/safexcel_hash.c memcpy(ctx->base.ctxr->data, req->state, req->state_sz); state_sz 139 drivers/crypto/inside-secure/safexcel_hash.c CONTEXT_CONTROL_SIZE((req->state_sz >> 2) + 1) | state_sz 148 drivers/crypto/inside-secure/safexcel_hash.c ctx->base.ctxr->data[req->state_sz >> 2] = state_sz 156 drivers/crypto/inside-secure/safexcel_hash.c memcpy(ctx->base.ctxr->data + (req->state_sz >> 2), state_sz 157 drivers/crypto/inside-secure/safexcel_hash.c ctx->opad, req->state_sz); state_sz 161 drivers/crypto/inside-secure/safexcel_hash.c CONTEXT_CONTROL_SIZE(req->state_sz >> 1) | state_sz 167 drivers/crypto/inside-secure/safexcel_hash.c CONTEXT_CONTROL_SIZE(req->state_sz >> 2) | state_sz 207 drivers/crypto/inside-secure/safexcel_hash.c dma_unmap_single(priv->dev, sreq->result_dma, sreq->state_sz, state_sz 226 drivers/crypto/inside-secure/safexcel_hash.c memcpy(sreq->state, ctx->opad, sreq->state_sz); state_sz 366 drivers/crypto/inside-secure/safexcel_hash.c safexcel_hash_token(first_cdesc, len, req->state_sz); state_sz 368 drivers/crypto/inside-secure/safexcel_hash.c req->result_dma = dma_map_single(priv->dev, req->state, req->state_sz, state_sz 377 drivers/crypto/inside-secure/safexcel_hash.c req->state_sz); state_sz 392 drivers/crypto/inside-secure/safexcel_hash.c dma_unmap_single(priv->dev, req->result_dma, req->state_sz, state_sz 598 drivers/crypto/inside-secure/safexcel_hash.c memcmp(ctx->base.ctxr->data, req->state, req->state_sz) || state_sz 603 drivers/crypto/inside-secure/safexcel_hash.c memcmp(ctx->base.ctxr->data + (req->state_sz>>2), state_sz 604 drivers/crypto/inside-secure/safexcel_hash.c ctx->opad, req->state_sz)))) state_sz 758 drivers/crypto/inside-secure/safexcel_hash.c memcpy(export->state, req->state, req->state_sz); state_sz 780 drivers/crypto/inside-secure/safexcel_hash.c memcpy(req->state, export->state, req->state_sz); state_sz 810 drivers/crypto/inside-secure/safexcel_hash.c req->state_sz = SHA1_DIGEST_SIZE; state_sz 891 drivers/crypto/inside-secure/safexcel_hash.c req->state_sz = SHA1_DIGEST_SIZE; state_sz 1058 drivers/crypto/inside-secure/safexcel_hash.c unsigned int state_sz) state_sz 1070 drivers/crypto/inside-secure/safexcel_hash.c (memcmp(ctx->ipad, istate.state, state_sz) || state_sz 1071 drivers/crypto/inside-secure/safexcel_hash.c memcmp(ctx->opad, ostate.state, state_sz))) state_sz 1074 drivers/crypto/inside-secure/safexcel_hash.c memcpy(ctx->ipad, &istate.state, state_sz); state_sz 1075 drivers/crypto/inside-secure/safexcel_hash.c memcpy(ctx->opad, &ostate.state, state_sz); state_sz 1127 drivers/crypto/inside-secure/safexcel_hash.c req->state_sz = SHA256_DIGEST_SIZE; state_sz 1182 drivers/crypto/inside-secure/safexcel_hash.c req->state_sz = SHA256_DIGEST_SIZE; state_sz 1250 drivers/crypto/inside-secure/safexcel_hash.c req->state_sz = SHA256_DIGEST_SIZE; state_sz 1320 drivers/crypto/inside-secure/safexcel_hash.c req->state_sz = SHA256_DIGEST_SIZE; state_sz 1377 drivers/crypto/inside-secure/safexcel_hash.c req->state_sz = SHA512_DIGEST_SIZE; state_sz 1432 drivers/crypto/inside-secure/safexcel_hash.c req->state_sz = SHA512_DIGEST_SIZE; state_sz 1500 drivers/crypto/inside-secure/safexcel_hash.c req->state_sz = SHA512_DIGEST_SIZE; state_sz 1570 drivers/crypto/inside-secure/safexcel_hash.c req->state_sz = SHA512_DIGEST_SIZE; state_sz 1627 drivers/crypto/inside-secure/safexcel_hash.c req->state_sz = MD5_DIGEST_SIZE; state_sz 1688 drivers/crypto/inside-secure/safexcel_hash.c req->state_sz = MD5_DIGEST_SIZE; state_sz 94 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c const int state_sz = sizeof(struct kvm_nested_state) + getpagesize(); state_sz 96 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c (struct kvm_nested_state *)malloc(state_sz); state_sz 99 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c set_default_vmx_state(state, state_sz); state_sz 107 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c set_default_vmx_state(state, state_sz); state_sz 115 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c set_default_vmx_state(state, state_sz); state_sz 135 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c set_default_vmx_state(state, state_sz); state_sz 152 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c set_default_vmx_state(state, state_sz); state_sz 158 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c set_default_vmx_state(state, state_sz); state_sz 166 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c set_default_vmx_state(state, state_sz); state_sz 177 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c set_default_vmx_state(state, state_sz); state_sz 183 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c set_default_vmx_state(state, state_sz); state_sz 189 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c set_default_vmx_state(state, state_sz); state_sz 194 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c set_default_vmx_state(state, state_sz); state_sz 200 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c set_default_vmx_state(state, state_sz); state_sz 208 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c set_default_vmx_state(state, state_sz); state_sz 214 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c TEST_ASSERT(state->size >= sizeof(*state) && state->size <= state_sz, state_sz 216 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c sizeof(*state), state_sz, state->size);