Lines Matching refs:keyblock
241 } keyblock; in pkey_genseckey() member
315 seckeysize = prepparm->lv3.keyblock.toklen in pkey_genseckey()
316 - sizeof(prepparm->lv3.keyblock.toklen) in pkey_genseckey()
317 - sizeof(prepparm->lv3.keyblock.tokattr); in pkey_genseckey()
327 rc = check_secaeskeytoken(prepparm->lv3.keyblock.tok, 8*keysize); in pkey_genseckey()
334 memcpy(seckey->seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in pkey_genseckey()
382 } keyblock; in pkey_clr2seckey() member
453 seckeysize = prepparm->lv3.keyblock.toklen in pkey_clr2seckey()
454 - sizeof(prepparm->lv3.keyblock.toklen) in pkey_clr2seckey()
455 - sizeof(prepparm->lv3.keyblock.tokattr); in pkey_clr2seckey()
465 rc = check_secaeskeytoken(prepparm->lv3.keyblock.tok, 8*keysize); in pkey_clr2seckey()
472 memcpy(seckey->seckey, prepparm->lv3.keyblock.tok, SECKEYBLOBSIZE); in pkey_clr2seckey()
526 } keyblock; in pkey_sec2protkey() member
587 if (prepparm->lv3.keyblock.version != 0x01) { in pkey_sec2protkey()
590 __func__, (int) prepparm->lv3.keyblock.version); in pkey_sec2protkey()
596 switch (prepparm->lv3.keyblock.keylen) { in pkey_sec2protkey()
608 __func__, prepparm->lv3.keyblock.keylen); in pkey_sec2protkey()
612 protkey->len = prepparm->lv3.keyblock.keylen; in pkey_sec2protkey()
613 memcpy(protkey->protkey, prepparm->lv3.keyblock.key, protkey->len); in pkey_sec2protkey()