Home
last modified time | relevance | path

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

/Linux-v4.19/arch/s390/crypto/
Dpaes_s390.c73 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __paes_set_key()
172 ctx->fc = (fc && cpacf_test_func(&kmc_functions, fc)) ? fc : 0; in __cbc_paes_set_key()
280 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __xts_paes_set_key()
413 ctx->fc = (fc && cpacf_test_func(&kmctr_functions, fc)) ? fc : 0; in __ctr_paes_set_key()
570 if (cpacf_test_func(&km_functions, CPACF_KM_PAES_128) || in paes_s390_init()
571 cpacf_test_func(&km_functions, CPACF_KM_PAES_192) || in paes_s390_init()
572 cpacf_test_func(&km_functions, CPACF_KM_PAES_256)) { in paes_s390_init()
578 if (cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_128) || in paes_s390_init()
579 cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_192) || in paes_s390_init()
580 cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_256)) { in paes_s390_init()
[all …]
Daes_s390.c102 sctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in aes_set_key()
248 sctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in ecb_aes_set_key()
364 sctx->fc = (fc && cpacf_test_func(&kmc_functions, fc)) ? fc : 0; in cbc_aes_set_key()
529 xts_ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in xts_aes_set_key()
669 sctx->fc = (fc && cpacf_test_func(&kmctr_functions, fc)) ? fc : 0; in ctr_aes_set_key()
1082 if (cpacf_test_func(&km_functions, CPACF_KM_AES_128) || in aes_s390_init()
1083 cpacf_test_func(&km_functions, CPACF_KM_AES_192) || in aes_s390_init()
1084 cpacf_test_func(&km_functions, CPACF_KM_AES_256)) { in aes_s390_init()
1093 if (cpacf_test_func(&kmc_functions, CPACF_KMC_AES_128) || in aes_s390_init()
1094 cpacf_test_func(&kmc_functions, CPACF_KMC_AES_192) || in aes_s390_init()
[all …]
Ddes_s390.c532 if (cpacf_test_func(&km_functions, CPACF_KM_DEA)) { in des_s390_init()
540 if (cpacf_test_func(&kmc_functions, CPACF_KMC_DEA)) { in des_s390_init()
545 if (cpacf_test_func(&km_functions, CPACF_KM_TDEA_192)) { in des_s390_init()
553 if (cpacf_test_func(&kmc_functions, CPACF_KMC_TDEA_192)) { in des_s390_init()
559 if (cpacf_test_func(&kmctr_functions, CPACF_KMCTR_DEA) || in des_s390_init()
560 cpacf_test_func(&kmctr_functions, CPACF_KMCTR_TDEA_192)) { in des_s390_init()
568 if (cpacf_test_func(&kmctr_functions, CPACF_KMCTR_DEA)) { in des_s390_init()
573 if (cpacf_test_func(&kmctr_functions, CPACF_KMCTR_TDEA_192)) { in des_s390_init()
/Linux-v4.19/arch/s390/include/asm/
Dcpacf.h215 static inline int cpacf_test_func(cpacf_mask_t *mask, unsigned int func) in cpacf_test_func() function
225 return cpacf_test_func(&mask, func); in cpacf_query_func()
/Linux-v4.19/drivers/s390/crypto/
Dpkey_api.c1205 if (!cpacf_test_func(&pckmo_functions, CPACF_PCKMO_ENC_AES_128_KEY) || in pkey_init()
1206 !cpacf_test_func(&pckmo_functions, CPACF_PCKMO_ENC_AES_192_KEY) || in pkey_init()
1207 !cpacf_test_func(&pckmo_functions, CPACF_PCKMO_ENC_AES_256_KEY)) in pkey_init()