Searched refs:key_item (Results 1 – 3 of 3) sorted by relevance
113 SECItem key_item; in Import() local114 key_item.type = siBuffer; in Import()115 key_item.data = reinterpret_cast<unsigned char*>( in Import()117 key_item.len = raw_key.size(); in Import()127 CKA_ENCRYPT, &key_item, NULL); in Import()139 SECItem* key_item = PK11_GetKeyData(key_.get()); in GetRawKey() local140 if (!key_item) in GetRawKey()143 raw_key->assign(reinterpret_cast<char*>(key_item->data), key_item->len); in GetRawKey()
58 SECItem key_item; in Init() local59 key_item.type = siBuffer; in Init()60 key_item.data = const_cast<unsigned char*>(key); // NSS API isn't const. in Init()61 key_item.len = key_length; in Init()67 &key_item, in Init()
209 SECItem key_item; in encrypt_des() local228 key_item.data = (unsigned char *)key; in encrypt_des()229 key_item.len = sizeof(key); in encrypt_des()231 &key_item, NULL); in encrypt_des()