Lines Matching refs:state_sz
53 u32 state_sz; member
386 (memcmp(ctx->ipad, istate.state, ctx->state_sz) || in safexcel_aead_setkey()
387 memcmp(ctx->opad, ostate.state, ctx->state_sz))) in safexcel_aead_setkey()
394 memcpy(ctx->ipad, &istate.state, ctx->state_sz); in safexcel_aead_setkey()
395 memcpy(ctx->opad, &ostate.state, ctx->state_sz); in safexcel_aead_setkey()
420 ctrl_size += ctx->state_sz / sizeof(u32); in safexcel_context_control()
427 ctrl_size += ctx->state_sz / sizeof(u32) * 2; in safexcel_context_control()
583 ctx->ipad, ctx->state_sz); in safexcel_send_req()
586 ctx->state_sz) / sizeof(u32), ctx->opad, in safexcel_send_req()
587 ctx->state_sz); in safexcel_send_req()
1577 ctx->state_sz = SHA1_DIGEST_SIZE; in safexcel_aead_sha1_cra_init()
1612 ctx->state_sz = SHA256_DIGEST_SIZE; in safexcel_aead_sha256_cra_init()
1647 ctx->state_sz = SHA256_DIGEST_SIZE; in safexcel_aead_sha224_cra_init()
1682 ctx->state_sz = SHA512_DIGEST_SIZE; in safexcel_aead_sha512_cra_init()
1717 ctx->state_sz = SHA512_DIGEST_SIZE; in safexcel_aead_sha384_cra_init()
2133 ctx->state_sz = GHASH_BLOCK_SIZE; in safexcel_aead_gcm_cra_init()
2216 ctx->state_sz = 2 * AES_BLOCK_SIZE + len; in safexcel_aead_ccm_setkey()
2235 ctx->state_sz = 3 * AES_BLOCK_SIZE; in safexcel_aead_ccm_cra_init()