Home
last modified time | relevance | path

Searched refs:state_sz (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
Dvmx_set_nested_state_test.c92 const int state_sz = sizeof(struct kvm_nested_state) + getpagesize(); in test_vmx_nested_state() local
94 (struct kvm_nested_state *)malloc(state_sz); in test_vmx_nested_state()
97 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
105 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
113 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
133 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
150 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
155 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
161 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
169 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/
Dsafexcel_hash.c52 u8 state_sz; /* expected state size, only set once */ member
125 memcpy(ctx->base.ctxr->data, req->state, req->state_sz); in safexcel_context_control()
132 CONTEXT_CONTROL_SIZE(req->state_sz / in safexcel_context_control()
138 CONTEXT_CONTROL_SIZE(req->state_sz / in safexcel_context_control()
160 memcpy(ctx->base.ctxr->data, req->state, req->state_sz); in safexcel_context_control()
187 CONTEXT_CONTROL_SIZE((req->state_sz >> 2) + 1) | in safexcel_context_control()
196 ctx->base.ctxr->data[req->state_sz >> 2] = in safexcel_context_control()
204 memcpy(ctx->base.ctxr->data + (req->state_sz >> 2), in safexcel_context_control()
205 &ctx->base.opad, req->state_sz); in safexcel_context_control()
209 CONTEXT_CONTROL_SIZE(req->state_sz >> 1) | in safexcel_context_control()
[all …]
Dsafexcel_cipher.c63 u32 state_sz; member
489 alg, ctx->state_sz)) in safexcel_aead_setkey()
518 ctrl_size += ctx->state_sz / sizeof(u32); in safexcel_context_control()
536 ctrl_size += ctx->state_sz / sizeof(u32) * 2; in safexcel_context_control()
703 &ctx->base.ipad, ctx->state_sz); in safexcel_send_req()
706 ctx->state_sz) / sizeof(u32), &ctx->base.opad, in safexcel_send_req()
707 ctx->state_sz); in safexcel_send_req()
1727 ctx->state_sz = SHA1_DIGEST_SIZE; in safexcel_aead_sha1_cra_init()
1763 ctx->state_sz = SHA256_DIGEST_SIZE; in safexcel_aead_sha256_cra_init()
1799 ctx->state_sz = SHA256_DIGEST_SIZE; in safexcel_aead_sha224_cra_init()
[all …]
Dsafexcel.h926 unsigned int state_sz);