Searched refs:km_functions (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/arch/s390/crypto/ |
D | paes_s390.c | 43 static cpacf_mask_t km_functions, kmc_functions, kmctr_functions; variable 191 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __ecb_paes_set_key() 445 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __xts_paes_set_key() 750 cpacf_query(CPACF_KM, &km_functions); in paes_s390_init() 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() 770 if (cpacf_test_func(&km_functions, CPACF_KM_PXTS_128) || in paes_s390_init() 771 cpacf_test_func(&km_functions, CPACF_KM_PXTS_256)) { in paes_s390_init()
|
D | aes_s390.c | 40 static cpacf_mask_t km_functions, kmc_functions, kmctr_functions, variable 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() 410 xts_ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in xts_aes_set_key() 992 cpacf_query(CPACF_KM, &km_functions); in aes_s390_init() 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() 1017 if (cpacf_test_func(&km_functions, CPACF_KM_XTS_128) || in aes_s390_init() 1018 cpacf_test_func(&km_functions, CPACF_KM_XTS_256)) { in aes_s390_init()
|
D | des_s390.c | 28 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()
|