Lines Matching refs:vud
768 } vud; in cca_gencipherkey() member
808 } vud; in cca_gencipherkey() member
836 preqparm->vud.len = sizeof(preqparm->vud); in cca_gencipherkey()
849 preqparm->vud.clear_key_bit_len = keybitsize; in cca_gencipherkey()
850 memcpy(preqparm->vud.key_type_1, "TOKEN ", 8); in cca_gencipherkey()
851 memset(preqparm->vud.key_type_2, ' ', sizeof(preqparm->vud.key_type_2)); in cca_gencipherkey()
986 } vud; in _ip_cprb_helper() member
1199 } vud; in cca_cipher2protkey() member
1228 } vud; in cca_cipher2protkey() member
1251 preqparm->vud.len = sizeof(preqparm->vud); in cca_cipher2protkey()
1252 preqparm->vud.tk_blob_len = sizeof(preqparm->vud.tk_blob) in cca_cipher2protkey()
1254 preqparm->vud.tk_blob_tag = 0x00C2; in cca_cipher2protkey()
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()
1368 } vud; in cca_ecc2protkey() member
1397 } vud; in cca_ecc2protkey() member
1420 preqparm->vud.len = sizeof(preqparm->vud); in cca_ecc2protkey()
1421 preqparm->vud.tk_blob_len = sizeof(preqparm->vud.tk_blob) in cca_ecc2protkey()
1423 preqparm->vud.tk_blob_tag = 0x00C2; in cca_ecc2protkey()
1470 if (prepparm->vud.ckb.version != 0x02) { in cca_ecc2protkey()
1472 __func__, (int) prepparm->vud.ckb.version); in cca_ecc2protkey()
1476 if (prepparm->vud.ckb.algo != 0x81) { in cca_ecc2protkey()
1479 __func__, (int) prepparm->vud.ckb.algo); in cca_ecc2protkey()
1485 if (prepparm->vud.ckb.keylen > *protkeylen) { in cca_ecc2protkey()
1487 __func__, prepparm->vud.ckb.keylen, *protkeylen); in cca_ecc2protkey()
1491 memcpy(protkey, prepparm->vud.ckb.key, prepparm->vud.ckb.keylen); in cca_ecc2protkey()
1492 *protkeylen = prepparm->vud.ckb.keylen; in cca_ecc2protkey()