Home
last modified time | relevance | path

Searched refs:SM4_KEY_SIZE (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/arch/x86/crypto/
Dsm4_aesni_avx2_glue.c67 .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,
Dsm4_aesni_avx_glue.c386 .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/
Dsm4-ce-glue.c44 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,
Dsm4-neon-glue.c366 .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,
Dsm4-ce-cipher-glue.c63 .cia_min_keysize = SM4_KEY_SIZE,
64 .cia_max_keysize = SM4_KEY_SIZE,
/linux-6.1.9/crypto/
Dsm4_generic.c67 .cia_min_keysize = SM4_KEY_SIZE,
68 .cia_max_keysize = SM4_KEY_SIZE,
Dsm4.c126 if (key_len != SM4_KEY_SIZE) in sm4_expandkey()
/linux-6.1.9/include/crypto/
Dsm4.h15 #define SM4_KEY_SIZE 16 macro
/linux-6.1.9/drivers/crypto/ccree/
Dcc_cipher.c98 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/
Dsafexcel_cipher.c445 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 …]