Lines Matching refs:encrypt

935          if( pIRequest->encrypt.enableEncryptionPerLA && pIRequest->dif.enableDIFPerLA)
939 pIRequest->encrypt.EncryptionPerLAAddrLo );
944 SA_ASSERT(pIRequest->encrypt.EncryptionPerLAAddrHi == pIRequest->dif.DIFPerLAAddrHi, "EPL DPL hi region must be equal");
946 if( pIRequest->encrypt.EncryptionPerLAAddrHi != pIRequest->dif.DIFPerLAAddrHi )
957 pIRequest->encrypt.EncryptionPerLAAddrHi );
959 else if( pIRequest->encrypt.enableEncryptionPerLA)
963 pIRequest->encrypt.EncryptionPerLAAddrLo );
969 pIRequest->encrypt.EncryptionPerLAAddrHi );
1113 pIRequest->encrypt.dekInfo.dekTable,
1114 pIRequest->encrypt.dekInfo.dekIndex));
1117 pIRequest->encrypt.kekIndex,
1118 pIRequest->encrypt.sectorSizeIndex,
1119 pIRequest->encrypt.cipherMode));
1122 pIRequest->encrypt.keyTag_W0,
1123 pIRequest->encrypt.keyTag_W1));
1125 pIRequest->encrypt.tweakVal_W0,
1126 pIRequest->encrypt.tweakVal_W1));
1128 pIRequest->encrypt.tweakVal_W2,
1129 pIRequest->encrypt.tweakVal_W3));
1135 if (pIRequest->encrypt.keyTagCheck == agTRUE)
1140 if( pIRequest->encrypt.cipherMode == agsaEncryptCipherModeXTS )
1145 encryptFlags |= pIRequest->encrypt.dekInfo.dekTable << SHIFT2;
1149 encryptFlags |= (pIRequest->encrypt.dekInfo.dekIndex & 0xFFFFFF) << SHIFT8;
1155 encryptFlags = pIRequest->encrypt.sectorSizeIndex;
1157 encryptFlags |= (pIRequest->encrypt.kekIndex) << SHIFT5;
1159 encryptFlags |= (pIRequest->encrypt.EncryptionPerLRegion0SecCount) << SHIFT16;
1168 pIRequest->encrypt.keyTag_W0);
1172 pIRequest->encrypt.keyTag_W1);
1177 pIRequest->encrypt.tweakVal_W0);
1181 pIRequest->encrypt.tweakVal_W1);
1185 pIRequest->encrypt.tweakVal_W2);
1189 pIRequest->encrypt.tweakVal_W3);
1202 DirDW4 |= (pIRequest->encrypt.enableEncryptionPerLA ? ( 1 << SHIFT12 ) : 0);