Home
last modified time | relevance | path

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

/openbsd-src/sys/crypto/
H A Dcryptosoft.c123 if (crd->crd_flags & CRD_F_ENCRYPT) { in swcr_encdec()
125 if (crd->crd_flags & CRD_F_IV_EXPLICIT) in swcr_encdec()
131 if (!(crd->crd_flags & CRD_F_IV_PRESENT)) in swcr_encdec()
136 if (crd->crd_flags & CRD_F_IV_EXPLICIT) in swcr_encdec()
171 if (crd->crd_flags & CRD_F_ENCRYPT) { in swcr_encdec()
178 } else if (crd->crd_flags & CRD_F_ENCRYPT) { in swcr_encdec()
243 if (crd->crd_flags & CRD_F_ENCRYPT) { in swcr_encdec()
250 } else if (crd->crd_flags & CRD_F_ENCRYPT) { in swcr_encdec()
298 if (crd->crd_flags & CRD_F_ENCRYPT) { in swcr_encdec()
305 } else if (crd->crd_flags & CRD_F_ENCRYPT) { in swcr_encdec()
[all …]
H A Dcryptodev.h132 int crd_flags; member
/openbsd-src/sys/arch/octeon/dev/
H A Doctcrypto.c711 if (crde->crd_flags & CRD_F_ENCRYPT) { in octcrypto_authenc_gmac()
712 if (crde->crd_flags & CRD_F_IV_EXPLICIT) in octcrypto_authenc_gmac()
717 if ((crde->crd_flags & CRD_F_IV_PRESENT) == 0) { in octcrypto_authenc_gmac()
731 if (crde->crd_flags & CRD_F_IV_EXPLICIT) { in octcrypto_authenc_gmac()
750 if (crda->crd_flags & CRD_F_ESN) { in octcrypto_authenc_gmac()
789 if (crde->crd_flags & CRD_F_ENCRYPT) { in octcrypto_authenc_gmac()
981 if (crda != NULL && (crda->crd_flags & CRD_F_ESN) != 0) in octcrypto_authenc_hmac()
1006 if (crde->crd_flags & CRD_F_ENCRYPT) { in octcrypto_authenc_hmac()
1007 if (crde->crd_flags & CRD_F_IV_EXPLICIT) in octcrypto_authenc_hmac()
1012 if ((crde->crd_flags & CRD_F_IV_PRESENT) == 0) { in octcrypto_authenc_hmac()
[all …]
/openbsd-src/sys/arch/amd64/amd64/
H A Daesni.c469 if (crd->crd_flags & CRD_F_ENCRYPT) { in aesni_encdec()
470 if (crd->crd_flags & CRD_F_IV_EXPLICIT) in aesni_encdec()
476 if ((crd->crd_flags & CRD_F_IV_PRESENT) == 0) { in aesni_encdec()
488 if (crd->crd_flags & CRD_F_IV_EXPLICIT) in aesni_encdec()
503 if (crda->crd_flags & CRD_F_ESN) { in aesni_encdec()
554 if (crd->crd_flags & CRD_F_ENCRYPT) in aesni_encdec()
564 if (crd->crd_flags & CRD_F_ENCRYPT) { in aesni_encdec()
591 if (crd->crd_flags & CRD_F_ENCRYPT) in aesni_encdec()
H A Dvia.c342 if (crd->crd_flags & CRD_F_ENCRYPT) { in viac3_crypto_encdec()
345 if (crd->crd_flags & CRD_F_IV_EXPLICIT) in viac3_crypto_encdec()
350 if ((crd->crd_flags & CRD_F_IV_PRESENT) == 0) { in viac3_crypto_encdec()
366 if (crd->crd_flags & CRD_F_IV_EXPLICIT) in viac3_crypto_encdec()
/openbsd-src/sys/arch/arm64/arm64/
H A Dcryptox.c373 if (crd->crd_flags & CRD_F_ENCRYPT) { in cryptox_encdec()
374 if (crd->crd_flags & CRD_F_IV_EXPLICIT) in cryptox_encdec()
380 if ((crd->crd_flags & CRD_F_IV_PRESENT) == 0) { in cryptox_encdec()
392 if (crd->crd_flags & CRD_F_IV_EXPLICIT) in cryptox_encdec()
416 if (crd->crd_flags & CRD_F_ENCRYPT) in cryptox_encdec()
/openbsd-src/sys/arch/i386/i386/
H A Dvia.c350 if (crd->crd_flags & CRD_F_ENCRYPT) { in viac3_crypto_encdec()
353 if (crd->crd_flags & CRD_F_IV_EXPLICIT) in viac3_crypto_encdec()
358 if ((crd->crd_flags & CRD_F_IV_PRESENT) == 0) { in viac3_crypto_encdec()
374 if (crd->crd_flags & CRD_F_IV_EXPLICIT) in viac3_crypto_encdec()
/openbsd-src/sys/arch/i386/pci/
H A Dglxsb.c676 if (crd->crd_flags & CRD_F_ENCRYPT) { in glxsb_crypto_encdec()
678 if (crd->crd_flags & CRD_F_IV_EXPLICIT) in glxsb_crypto_encdec()
683 if ((crd->crd_flags & CRD_F_IV_PRESENT) == 0) { in glxsb_crypto_encdec()
699 if (crd->crd_flags & CRD_F_IV_EXPLICIT) in glxsb_crypto_encdec()
755 if (crd->crd_flags & CRD_F_ENCRYPT) in glxsb_crypto_encdec()
/openbsd-src/sys/netinet/
H A Dip_esp.c467 crda->crd_flags |= CRD_F_ESN; in esp_input()
891 crde->crd_flags = CRD_F_ENCRYPT | CRD_F_IV_EXPLICIT; in esp_output()
936 crda->crd_flags |= CRD_F_ESN; in esp_output()
H A Dip_ah.c656 crda->crd_flags |= CRD_F_ESN; in ah_input()
1052 crda->crd_flags |= CRD_F_ESN; in ah_output()
H A Dip_ipcomp.c448 crdc->crd_flags = CRD_F_COMP; in ipcomp_output()
/openbsd-src/sys/dev/
H A Dsoftraid_crypto.c332 crd->crd_flags = flags; in sr_crypto_prepare()