Lines Matching refs:kek_index

223     int i = 0, j, kek_index;  in show_kek_table()  local
231 for(kek_index = 0; kek_index < KEK_TABLE_MAX_ENTRY; kek_index++) { in show_kek_table()
232 …i += careful_write(buf, i, PAGE_SIZE, " %4d: %08x ", kek_index, pCard->kek_table[kek_index].wrappe… in show_kek_table()
233 p = (unsigned char *) &pCard->kek_table[kek_index].kekBlob; in show_kek_table()
419 agtiapi_MapDekKek(ag_card_t *pCard, bit32 dek_table, bit32 dek_index, bit32 kek_index) in agtiapi_MapDekKek() argument
431 if (kek_index >= KEK_TABLE_MAX_ENTRY) { in agtiapi_MapDekKek()
436 pCard->dek_kek_map[dek_table][dek_index].kekIndex = kek_index; in agtiapi_MapDekKek()
449 agtiapi_AddKek(ag_card_t *pCard, bit32 kek_index, bit32 wrapper_kek_index, tiEncryptKekBlob_t *kek_… in agtiapi_AddKek() argument
451 if (kek_index >= KEK_TABLE_MAX_ENTRY) { in agtiapi_AddKek()
459 pCard->kek_table[kek_index].wrapperIndex = wrapper_kek_index; in agtiapi_AddKek()
460 memcpy(&pCard->kek_table[kek_index].kekBlob, kek_blob, sizeof(tiEncryptKekBlob_t)); in agtiapi_AddKek()
477 bit32 dek_table, dek_index, kek_index; in agtiapi_MapDek() local
525 kek_index = pCard->dek_kek_map[dek_table][dek_index].kekIndex; in agtiapi_MapDek()
537 p->kekIndex == kek_index) { in agtiapi_MapDek()
545 …y %x %x %x %llx %llx not found.\n", __FUNCTION__, dek_table, dek_index, kek_index, lba_min, lba_ma… in agtiapi_MapDek()
562 p->kekIndex = kek_index; in agtiapi_MapDek()
863 bit32 kek_index = dek_add->kekIndex; in agtiapi_EncryptionIoctl() local
872 …, blob format %x, entry size %x\n", __FUNCTION__, dek_index, dek_table, kek_index, blob_format, en… in agtiapi_EncryptionIoctl()
889 if (agtiapi_MapDekKek(pCard, dek_table, dek_index, kek_index) < 0) { in agtiapi_EncryptionIoctl()
894 …rc = tiCOMEncryptDekAdd(tiRoot, kek_index, dek_table, addr_table[1], addr_table[0], dek_index, 1, … in agtiapi_EncryptionIoctl()
1136 perr->ioerr.kek_index = pccb->tiSuperScsiRequest.Encrypt.kekIndex; in agtiapi_HandleEncryptedIOFailure()