Home
last modified time | relevance | path

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

/freebsd-13.1/sys/crypto/ccp/
H A Dccp.c412 enum ccp_aes_mode cipher_mode; in ccp_newsession() local
442 cipher_mode = CCP_AES_MODE_CBC; in ccp_newsession()
445 cipher_mode = CCP_AES_MODE_CTR; in ccp_newsession()
448 cipher_mode = CCP_AES_MODE_GCTR; in ccp_newsession()
451 cipher_mode = CCP_AES_MODE_XTS; in ccp_newsession()
454 cipher_mode = CCP_AES_MODE_ECB; in ccp_newsession()
506 if (cipher_mode != CCP_AES_MODE_ECB) { in ccp_newsession()
507 s->blkcipher.cipher_mode = cipher_mode; in ccp_newsession()
H A Dccp.h81 unsigned cipher_mode; member
H A Dccp_hardware.c1635 desc->aes.mode = s->blkcipher.cipher_mode; in ccp_do_blkcipher()
/freebsd-13.1/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c161 unsigned int cipher_mode; member
732 switch (s->blkcipher.cipher_mode) { in ccr_blkcipher()
1040 switch (s->blkcipher.cipher_mode) { in ccr_eta()
2408 switch (s->blkcipher.cipher_mode) { in ccr_aes_setkey()
2528 unsigned int cipher_mode; in ccr_probesession() local
2566 cipher_mode = ccr_cipher_mode(csp); in ccr_probesession()
2567 if (cipher_mode == SCMD_CIPH_MODE_NOP) in ccr_probesession()
2675 cipher_mode = ccr_cipher_mode(csp); in ccr_newsession()
2680 if (cipher_mode == SCMD_CIPH_MODE_NOP || in ccr_newsession()
2786 if (cipher_mode != SCMD_CIPH_MODE_NOP) { in ccr_newsession()
[all …]
/freebsd-13.1/crypto/openssl/crypto/engine/
H A Deng_devcrypto.c348 unsigned long cipher_mode; in prepare_cipher_methods() local
366 cipher_mode = cipher_data[i].flags & EVP_CIPH_MODE; in prepare_cipher_methods()
370 cipher_mode == EVP_CIPH_CTR_MODE ? 1 : in prepare_cipher_methods()
382 cipher_mode == EVP_CIPH_CTR_MODE ? in prepare_cipher_methods()
/freebsd-13.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-13.1/sys/dev/pms/freebsd/driver/ini/src/
H A Dagtiapi.h364 bit32 cipher_mode; // storage of cipher mode member