Searched refs:km_functions (Results 1 – 3 of 3) sorted by relevance
/arch/s390/crypto/ |
D | paes_s390.c | 40 static cpacf_mask_t km_functions, kmc_functions, kmctr_functions; variable 121 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __paes_set_key() 389 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __xts_paes_set_key() 713 cpacf_query(CPACF_KM, &km_functions); in paes_s390_init() 717 if (cpacf_test_func(&km_functions, CPACF_KM_PAES_128) || in paes_s390_init() 718 cpacf_test_func(&km_functions, CPACF_KM_PAES_192) || in paes_s390_init() 719 cpacf_test_func(&km_functions, CPACF_KM_PAES_256)) { in paes_s390_init() 733 if (cpacf_test_func(&km_functions, CPACF_KM_PXTS_128) || in paes_s390_init() 734 cpacf_test_func(&km_functions, CPACF_KM_PXTS_256)) { in paes_s390_init()
|
D | aes_s390.c | 39 static cpacf_mask_t km_functions, kmc_functions, kmctr_functions, variable 102 sctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in aes_set_key() 249 sctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in ecb_aes_set_key() 530 xts_ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in xts_aes_set_key() 1149 cpacf_query(CPACF_KM, &km_functions); in aes_s390_init() 1154 if (cpacf_test_func(&km_functions, CPACF_KM_AES_128) || in aes_s390_init() 1155 cpacf_test_func(&km_functions, CPACF_KM_AES_192) || in aes_s390_init() 1156 cpacf_test_func(&km_functions, CPACF_KM_AES_256)) { in aes_s390_init() 1173 if (cpacf_test_func(&km_functions, CPACF_KM_XTS_128) || in aes_s390_init() 1174 cpacf_test_func(&km_functions, CPACF_KM_XTS_256)) { in aes_s390_init()
|
D | des_s390.c | 27 static cpacf_mask_t km_functions, kmc_functions, kmctr_functions; variable 513 cpacf_query(CPACF_KM, &km_functions); in des_s390_init() 517 if (cpacf_test_func(&km_functions, CPACF_KM_DEA)) { in des_s390_init() 530 if (cpacf_test_func(&km_functions, CPACF_KM_TDEA_192)) { in des_s390_init()
|