Home
last modified time | relevance | path

Searched refs:crd_flags (Results 1 – 11 of 11) sorted by relevance

/dragonfly/sys/opencrypto/
HDcryptosoft.c98 if (crd->crd_flags & CRD_F_ENCRYPT) { in swcr_encdec()
100 if (crd->crd_flags & CRD_F_IV_EXPLICIT) in swcr_encdec()
106 if (!(crd->crd_flags & CRD_F_IV_PRESENT)) in swcr_encdec()
111 if (crd->crd_flags & CRD_F_IV_EXPLICIT) in swcr_encdec()
125 if (crd->crd_flags & CRD_F_KEY_EXPLICIT) { in swcr_encdec()
174 if (crd->crd_flags & CRD_F_ENCRYPT) { in swcr_encdec()
181 } else if (crd->crd_flags & CRD_F_ENCRYPT) { in swcr_encdec()
251 if (crd->crd_flags & CRD_F_ENCRYPT) { in swcr_encdec()
258 } else if (crd->crd_flags & CRD_F_ENCRYPT) { in swcr_encdec()
311 if (crd->crd_flags & CRD_F_ENCRYPT) { in swcr_encdec()
[all …]
HDcryptodev.c466 crde->crd_flags |= CRD_F_ENCRYPT; in cryptodev_op()
468 crde->crd_flags &= ~CRD_F_ENCRYPT; in cryptodev_op()
497 crde->crd_flags |= CRD_F_IV_EXPLICIT | CRD_F_IV_PRESENT; in cryptodev_op()
502 crde->crd_flags |= CRD_F_IV_PRESENT; in cryptodev_op()
HDcryptodev.h313 int crd_flags; member
/dragonfly/sys/dev/crypto/padlock/
HDpadlock_cipher.c210 if ((enccrd->crd_flags & CRD_F_KEY_EXPLICIT) != 0) { in padlock_cipher_process()
220 if ((enccrd->crd_flags & CRD_F_ENCRYPT) != 0) { in padlock_cipher_process()
223 if ((enccrd->crd_flags & CRD_F_IV_EXPLICIT) != 0) in padlock_cipher_process()
226 if ((enccrd->crd_flags & CRD_F_IV_PRESENT) == 0) { in padlock_cipher_process()
233 if ((enccrd->crd_flags & CRD_F_IV_EXPLICIT) != 0) in padlock_cipher_process()
255 if ((enccrd->crd_flags & CRD_F_ENCRYPT) != 0) { in padlock_cipher_process()
HDpadlock_hash.c365 if ((maccrd->crd_flags & CRD_F_KEY_EXPLICIT) != 0) in padlock_hash_process()
HDpadlock.c394 (maccrd->crd_flags & CRD_F_KEY_EXPLICIT) != 0) { in padlock_process()
/dragonfly/sys/dev/crypto/aesni/
HDaesni_wrap.c278 if ((enccrd->crd_flags & CRD_F_KEY_EXPLICIT) != 0) { in aesni_cipher_process()
285 if ((enccrd->crd_flags & CRD_F_ENCRYPT) != 0) { in aesni_cipher_process()
286 if ((enccrd->crd_flags & CRD_F_IV_EXPLICIT) != 0) in aesni_cipher_process()
288 if ((enccrd->crd_flags & CRD_F_IV_PRESENT) == 0) in aesni_cipher_process()
300 if ((enccrd->crd_flags & CRD_F_IV_EXPLICIT) != 0) in aesni_cipher_process()
321 if ((enccrd->crd_flags & CRD_F_ENCRYPT) != 0) in aesni_cipher_process()
/dragonfly/sys/dev/disk/dm/crypt/
HDdm_target_crypt.c487 crd->crd_flags = CRD_F_IV_EXPLICIT | CRD_F_IV_PRESENT; in essiv_ivgen()
488 crd->crd_flags |= CRD_F_ENCRYPT; in essiv_ivgen()
1031 crd->crd_flags = CRD_F_IV_EXPLICIT | CRD_F_IV_PRESENT; in dmtc_crypto_read_start()
1034 crd->crd_flags &= ~CRD_F_ENCRYPT; in dmtc_crypto_read_start()
1205 crd->crd_flags = CRD_F_IV_EXPLICIT | CRD_F_IV_PRESENT; in dmtc_crypto_write_start()
1208 crd->crd_flags |= CRD_F_ENCRYPT; in dmtc_crypto_write_start()
1414 crd->crd_flags = CRD_F_IV_EXPLICIT | CRD_F_IV_PRESENT; in dmtc_crypto_dump_start()
1417 crd->crd_flags |= CRD_F_ENCRYPT; in dmtc_crypto_dump_start()
/dragonfly/sys/dev/crypto/safe/
HDsafe.c946 ((crd2->crd_flags & CRD_F_ENCRYPT) == 0)) { in safe_process()
956 (crd1->crd_flags & CRD_F_ENCRYPT)) { in safe_process()
968 if (enccrd->crd_flags & CRD_F_KEY_EXPLICIT) in safe_process()
1003 if (enccrd->crd_flags & CRD_F_ENCRYPT) { in safe_process()
1006 if (enccrd->crd_flags & CRD_F_IV_EXPLICIT) in safe_process()
1010 if ((enccrd->crd_flags & CRD_F_IV_PRESENT) == 0) { in safe_process()
1020 if (enccrd->crd_flags & CRD_F_IV_EXPLICIT) { in safe_process()
1045 if (maccrd->crd_flags & CRD_F_KEY_EXPLICIT) { in safe_process()
/dragonfly/sys/dev/crypto/ubsec/
HDubsec.c1110 ((crd2->crd_flags & CRD_F_ENCRYPT) == 0)) { in ubsec_process()
1117 (crd1->crd_flags & CRD_F_ENCRYPT)) { in ubsec_process()
1131 if (enccrd->crd_flags & CRD_F_KEY_EXPLICIT) { in ubsec_process()
1139 if (enccrd->crd_flags & CRD_F_ENCRYPT) { in ubsec_process()
1142 if (enccrd->crd_flags & CRD_F_IV_EXPLICIT) in ubsec_process()
1149 if ((enccrd->crd_flags & CRD_F_IV_PRESENT) == 0) { in ubsec_process()
1156 if (enccrd->crd_flags & CRD_F_IV_EXPLICIT) in ubsec_process()
1175 if (maccrd->crd_flags & CRD_F_KEY_EXPLICIT) { in ubsec_process()
/dragonfly/sys/dev/crypto/hifn/
HDhifn7751.c2543 if ((crd1->crd_flags & CRD_F_ENCRYPT) == 0) in hifn_process()
2560 ((crd2->crd_flags & CRD_F_ENCRYPT) == 0)) { in hifn_process()
2572 (crd1->crd_flags & CRD_F_ENCRYPT)) { in hifn_process()
2613 if (enccrd->crd_flags & CRD_F_ENCRYPT) { in hifn_process()
2614 if (enccrd->crd_flags & CRD_F_IV_EXPLICIT) in hifn_process()
2620 if ((enccrd->crd_flags & CRD_F_IV_PRESENT) in hifn_process()
2627 if (enccrd->crd_flags & CRD_F_IV_EXPLICIT) in hifn_process()
2637 if (enccrd->crd_flags & CRD_F_KEY_EXPLICIT) in hifn_process()