/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | sm4_aesni_avx2_glue.c | 67 .min_keysize = SM4_KEY_SIZE, 68 .max_keysize = SM4_KEY_SIZE, 83 .min_keysize = SM4_KEY_SIZE, 84 .max_keysize = SM4_KEY_SIZE, 100 .min_keysize = SM4_KEY_SIZE, 101 .max_keysize = SM4_KEY_SIZE, 118 .min_keysize = SM4_KEY_SIZE, 119 .max_keysize = SM4_KEY_SIZE,
|
H A D | sm4_aesni_avx_glue.c | 386 .min_keysize = SM4_KEY_SIZE, 387 .max_keysize = SM4_KEY_SIZE, 402 .min_keysize = SM4_KEY_SIZE, 403 .max_keysize = SM4_KEY_SIZE, 419 .min_keysize = SM4_KEY_SIZE, 420 .max_keysize = SM4_KEY_SIZE, 437 .min_keysize = SM4_KEY_SIZE, 438 .max_keysize = SM4_KEY_SIZE,
|
/kernel/linux/linux-6.6/arch/arm64/crypto/ |
H A D | sm4-ce-glue.c | 81 if (key_len != SM4_KEY_SIZE) in sm4_setkey() 97 if (key_len != SM4_KEY_SIZE * 2) in sm4_xts_setkey() 107 sm4_ce_expand_key(&key[SM4_KEY_SIZE], ctx->key2.rkey_enc, in sm4_xts_setkey() 525 .min_keysize = SM4_KEY_SIZE, 526 .max_keysize = SM4_KEY_SIZE, 539 .min_keysize = SM4_KEY_SIZE, 540 .max_keysize = SM4_KEY_SIZE, 554 .min_keysize = SM4_KEY_SIZE, 555 .max_keysize = SM4_KEY_SIZE, 570 .min_keysize = SM4_KEY_SIZE, [all...] |
H A D | sm4-neon-glue.c | 284 .min_keysize = SM4_KEY_SIZE, 285 .max_keysize = SM4_KEY_SIZE, 298 .min_keysize = SM4_KEY_SIZE, 299 .max_keysize = SM4_KEY_SIZE, 313 .min_keysize = SM4_KEY_SIZE, 314 .max_keysize = SM4_KEY_SIZE, 329 .min_keysize = SM4_KEY_SIZE, 330 .max_keysize = SM4_KEY_SIZE,
|
H A D | sm4-ce-cipher-glue.c | 63 .cia_min_keysize = SM4_KEY_SIZE, 64 .cia_max_keysize = SM4_KEY_SIZE,
|
H A D | sm4-ce-gcm-glue.c | 48 if (key_len != SM4_KEY_SIZE) in gcm_setkey()
|
H A D | sm4-ce-ccm-glue.c | 35 if (key_len != SM4_KEY_SIZE) in ccm_setkey()
|
/kernel/linux/linux-6.6/crypto/ |
H A D | sm4_generic.c | 67 .cia_min_keysize = SM4_KEY_SIZE, 68 .cia_max_keysize = SM4_KEY_SIZE,
|
H A D | sm4.c | 126 if (key_len != SM4_KEY_SIZE) in sm4_expandkey()
|
/kernel/linux/linux-5.10/arch/arm64/crypto/ |
H A D | sm4-ce-glue.c | 55 .cia_min_keysize = SM4_KEY_SIZE, 56 .cia_max_keysize = SM4_KEY_SIZE,
|
/kernel/linux/linux-6.6/include/crypto/ |
H A D | sm4.h | 15 #define SM4_KEY_SIZE 16 macro
|
/kernel/linux/linux-5.10/crypto/ |
H A D | sm4_generic.c | 123 if (key_len != SM4_KEY_SIZE) in crypto_sm4_expand_key() 215 .cia_min_keysize = SM4_KEY_SIZE, 216 .cia_max_keysize = SM4_KEY_SIZE,
|
/kernel/linux/linux-5.10/include/crypto/ |
H A D | sm4.h | 14 #define SM4_KEY_SIZE 16 macro
|
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
H A D | cc_cipher.c | 98 if (size == SM4_KEY_SIZE) in validate_keys_sizes() 1332 .min_keysize = SM4_KEY_SIZE, 1333 .max_keysize = SM4_KEY_SIZE, 1349 .min_keysize = SM4_KEY_SIZE, 1350 .max_keysize = SM4_KEY_SIZE, 1366 .min_keysize = SM4_KEY_SIZE, 1367 .max_keysize = SM4_KEY_SIZE,
|
/kernel/linux/linux-6.6/drivers/crypto/ccree/ |
H A D | cc_cipher.c | 98 if (size == SM4_KEY_SIZE) in validate_keys_sizes() 1335 .min_keysize = SM4_KEY_SIZE, 1336 .max_keysize = SM4_KEY_SIZE, 1352 .min_keysize = SM4_KEY_SIZE, 1353 .max_keysize = SM4_KEY_SIZE, 1369 .min_keysize = SM4_KEY_SIZE, 1370 .max_keysize = SM4_KEY_SIZE,
|
/kernel/linux/linux-5.10/drivers/crypto/inside-secure/ |
H A D | safexcel_cipher.c | 445 if (unlikely(keys.enckeylen != SM4_KEY_SIZE)) in safexcel_aead_setkey() 3071 if (len != SM4_KEY_SIZE) in safexcel_skcipher_sm4_setkey() 3075 if (memcmp(ctx->key, key, SM4_KEY_SIZE)) in safexcel_skcipher_sm4_setkey() 3078 memcpy(ctx->key, key, SM4_KEY_SIZE); in safexcel_skcipher_sm4_setkey() 3079 ctx->key_len = SM4_KEY_SIZE; in safexcel_skcipher_sm4_setkey() 3123 .min_keysize = SM4_KEY_SIZE, 3124 .max_keysize = SM4_KEY_SIZE, 3160 .min_keysize = SM4_KEY_SIZE, 3161 .max_keysize = SM4_KEY_SIZE, 3198 .min_keysize = SM4_KEY_SIZE, [all...] |
/kernel/linux/linux-6.6/drivers/crypto/inside-secure/ |
H A D | safexcel_cipher.c | 445 if (unlikely(keys.enckeylen != SM4_KEY_SIZE)) in safexcel_aead_setkey() 3080 if (len != SM4_KEY_SIZE) in safexcel_skcipher_sm4_setkey() 3084 if (memcmp(ctx->key, key, SM4_KEY_SIZE)) in safexcel_skcipher_sm4_setkey() 3087 memcpy(ctx->key, key, SM4_KEY_SIZE); in safexcel_skcipher_sm4_setkey() 3088 ctx->key_len = SM4_KEY_SIZE; in safexcel_skcipher_sm4_setkey() 3132 .min_keysize = SM4_KEY_SIZE, 3133 .max_keysize = SM4_KEY_SIZE, 3169 .min_keysize = SM4_KEY_SIZE, 3170 .max_keysize = SM4_KEY_SIZE, 3207 .min_keysize = SM4_KEY_SIZE, [all...] |