Lines Matching refs:keySlot
203 base->KEY = DCP_KEY_INDEX(handle->keySlot) | DCP_KEY_SUBWORD(0); in dcp_aes_set_sram_based_key()
320 if ((kDCP_OtpKey == handle->keySlot) || (kDCP_OtpUniqueKey == handle->keySlot)) in DCP_AES_SetKey()
351 if (kDCP_PayloadKey != handle->keySlot) in DCP_AES_SetKey()
440 if (handle->keySlot == kDCP_OtpKey) in DCP_AES_EncryptEcbNonBlocking()
445 else if (handle->keySlot == kDCP_OtpUniqueKey) in DCP_AES_EncryptEcbNonBlocking()
450 else if (handle->keySlot == kDCP_PayloadKey) in DCP_AES_EncryptEcbNonBlocking()
458 dcpPacket->control1 = ((uint32_t)handle->keySlot << 8); /* KEY_SELECT = keySlot */ in DCP_AES_EncryptEcbNonBlocking()
537 if (handle->keySlot == kDCP_OtpKey) in DCP_AES_DecryptEcbNonBlocking()
542 else if (handle->keySlot == kDCP_OtpUniqueKey) in DCP_AES_DecryptEcbNonBlocking()
547 else if (handle->keySlot == kDCP_PayloadKey) in DCP_AES_DecryptEcbNonBlocking()
555 dcpPacket->control1 = ((uint32_t)handle->keySlot << 8); /* KEY_SELECT = keySlot */ in DCP_AES_DecryptEcbNonBlocking()
643 if (handle->keySlot == kDCP_OtpKey) in DCP_AES_EncryptCbcNonBlocking()
649 else if (handle->keySlot == kDCP_OtpUniqueKey) in DCP_AES_EncryptCbcNonBlocking()
655 else if (handle->keySlot == kDCP_PayloadKey) in DCP_AES_EncryptCbcNonBlocking()
666 dcpPacket->control1 |= ((uint32_t)handle->keySlot << 8); /* KEY_SELECT = keySlot */ in DCP_AES_EncryptCbcNonBlocking()
753 if (handle->keySlot == kDCP_OtpKey) in DCP_AES_DecryptCbcNonBlocking()
759 else if (handle->keySlot == kDCP_OtpUniqueKey) in DCP_AES_DecryptCbcNonBlocking()
765 else if (handle->keySlot == kDCP_PayloadKey) in DCP_AES_DecryptCbcNonBlocking()
776 dcpPacket->control1 |= ((uint32_t)handle->keySlot << 8); /* KEY_SELECT */ in DCP_AES_DecryptCbcNonBlocking()