Home
last modified time | relevance | path

Searched refs:cipher_mode (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/sys/crypto/ccp/
H A Dccp.c395 enum ccp_aes_mode cipher_mode; in ccp_newsession() local
413 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()
H A Dccp.h77 unsigned cipher_mode; member
H A Dccp_hardware.c1647 desc->aes.mode = s->blkcipher.cipher_mode; in ccp_do_blkcipher()
/freebsd-12.1/crypto/openssl/crypto/engine/
H A Deng_devcrypto.c346 unsigned long cipher_mode; in prepare_cipher_methods() local
364 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()
/freebsd-12.1/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c158 unsigned int cipher_mode; member
697 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 …]
/freebsd-12.1/sys/dev/pms/freebsd/driver/common/
H A Dlxencrypt.c678 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()
/freebsd-12.1/sys/dev/pms/freebsd/driver/ini/src/
H A Dagtiapi.h364 bit32 cipher_mode; // storage of cipher mode member