Lines Matching refs:lv2
310 struct lv2 { in cca_genseckey() struct
317 } lv2; in cca_genseckey() member
371 preqparm->lv2.len = sizeof(struct lv2); in cca_genseckey()
373 preqparm->lv2.keyid[i].len = sizeof(struct keyid); in cca_genseckey()
374 preqparm->lv2.keyid[i].attr = (i == 2 ? 0x30 : 0x10); in cca_genseckey()
452 struct lv2 { in cca_clr2seckey() struct
510 plv2 = (struct lv2 *)(((u8 *)preqparm) + sizeof(*preqparm) + keysize); in cca_clr2seckey()
511 plv2->len = sizeof(struct lv2); in cca_clr2seckey()
590 struct lv2 { in cca_sec2protkey() struct
595 } lv2; in cca_sec2protkey() member
636 preqparm->lv2.len = sizeof(struct lv2) + SECKEYBLOBSIZE; in cca_sec2protkey()
637 preqparm->lv2.attr_len = sizeof(struct lv2) in cca_sec2protkey()
638 - sizeof(preqparm->lv2.len) + SECKEYBLOBSIZE; in cca_sec2protkey()
639 preqparm->lv2.attr_flags = 0x0000; in cca_sec2protkey()
640 memcpy(preqparm->lv2.token, seckey, SECKEYBLOBSIZE); in cca_sec2protkey()