Home
last modified time | relevance | path

Searched refs:SECKEYBLOBSIZE (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/arch/s390/include/uapi/asm/
Dpkey.h23 #define SECKEYBLOBSIZE 64 /* secure key blob size is always 64 bytes */ macro
32 #define MINKEYBLOBSIZE SECKEYBLOBSIZE
80 __u8 seckey[SECKEYBLOBSIZE]; /* the secure key blob */
/Linux-v5.15/drivers/s390/crypto/
Dzcrypt_ccamisc.c320 u8 data[SECKEYBLOBSIZE]; in cca_genseckey()
413 if (seckeysize != SECKEYBLOBSIZE) { in cca_genseckey()
415 __func__, seckeysize, SECKEYBLOBSIZE); in cca_genseckey()
429 memcpy(seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in cca_genseckey()
460 u8 data[SECKEYBLOBSIZE]; in cca_clr2seckey()
551 if (seckeysize != SECKEYBLOBSIZE) { in cca_clr2seckey()
553 __func__, seckeysize, SECKEYBLOBSIZE); in cca_clr2seckey()
568 memcpy(seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in cca_clr2seckey()
641 preqparm->lv2.len = sizeof(struct lv2) + SECKEYBLOBSIZE; in cca_sec2protkey()
643 - sizeof(preqparm->lv2.len) + SECKEYBLOBSIZE; in cca_sec2protkey()
[all …]
Dpkey_api.c418 u8 skey[SECKEYBLOBSIZE]; in pkey_nonccatok2pkey()
562 if (*keybufsize < SECKEYBLOBSIZE) in pkey_genseckey2()
590 *keybufsize = (rc ? 0 : SECKEYBLOBSIZE); in pkey_genseckey2()
616 if (*keybufsize < SECKEYBLOBSIZE) in pkey_clr2seckey2()
647 *keybufsize = (rc ? 0 : SECKEYBLOBSIZE); in pkey_clr2seckey2()