Lines Matching full:sm4
43 * @key: AES/SM4 key.
45 * @cipher: OCS cipher to use (either AES or SM4).
144 * Ensure key is 128-bit or 256-bit for AES or 128-bit for SM4 and an actual
159 /* For SM4, only 128-byte keys are supported. */ in check_key()
1373 .base.cra_name = "ecb(sm4)",
1374 .base.cra_driver_name = "ecb-sm4-keembay-ocs",
1393 .base.cra_name = "cbc(sm4)",
1394 .base.cra_driver_name = "cbc-sm4-keembay-ocs",
1413 .base.cra_name = "ctr(sm4)",
1414 .base.cra_driver_name = "ctr-sm4-keembay-ocs",
1434 .base.cra_name = "cts(cbc(sm4))",
1435 .base.cra_driver_name = "cts-sm4-keembay-ocs",
1503 .cra_name = "gcm(sm4)",
1504 .cra_driver_name = "gcm-sm4-keembay-ocs",
1524 .cra_name = "ccm(sm4)",
1525 .cra_driver_name = "ccm-sm4-keembay-ocs",
1685 MODULE_DESCRIPTION("Intel Keem Bay Offload and Crypto Subsystem (OCS) AES/SM4 Driver");
1693 MODULE_ALIAS_CRYPTO("cbc-sm4-keembay-ocs");
1694 MODULE_ALIAS_CRYPTO("ctr-sm4-keembay-ocs");
1695 MODULE_ALIAS_CRYPTO("gcm-sm4-keembay-ocs");
1696 MODULE_ALIAS_CRYPTO("ccm-sm4-keembay-ocs");
1700 MODULE_ALIAS_CRYPTO("ecb-sm4-keembay-ocs");
1705 MODULE_ALIAS_CRYPTO("cts-sm4-keembay-ocs");