Searched refs:SM4_KEY_SIZE (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/arch/x86/crypto/ |
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,
|
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,
|
/linux-6.1.9/arch/arm64/crypto/ |
D | sm4-ce-glue.c | 44 if (key_len != SM4_KEY_SIZE) in sm4_setkey() 296 .min_keysize = SM4_KEY_SIZE, 297 .max_keysize = SM4_KEY_SIZE, 310 .min_keysize = SM4_KEY_SIZE, 311 .max_keysize = SM4_KEY_SIZE, 325 .min_keysize = SM4_KEY_SIZE, 326 .max_keysize = SM4_KEY_SIZE, 341 .min_keysize = SM4_KEY_SIZE, 342 .max_keysize = SM4_KEY_SIZE,
|
D | sm4-neon-glue.c | 366 .min_keysize = SM4_KEY_SIZE, 367 .max_keysize = SM4_KEY_SIZE, 380 .min_keysize = SM4_KEY_SIZE, 381 .max_keysize = SM4_KEY_SIZE, 395 .min_keysize = SM4_KEY_SIZE, 396 .max_keysize = SM4_KEY_SIZE, 411 .min_keysize = SM4_KEY_SIZE, 412 .max_keysize = SM4_KEY_SIZE,
|
D | sm4-ce-cipher-glue.c | 63 .cia_min_keysize = SM4_KEY_SIZE, 64 .cia_max_keysize = SM4_KEY_SIZE,
|
/linux-6.1.9/crypto/ |
D | sm4_generic.c | 67 .cia_min_keysize = SM4_KEY_SIZE, 68 .cia_max_keysize = SM4_KEY_SIZE,
|
D | sm4.c | 126 if (key_len != SM4_KEY_SIZE) in sm4_expandkey()
|
/linux-6.1.9/include/crypto/ |
D | sm4.h | 15 #define SM4_KEY_SIZE 16 macro
|
/linux-6.1.9/drivers/crypto/ccree/ |
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,
|
/linux-6.1.9/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 445 if (unlikely(keys.enckeylen != SM4_KEY_SIZE)) in safexcel_aead_setkey() 3078 if (len != SM4_KEY_SIZE) in safexcel_skcipher_sm4_setkey() 3082 if (memcmp(ctx->key, key, SM4_KEY_SIZE)) in safexcel_skcipher_sm4_setkey() 3085 memcpy(ctx->key, key, SM4_KEY_SIZE); in safexcel_skcipher_sm4_setkey() 3086 ctx->key_len = SM4_KEY_SIZE; in safexcel_skcipher_sm4_setkey() 3130 .min_keysize = SM4_KEY_SIZE, 3131 .max_keysize = SM4_KEY_SIZE, 3167 .min_keysize = SM4_KEY_SIZE, 3168 .max_keysize = SM4_KEY_SIZE, 3205 .min_keysize = SM4_KEY_SIZE, [all …]
|