• Home
  • Raw
  • Download

Lines Matching refs:kb

801 		} kb;  in cca_gencipherkey()  member
816 } kb; in cca_gencipherkey() member
854 preqparm->kb.len = sizeof(preqparm->kb); in cca_gencipherkey()
855 preqparm->kb.tlv1.len = sizeof(preqparm->kb.tlv1); in cca_gencipherkey()
856 preqparm->kb.tlv1.flag = 0x0030; in cca_gencipherkey()
857 preqparm->kb.tlv2.len = sizeof(preqparm->kb.tlv2); in cca_gencipherkey()
858 preqparm->kb.tlv2.flag = 0x0030; in cca_gencipherkey()
859 preqparm->kb.tlv3.len = sizeof(preqparm->kb.tlv3); in cca_gencipherkey()
860 preqparm->kb.tlv3.flag = 0x0030; in cca_gencipherkey()
861 memcpy(preqparm->kb.tlv3.gen_key_id_1, in cca_gencipherkey()
863 preqparm->kb.tlv4.len = sizeof(preqparm->kb.tlv4); in cca_gencipherkey()
864 preqparm->kb.tlv4.flag = 0x0030; in cca_gencipherkey()
865 preqparm->kb.tlv5.len = sizeof(preqparm->kb.tlv5); in cca_gencipherkey()
866 preqparm->kb.tlv5.flag = 0x0030; in cca_gencipherkey()
867 preqparm->kb.tlv6.len = sizeof(preqparm->kb.tlv6); in cca_gencipherkey()
868 preqparm->kb.tlv6.flag = 0x0030; in cca_gencipherkey()
872 t = (struct cipherkeytoken *) preqparm->kb.tlv3.gen_key_id_1; in cca_gencipherkey()
906 if (prepparm->kb.len < 120 + 5 * sizeof(uint16_t) || in cca_gencipherkey()
907 prepparm->kb.len > 136 + 5 * sizeof(uint16_t)) { in cca_gencipherkey()
916 prepparm->kb.tlv1.gen_key, in cca_gencipherkey()
924 t = (struct cipherkeytoken *) prepparm->kb.tlv1.gen_key; in cca_gencipherkey()
994 } kb; in _ip_cprb_helper() member
1074 if (prepparm->kb.len < 120 + 3 * sizeof(uint16_t) || in _ip_cprb_helper()
1075 prepparm->kb.len > 136 + 3 * sizeof(uint16_t)) { in _ip_cprb_helper()
1085 t = (struct cipherkeytoken *) prepparm->kb.tlv1.key_token; in _ip_cprb_helper()
1205 } kb; in cca_cipher2protkey() member
1231 } kb; in cca_cipher2protkey() member
1256 preqparm->kb.len = keytoklen + 3 * sizeof(uint16_t); in cca_cipher2protkey()
1257 preqparm->kb.cca_key_token_len = keytoklen + 2 * sizeof(uint16_t); in cca_cipher2protkey()
1258 memcpy(preqparm->kb.cca_key_token, ckey, keytoklen); in cca_cipher2protkey()
1374 } kb; in cca_ecc2protkey() member
1400 } kb; in cca_ecc2protkey() member
1425 preqparm->kb.len = keylen + 3 * sizeof(uint16_t); in cca_ecc2protkey()
1426 preqparm->kb.cca_key_token_len = keylen + 2 * sizeof(uint16_t); in cca_ecc2protkey()
1427 memcpy(preqparm->kb.cca_key_token, key, keylen); in cca_ecc2protkey()