Home
last modified time | relevance | path

Searched refs:km_functions (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/arch/s390/crypto/
Dpaes_s390.c42 static cpacf_mask_t km_functions, kmc_functions, kmctr_functions; variable
183 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __ecb_paes_set_key()
435 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __xts_paes_set_key()
738 cpacf_query(CPACF_KM, &km_functions); in paes_s390_init()
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()
758 if (cpacf_test_func(&km_functions, CPACF_KM_PXTS_128) || in paes_s390_init()
759 cpacf_test_func(&km_functions, CPACF_KM_PXTS_256)) { in paes_s390_init()
Daes_s390.c39 static cpacf_mask_t km_functions, kmc_functions, kmctr_functions, variable
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()
409 xts_ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in xts_aes_set_key()
991 cpacf_query(CPACF_KM, &km_functions); in aes_s390_init()
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()
1016 if (cpacf_test_func(&km_functions, CPACF_KM_XTS_128) || in aes_s390_init()
1017 cpacf_test_func(&km_functions, CPACF_KM_XTS_256)) { in aes_s390_init()
Ddes_s390.c28 static cpacf_mask_t km_functions, kmc_functions, kmctr_functions; variable
438 cpacf_query(CPACF_KM, &km_functions); in des_s390_init()
442 if (cpacf_test_func(&km_functions, CPACF_KM_DEA)) { in des_s390_init()
455 if (cpacf_test_func(&km_functions, CPACF_KM_TDEA_192)) { in des_s390_init()