Lines Matching refs:ckb

622 			} ckb;  in cca_sec2protkey()  member
684 if (prepparm->lv3.ckb.version != 0x01 && in cca_sec2protkey()
685 prepparm->lv3.ckb.version != 0x02) { in cca_sec2protkey()
687 __func__, (int)prepparm->lv3.ckb.version); in cca_sec2protkey()
693 switch (prepparm->lv3.ckb.len) { in cca_sec2protkey()
711 __func__, prepparm->lv3.ckb.len); in cca_sec2protkey()
715 memcpy(protkey, prepparm->lv3.ckb.key, prepparm->lv3.ckb.len); in cca_sec2protkey()
717 *protkeylen = prepparm->lv3.ckb.len; in cca_sec2protkey()
1227 } ckb; in cca_cipher2protkey() member
1301 if (prepparm->vud.ckb.version != 0x01 && in cca_cipher2protkey()
1302 prepparm->vud.ckb.version != 0x02) { in cca_cipher2protkey()
1304 __func__, (int)prepparm->vud.ckb.version); in cca_cipher2protkey()
1308 if (prepparm->vud.ckb.algo != 0x02) { in cca_cipher2protkey()
1311 __func__, (int)prepparm->vud.ckb.algo); in cca_cipher2protkey()
1317 switch (prepparm->vud.ckb.keylen) { in cca_cipher2protkey()
1335 __func__, prepparm->vud.ckb.keylen); in cca_cipher2protkey()
1339 memcpy(protkey, prepparm->vud.ckb.key, prepparm->vud.ckb.keylen); in cca_cipher2protkey()
1341 *protkeylen = prepparm->vud.ckb.keylen; in cca_cipher2protkey()
1396 } ckb; in cca_ecc2protkey() member
1468 if (prepparm->vud.ckb.version != 0x02) { in cca_ecc2protkey()
1470 __func__, (int)prepparm->vud.ckb.version); in cca_ecc2protkey()
1474 if (prepparm->vud.ckb.algo != 0x81) { in cca_ecc2protkey()
1477 __func__, (int)prepparm->vud.ckb.algo); in cca_ecc2protkey()
1483 if (prepparm->vud.ckb.keylen > *protkeylen) { in cca_ecc2protkey()
1485 __func__, prepparm->vud.ckb.keylen, *protkeylen); in cca_ecc2protkey()
1489 memcpy(protkey, prepparm->vud.ckb.key, prepparm->vud.ckb.keylen); in cca_ecc2protkey()
1490 *protkeylen = prepparm->vud.ckb.keylen; in cca_ecc2protkey()