Searched refs:kmctr_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 440 cpacf_query(CPACF_KMCTR, &kmctr_functions); in des_s390_init() 469 if (cpacf_test_func(&kmctr_functions, CPACF_KMCTR_DEA) || in des_s390_init() 470 cpacf_test_func(&kmctr_functions, CPACF_KMCTR_TDEA_192)) { in des_s390_init() 478 if (cpacf_test_func(&kmctr_functions, CPACF_KMCTR_DEA)) { in des_s390_init() 483 if (cpacf_test_func(&kmctr_functions, CPACF_KMCTR_TDEA_192)) { in des_s390_init()
|
H A D | paes_s390.c | 43 static cpacf_mask_t km_functions, kmc_functions, kmctr_functions; variable 609 ctx->fc = (fc && cpacf_test_func(&kmctr_functions, fc)) ? fc : 0; in __ctr_paes_set_key() 759 cpacf_query(CPACF_KMCTR, &kmctr_functions); in paes_s390_init() 784 if (cpacf_test_func(&kmctr_functions, CPACF_KMCTR_PAES_128) || in paes_s390_init() 785 cpacf_test_func(&kmctr_functions, CPACF_KMCTR_PAES_192) || in paes_s390_init() 786 cpacf_test_func(&kmctr_functions, CPACF_KMCTR_PAES_256)) { in paes_s390_init()
|
H A D | aes_s390.c | 40 static cpacf_mask_t km_functions, kmc_functions, kmctr_functions, variable 541 sctx->fc = (fc && cpacf_test_func(&kmctr_functions, fc)) ? fc : 0; in ctr_aes_set_key() 992 cpacf_query(CPACF_KMCTR, &kmctr_functions); in aes_s390_init() 1022 if (cpacf_test_func(&kmctr_functions, CPACF_KMCTR_AES_128) || in aes_s390_init() 1023 cpacf_test_func(&kmctr_functions, CPACF_KMCTR_AES_192) || in aes_s390_init() 1024 cpacf_test_func(&kmctr_functions, CPACF_KMCTR_AES_256)) { in aes_s390_init()
|