Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/kvm/x86_64/
Dvmx_set_nested_state_test.c91 const int state_sz = sizeof(struct kvm_nested_state) + getpagesize(); in test_vmx_nested_state() local
93 (struct kvm_nested_state *)malloc(state_sz); in test_vmx_nested_state()
96 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
104 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
112 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
132 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
149 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
154 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
160 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
168 set_default_vmx_state(state, state_sz); in test_vmx_nested_state()
[all …]
/Linux-v6.1/drivers/crypto/inside-secure/
Dsafexcel_hash.c54 u8 state_sz; /* expected state size, only set once */ member
127 memcpy(ctx->base.ctxr->data, req->state, req->state_sz); in safexcel_context_control()
134 CONTEXT_CONTROL_SIZE(req->state_sz / in safexcel_context_control()
140 CONTEXT_CONTROL_SIZE(req->state_sz / in safexcel_context_control()
162 memcpy(ctx->base.ctxr->data, req->state, req->state_sz); in safexcel_context_control()
189 CONTEXT_CONTROL_SIZE((req->state_sz >> 2) + 1) | in safexcel_context_control()
198 ctx->base.ctxr->data[req->state_sz >> 2] = in safexcel_context_control()
206 memcpy(ctx->base.ctxr->data + (req->state_sz >> 2), in safexcel_context_control()
207 &ctx->base.opad, req->state_sz); in safexcel_context_control()
211 CONTEXT_CONTROL_SIZE(req->state_sz >> 1) | in safexcel_context_control()
[all …]
Dsafexcel_cipher.c64 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()
709 &ctx->base.ipad, ctx->state_sz); in safexcel_send_req()
712 ctx->state_sz) / sizeof(u32), &ctx->base.opad, in safexcel_send_req()
713 ctx->state_sz); in safexcel_send_req()
1745 ctx->state_sz = SHA1_DIGEST_SIZE; in safexcel_aead_sha1_cra_init()
1781 ctx->state_sz = SHA256_DIGEST_SIZE; in safexcel_aead_sha256_cra_init()
1817 ctx->state_sz = SHA256_DIGEST_SIZE; in safexcel_aead_sha224_cra_init()
[all …]
Dsafexcel.h927 unsigned int state_sz);