Searched refs:kmc_functions (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/s390/crypto/ |
H A D | des_s390.c | 28 static cpacf_mask_t km_functions, kmc_functions, kmctr_functions; variable 439 cpacf_query(CPACF_KMC, &kmc_functions); in des_s390_init() 450 if (cpacf_test_func(&kmc_functions, CPACF_KMC_DEA)) { in des_s390_init() 463 if (cpacf_test_func(&kmc_functions, CPACF_KMC_TDEA_192)) { in des_s390_init()
|
H A D | paes_s390.c | 43 static cpacf_mask_t km_functions, kmc_functions, kmctr_functions; variable 308 ctx->fc = (fc && cpacf_test_func(&kmc_functions, fc)) ? fc : 0; in __cbc_paes_set_key() 758 cpacf_query(CPACF_KMC, &kmc_functions); in paes_s390_init() 769 if (cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_128) || in paes_s390_init() 770 cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_192) || in paes_s390_init() 771 cpacf_test_func(&kmc_functions, CPACF_KMC_PAES_256)) { in paes_s390_init()
|
H A D | aes_s390.c | 40 static cpacf_mask_t km_functions, kmc_functions, kmctr_functions, variable 309 sctx->fc = (fc && cpacf_test_func(&kmc_functions, fc)) ? fc : 0; in cbc_aes_set_key() 991 cpacf_query(CPACF_KMC, &kmc_functions); in aes_s390_init() 1007 if (cpacf_test_func(&kmc_functions, CPACF_KMC_AES_128) || in aes_s390_init() 1008 cpacf_test_func(&kmc_functions, CPACF_KMC_AES_192) || in aes_s390_init() 1009 cpacf_test_func(&kmc_functions, CPACF_KMC_AES_256)) { in aes_s390_init()
|