Searched refs:cpacf_test_func (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.15/arch/s390/crypto/ |
D | aes_s390.c | 96 sctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in aes_set_key() 213 sctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in ecb_aes_set_key() 309 sctx->fc = (fc && cpacf_test_func(&kmc_functions, fc)) ? fc : 0; in cbc_aes_set_key() 410 xts_ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in xts_aes_set_key() 545 sctx->fc = (fc && cpacf_test_func(&kmctr_functions, fc)) ? fc : 0; in ctr_aes_set_key() 997 if (cpacf_test_func(&km_functions, CPACF_KM_AES_128) || in aes_s390_init() 998 cpacf_test_func(&km_functions, CPACF_KM_AES_192) || in aes_s390_init() 999 cpacf_test_func(&km_functions, CPACF_KM_AES_256)) { in aes_s390_init() 1009 if (cpacf_test_func(&kmc_functions, CPACF_KMC_AES_128) || in aes_s390_init() 1010 cpacf_test_func(&kmc_functions, CPACF_KMC_AES_192) || in aes_s390_init() [all …]
|
D | paes_s390.c | 191 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __ecb_paes_set_key() 306 ctx->fc = (fc && cpacf_test_func(&kmc_functions, fc)) ? fc : 0; in __cbc_paes_set_key() 445 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __xts_paes_set_key() 604 ctx->fc = (fc && cpacf_test_func(&kmctr_functions, fc)) ? fc : 0; in __ctr_paes_set_key() 754 if (cpacf_test_func(&km_functions, CPACF_KM_PAES_128) || in paes_s390_init() 755 cpacf_test_func(&km_functions, CPACF_KM_PAES_192) || in paes_s390_init() 756 cpacf_test_func(&km_functions, CPACF_KM_PAES_256)) { in paes_s390_init() 762 if (cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_128) || in paes_s390_init() 763 cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_192) || in paes_s390_init() 764 cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_256)) { in paes_s390_init() [all …]
|
D | des_s390.c | 442 if (cpacf_test_func(&km_functions, CPACF_KM_DEA)) { in des_s390_init() 450 if (cpacf_test_func(&kmc_functions, CPACF_KMC_DEA)) { in des_s390_init() 455 if (cpacf_test_func(&km_functions, CPACF_KM_TDEA_192)) { in des_s390_init() 463 if (cpacf_test_func(&kmc_functions, CPACF_KMC_TDEA_192)) { in des_s390_init() 469 if (cpacf_test_func(&kmctr_functions, CPACF_KMCTR_DEA) || in des_s390_init() 470 cpacf_test_func(&kmctr_functions, CPACF_KMCTR_TDEA_192)) { in des_s390_init() 478 if (cpacf_test_func(&kmctr_functions, CPACF_KMCTR_DEA)) { in des_s390_init() 483 if (cpacf_test_func(&kmctr_functions, CPACF_KMCTR_TDEA_192)) { in des_s390_init()
|
/Linux-v5.15/arch/s390/include/asm/ |
D | cpacf.h | 223 static inline int cpacf_test_func(cpacf_mask_t *mask, unsigned int func) in cpacf_test_func() function 233 return cpacf_test_func(&mask, func); in cpacf_query_func()
|
/Linux-v5.15/drivers/s390/crypto/ |
D | pkey_api.c | 124 if (!cpacf_test_func(&pckmo_functions, fc)) { in pkey_clr2protkey() 2092 if (!cpacf_test_func(&func_mask, CPACF_KMC_PAES_128) || in pkey_init() 2093 !cpacf_test_func(&func_mask, CPACF_KMC_PAES_192) || in pkey_init() 2094 !cpacf_test_func(&func_mask, CPACF_KMC_PAES_256)) in pkey_init()
|