Searched refs:cpacf_test_func (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/arch/s390/crypto/ |
D | paes_s390.c | 183 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __ecb_paes_set_key() 296 ctx->fc = (fc && cpacf_test_func(&kmc_functions, fc)) ? fc : 0; in __cbc_paes_set_key() 435 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __xts_paes_set_key() 592 ctx->fc = (fc && cpacf_test_func(&kmctr_functions, fc)) ? fc : 0; in __ctr_paes_set_key() 742 if (cpacf_test_func(&km_functions, CPACF_KM_PAES_128) || in paes_s390_init() 743 cpacf_test_func(&km_functions, CPACF_KM_PAES_192) || in paes_s390_init() 744 cpacf_test_func(&km_functions, CPACF_KM_PAES_256)) { in paes_s390_init() 750 if (cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_128) || in paes_s390_init() 751 cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_192) || in paes_s390_init() 752 cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_256)) { in paes_s390_init() [all …]
|
D | aes_s390.c | 95 sctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in aes_set_key() 212 sctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in ecb_aes_set_key() 308 sctx->fc = (fc && cpacf_test_func(&kmc_functions, fc)) ? fc : 0; in cbc_aes_set_key() 409 xts_ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in xts_aes_set_key() 544 sctx->fc = (fc && cpacf_test_func(&kmctr_functions, fc)) ? fc : 0; in ctr_aes_set_key() 996 if (cpacf_test_func(&km_functions, CPACF_KM_AES_128) || in aes_s390_init() 997 cpacf_test_func(&km_functions, CPACF_KM_AES_192) || in aes_s390_init() 998 cpacf_test_func(&km_functions, CPACF_KM_AES_256)) { in aes_s390_init() 1008 if (cpacf_test_func(&kmc_functions, CPACF_KMC_AES_128) || in aes_s390_init() 1009 cpacf_test_func(&kmc_functions, CPACF_KMC_AES_192) || in aes_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.10/arch/s390/include/asm/ |
D | cpacf.h | 224 static inline int cpacf_test_func(cpacf_mask_t *mask, unsigned int func) in cpacf_test_func() function 234 return cpacf_test_func(&mask, func); in cpacf_query_func()
|
/Linux-v5.10/drivers/s390/crypto/ |
D | pkey_api.c | 124 if (!cpacf_test_func(&pckmo_functions, fc)) { in pkey_clr2protkey() 2077 if (!cpacf_test_func(&func_mask, CPACF_KMC_PAES_128) || in pkey_init() 2078 !cpacf_test_func(&func_mask, CPACF_KMC_PAES_192) || in pkey_init() 2079 !cpacf_test_func(&func_mask, CPACF_KMC_PAES_256)) in pkey_init()
|