Searched refs:SECKEYBLOBSIZE (Results 1 – 3 of 3) sorted by relevance
23 #define SECKEYBLOBSIZE 64 /* secure key blob size is always 64 bytes */ macro32 #define MINKEYBLOBSIZE SECKEYBLOBSIZE90 __u8 seckey[SECKEYBLOBSIZE]; /* the secure key blob */
315 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 …]
364 *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()