Home
last modified time | relevance | path

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

/freebsd/sys/crypto/ccp/
H A Dccp.c405 enum ccp_aes_mode cipher_mode; in ccp_newsession() local
435 cipher_mode = CCP_AES_MODE_CBC; in ccp_newsession()
438 cipher_mode = CCP_AES_MODE_CTR; in ccp_newsession()
441 cipher_mode = CCP_AES_MODE_GCTR; in ccp_newsession()
444 cipher_mode = CCP_AES_MODE_XTS; in ccp_newsession()
447 cipher_mode = CCP_AES_MODE_ECB; in ccp_newsession()
499 if (cipher_mode != CCP_AES_MODE_ECB) { in ccp_newsession()
500 s->blkcipher.cipher_mode = cipher_mode; in ccp_newsession()
H A Dccp.h79 unsigned cipher_mode; member
H A Dccp_hardware.c1633 desc->aes.mode = s->blkcipher.cipher_mode; in ccp_do_blkcipher()
/freebsd/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c158 unsigned int cipher_mode; member
636 if (s->cipher.cipher_mode == SCMD_CIPH_MODE_AES_CBC && in ccr_cipher()
668 if (s->cipher.cipher_mode == SCMD_CIPH_MODE_AES_XTS) in ccr_cipher()
728 V_SCMD_CIPH_MODE(s->cipher.cipher_mode) | in ccr_cipher()
739 switch (s->cipher.cipher_mode) { in ccr_cipher()
837 if (s->cipher.cipher_mode == SCMD_CIPH_MODE_AES_CBC && in ccr_eta()
842 if (s->cipher.cipher_mode == SCMD_CIPH_MODE_AES_XTS) in ccr_eta()
1036 V_SCMD_CIPH_MODE(s->cipher.cipher_mode) | in ccr_eta()
1047 switch (s->cipher.cipher_mode) { in ccr_eta()
2094 if (s->cipher.cipher_mode in ccr_aes_setkey()
2225 unsigned int cipher_mode; ccr_probesession() local
2320 unsigned int auth_mode, cipher_mode, mk_size; ccr_newsession() local
[all...]
/freebsd/sys/dev/pms/freebsd/driver/common/
H A Dlxencrypt.c677 pCard->cipher_mode = CIPHER_MODE_INVALID; in agtiapi_SetupEncryptionPools()
828 pCard->cipher_mode = new_cipher_mode; in agtiapi_EncryptionIoctl()
1030 pCard->cipher_mode = TI_ENCRYPT_ATTRIB_CIPHER_XTS; in agtiapi_SetupEncryptedIO()
1032 if (pCard->cipher_mode == CIPHER_MODE_INVALID) { in agtiapi_SetupEncryptedIO()
1039 pccb->tiSuperScsiRequest.Encrypt.encryptMode = pCard->cipher_mode; in agtiapi_SetupEncryptedIO()
/freebsd/crypto/openssl/engines/
H A De_devcrypto.c423 unsigned long cipher_mode; in devcrypto_test_cipher()
469 cipher_mode = cipher_data[i].flags & EVP_CIPH_MODE; in prepare_cipher_methods()
472 cipher_mode == EVP_CIPH_CTR_MODE ? 1 : cipher_data[i].blocksize, in prepare_cipher_methods()
484 cipher_mode == EVP_CIPH_CTR_MODE ? ctr_do_cipher : cipher_do_cipher) in prepare_cipher_methods()
430 unsigned long cipher_mode; prepare_cipher_methods() local
/freebsd/sys/dev/pms/freebsd/driver/ini/src/
H A Dagtiapi.h363 bit32 cipher_mode; // storage of cipher mode member