Home
last modified time | relevance | path

Searched refs:cpacf_test_func (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/arch/s390/crypto/
Daes_s390.c101 sctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in aes_set_key()
218 sctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in ecb_aes_set_key()
314 sctx->fc = (fc && cpacf_test_func(&kmc_functions, fc)) ? fc : 0; in cbc_aes_set_key()
411 xts_ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in xts_aes_set_key()
550 xts_ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in fullxts_aes_set_key()
648 sctx->fc = (fc && cpacf_test_func(&kmctr_functions, fc)) ? fc : 0; in ctr_aes_set_key()
1102 if (cpacf_test_func(&km_functions, CPACF_KM_AES_128) || in aes_s390_init()
1103 cpacf_test_func(&km_functions, CPACF_KM_AES_192) || in aes_s390_init()
1104 cpacf_test_func(&km_functions, CPACF_KM_AES_256)) { in aes_s390_init()
1114 if (cpacf_test_func(&kmc_functions, CPACF_KMC_AES_128) || in aes_s390_init()
[all …]
Dpaes_s390.c192 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __ecb_paes_set_key()
307 ctx->fc = (fc && cpacf_test_func(&kmc_functions, fc)) ? fc : 0; in __cbc_paes_set_key()
449 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __xts_paes_set_key()
608 ctx->fc = (fc && cpacf_test_func(&kmctr_functions, fc)) ? fc : 0; in __ctr_paes_set_key()
760 if (cpacf_test_func(&km_functions, CPACF_KM_PAES_128) || in paes_s390_init()
761 cpacf_test_func(&km_functions, CPACF_KM_PAES_192) || in paes_s390_init()
762 cpacf_test_func(&km_functions, CPACF_KM_PAES_256)) { in paes_s390_init()
768 if (cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_128) || in paes_s390_init()
769 cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_192) || in paes_s390_init()
770 cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_256)) { in paes_s390_init()
[all …]
Ddes_s390.c442 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-6.12.1/arch/s390/include/asm/
Dcpacf.h349 static inline int cpacf_test_func(cpacf_mask_t *mask, unsigned int func) in cpacf_test_func() function
360 return cpacf_test_func(&mask, func); in cpacf_query_func()
/linux-6.12.1/drivers/s390/crypto/
Dpkey_pckmo.c192 if (!cpacf_test_func(&pckmo_functions, fc)) { in pckmo_clr2protkey()