Home
last modified time | relevance | path

Searched refs:PKEY_KEYTYPE_AES_128 (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/arch/s390/crypto/
H A Dpaes_s390.c188 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KM_PAES_128 : in __ecb_paes_set_key()
303 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KMC_PAES_128 : in __cbc_paes_set_key()
445 fc = (ctx->pk[0].type == PKEY_KEYTYPE_AES_128) ? CPACF_KM_PXTS_128 : in __xts_paes_set_key()
486 ckey_len = (ctx->pk[0].type == PKEY_KEYTYPE_AES_128) ? in xts_paes_set_key()
516 keylen = (ctx->pk[0].type == PKEY_KEYTYPE_AES_128) ? 48 : 64; in xts_paes_crypt()
517 offset = (ctx->pk[0].type == PKEY_KEYTYPE_AES_128) ? 16 : 0; in xts_paes_crypt()
603 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KMCTR_PAES_128 : in __ctr_paes_set_key()
/openbmc/linux/drivers/s390/crypto/
H A Dpkey_api.c91 case PKEY_KEYTYPE_AES_128: in pkey_keytype_aes_to_size()
117 case PKEY_KEYTYPE_AES_128: in pkey_clr2protkey()
418 case PKEY_KEYTYPE_AES_128: in pkey_verifyprotkey()
592 case PKEY_KEYTYPE_AES_128: in pkey_nonccatok2pkey()
1859 return pkey_protkey_aes_attr_read(PKEY_KEYTYPE_AES_128, false, buf, in protkey_aes_128_read()
1889 return pkey_protkey_aes_attr_read(PKEY_KEYTYPE_AES_128, true, buf, in protkey_aes_128_xts_read()
1963 return pkey_ccadata_aes_attr_read(PKEY_KEYTYPE_AES_128, false, buf, in ccadata_aes_128_read()
1993 return pkey_ccadata_aes_attr_read(PKEY_KEYTYPE_AES_128, true, buf, in ccadata_aes_128_xts_read()
H A Dzcrypt_ccamisc.c355 case PKEY_KEYTYPE_AES_128: /* older ioctls used this */ in cca_genseckey()
496 case PKEY_KEYTYPE_AES_128: /* older ioctls used this */ in cca_clr2seckey()
697 *protkeytype = PKEY_KEYTYPE_AES_128; in cca_sec2protkey()
1321 *protkeytype = PKEY_KEYTYPE_AES_128; in cca_cipher2protkey()
H A Dzcrypt_ep11misc.c1501 *protkeytype = PKEY_KEYTYPE_AES_128; in ep11_kblob2protkey()
/openbmc/linux/arch/s390/include/uapi/asm/
H A Dpkey.h35 #define PKEY_KEYTYPE_AES_128 1 macro