{
        struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(tfm);
 
-       tfm->reqsize = sizeof(struct artpec6_crypto_request_context);
+       crypto_skcipher_set_reqsize(tfm,
+                                   sizeof(struct artpec6_crypto_request_context));
        ctx->crypto_type = ARTPEC6_CRYPTO_CIPHER_AES_ECB;
 
        return 0;
        if (IS_ERR(ctx->fallback))
                return PTR_ERR(ctx->fallback);
 
-       tfm->reqsize = sizeof(struct artpec6_crypto_request_context);
+       crypto_skcipher_set_reqsize(tfm,
+                                   sizeof(struct artpec6_crypto_request_context));
        ctx->crypto_type = ARTPEC6_CRYPTO_CIPHER_AES_CTR;
 
        return 0;
 {
        struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(tfm);
 
-       tfm->reqsize = sizeof(struct artpec6_crypto_request_context);
+       crypto_skcipher_set_reqsize(tfm,
+                                   sizeof(struct artpec6_crypto_request_context));
        ctx->crypto_type = ARTPEC6_CRYPTO_CIPHER_AES_CBC;
 
        return 0;
 {
        struct artpec6_cryptotfm_context *ctx = crypto_skcipher_ctx(tfm);
 
-       tfm->reqsize = sizeof(struct artpec6_crypto_request_context);
+       crypto_skcipher_set_reqsize(tfm,
+                                   sizeof(struct artpec6_crypto_request_context));
        ctx->crypto_type = ARTPEC6_CRYPTO_CIPHER_AES_XTS;
 
        return 0;