Home
last modified time | relevance | path

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

/linux-6.12.1/arch/s390/include/uapi/asm/
Dpkey.h23 #define SECKEYBLOBSIZE 64 /* secure key blob size is always 64 bytes */ macro
32 #define MINKEYBLOBSIZE SECKEYBLOBSIZE
90 __u8 seckey[SECKEYBLOBSIZE]; /* the secure key blob */
/linux-6.12.1/drivers/s390/crypto/
Dzcrypt_ccamisc.c315 u8 data[SECKEYBLOBSIZE]; in cca_genseckey()
408 if (seckeysize != SECKEYBLOBSIZE) { in cca_genseckey()
410 __func__, seckeysize, SECKEYBLOBSIZE); in cca_genseckey()
424 memcpy(seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in cca_genseckey()
457 u8 data[SECKEYBLOBSIZE]; in cca_clr2seckey()
546 if (seckeysize != SECKEYBLOBSIZE) { in cca_clr2seckey()
548 __func__, seckeysize, SECKEYBLOBSIZE); in cca_clr2seckey()
563 memcpy(seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in cca_clr2seckey()
636 preqparm->lv2.len = sizeof(struct lv2) + SECKEYBLOBSIZE; in cca_sec2protkey()
638 - sizeof(preqparm->lv2.len) + SECKEYBLOBSIZE; in cca_sec2protkey()
[all …]
Dpkey_cca.c364 *keybuflen = (rc ? 0 : SECKEYBLOBSIZE); in cca_gen_key()
450 *keybuflen = (rc ? 0 : SECKEYBLOBSIZE); in cca_clr2key()
573 tmpbuf = kmalloc(SECKEYBLOBSIZE, GFP_ATOMIC); in cca_slowpath_key2protkey()
579 tmplen = SECKEYBLOBSIZE; in cca_slowpath_key2protkey()