Searched refs:cipher_mode (Results 1 – 7 of 7) sorted by relevance
395 enum ccp_aes_mode cipher_mode; in ccp_newsession() local413 cipher_mode = CCP_AES_MODE_ECB; in ccp_newsession()468 cipher_mode = CCP_AES_MODE_CBC; in ccp_newsession()472 cipher_mode = CCP_AES_MODE_CTR; in ccp_newsession()476 cipher_mode = CCP_AES_MODE_GCTR; in ccp_newsession()480 cipher_mode = CCP_AES_MODE_XTS; in ccp_newsession()495 if (gcm_hash != (cipher_mode == CCP_AES_MODE_GCTR)) in ccp_newsession()546 s->blkcipher.cipher_mode = cipher_mode; in ccp_newsession()
77 unsigned cipher_mode; member
1647 desc->aes.mode = s->blkcipher.cipher_mode; in ccp_do_blkcipher()
346 unsigned long cipher_mode; in prepare_cipher_methods() local364 cipher_mode = cipher_data[i].flags & EVP_CIPH_MODE; in prepare_cipher_methods()368 cipher_mode == EVP_CIPH_CTR_MODE ? 1 : in prepare_cipher_methods()380 cipher_mode == EVP_CIPH_CTR_MODE ? in prepare_cipher_methods()
158 unsigned int cipher_mode; member697 V_SCMD_CIPH_MODE(s->blkcipher.cipher_mode) | in ccr_blkcipher()1034 V_SCMD_CIPH_MODE(s->blkcipher.cipher_mode) | in ccr_authenc()2439 cipher_mode = SCMD_CIPH_MODE_NOP; in ccr_newsession()2529 cipher_mode = SCMD_CIPH_MODE_AES_CBC; in ccr_newsession()2533 cipher_mode = SCMD_CIPH_MODE_AES_CTR; in ccr_newsession()2537 cipher_mode = SCMD_CIPH_MODE_AES_GCM; in ccr_newsession()2541 cipher_mode = SCMD_CIPH_MODE_AES_XTS; in ccr_newsession()2545 cipher_mode = SCMD_CIPH_MODE_AES_CCM; in ccr_newsession()2563 (cipher_mode == SCMD_CIPH_MODE_AES_CCM)) in ccr_newsession()[all …]
678 pCard->cipher_mode = CIPHER_MODE_INVALID; in agtiapi_SetupEncryptionPools()829 pCard->cipher_mode = new_cipher_mode; in agtiapi_EncryptionIoctl()1031 pCard->cipher_mode = TI_ENCRYPT_ATTRIB_CIPHER_XTS; in agtiapi_SetupEncryptedIO()1033 if (pCard->cipher_mode == CIPHER_MODE_INVALID) { in agtiapi_SetupEncryptedIO()1040 pccb->tiSuperScsiRequest.Encrypt.encryptMode = pCard->cipher_mode; in agtiapi_SetupEncryptedIO()
364 bit32 cipher_mode; // storage of cipher mode member