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
737 switch (s->cipher.cipher_mode) { in ccr_cipher()
1045 switch (s->cipher.cipher_mode) { in ccr_eta()
2105 switch (s->cipher.cipher_mode) { in ccr_aes_setkey()
2225 unsigned int cipher_mode; in ccr_probesession() local
2257 cipher_mode = ccr_cipher_mode(csp); in ccr_probesession()
2258 if (cipher_mode == SCMD_CIPH_MODE_NOP) in ccr_probesession()
2368 cipher_mode = ccr_cipher_mode(csp); in ccr_newsession()
2373 if (cipher_mode == SCMD_CIPH_MODE_NOP || in ccr_newsession()
2489 if (cipher_mode != SCMD_CIPH_MODE_NOP) { in ccr_newsession()
[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.c429 unsigned long cipher_mode; in prepare_cipher_methods() local
475 cipher_mode = cipher_data[i].flags & EVP_CIPH_MODE; in prepare_cipher_methods()
479 cipher_mode == EVP_CIPH_CTR_MODE ? 1 : in prepare_cipher_methods()
491 cipher_mode == EVP_CIPH_CTR_MODE ? in prepare_cipher_methods()
/freebsd/sys/dev/pms/freebsd/driver/ini/src/
H A Dagtiapi.h363 bit32 cipher_mode; // storage of cipher mode member