Home
last modified time | relevance | path

Searched refs:cip (Results 1 – 22 of 22) sorted by relevance

/freebsd-14.2/usr.sbin/sa/
H A Dpdb.c263 fprintf(stderr, "%s (%ju) -- ", cip->ci_comm, (uintmax_t)cip->ci_calls); in check_junk()
286 c = cip->ci_calls ? cip->ci_calls : 1; in print_ci()
287 t = (cip->ci_utime + cip->ci_stime) / 1000000; in print_ci()
296 if (cip != totalcip) in print_ci()
308 if (cip != totalcip) in print_ci()
321 if (cip != totalcip) in print_ci()
323 (cip->ci_utime + cip->ci_stime) / in print_ci()
335 if (cip != totalcip) in print_ci()
346 if (cip != totalcip) in print_ci()
357 cip->ci_etime / in print_ci()
[all …]
/freebsd-14.2/sys/net80211/
H A Dieee80211_crypto.c197 __func__, cip->ic_name, cip->ic_cipher); in ieee80211_crypto_register()
200 if (ciphers[cip->ic_cipher] != NULL && ciphers[cip->ic_cipher] != cip) { in ieee80211_crypto_register()
205 ciphers[cip->ic_cipher] = cip; in ieee80211_crypto_register()
216 __func__, cip->ic_name, cip->ic_cipher); in ieee80211_crypto_unregister()
219 if (ciphers[cip->ic_cipher] != NULL && ciphers[cip->ic_cipher] != cip) { in ieee80211_crypto_unregister()
285 if (cip == NULL) { in ieee80211_crypto_newkey()
302 if (cip == NULL) { in ieee80211_crypto_newkey()
672 cip = k->wk_cipher; in ieee80211_crypto_decap()
676 cip->ic_name, m->m_len, hdrlen + cip->ic_header); in ieee80211_crypto_decap()
750 cip = k->wk_cipher; in ieee80211_crypto_demic()
[all …]
H A Dieee80211_crypto.h226 const struct ieee80211_cipher *cip = k->wk_cipher; in ieee80211_crypto_enmic() local
227 return (cip->ic_miclen > 0 ? cip->ic_enmic(k, m, force) : 1); in ieee80211_crypto_enmic()
H A Dieee80211_ddb.c918 const struct ieee80211_cipher *cip = wk->wk_cipher; in _db_show_key() local
922 switch (cip->ic_cipher) { in _db_show_key()
948 cip->ic_cipher, wk->wk_keyix, 8*keylen); in _db_show_key()
960 if (cip->ic_cipher != IEEE80211_CIPHER_WEP && in _db_show_key()
963 if (cip->ic_cipher != IEEE80211_CIPHER_WEP && in _db_show_key()
H A Dieee80211_ioctl.c80 const struct ieee80211_cipher *cip; in ieee80211_ioctl_getkey() local
102 cip = wk->wk_cipher; in ieee80211_ioctl_getkey()
103 ik.ik_type = cip->ic_cipher; in ieee80211_ioctl_getkey()
113 if (cip->ic_cipher == IEEE80211_CIPHER_TKIP) { in ieee80211_ioctl_getkey()
/freebsd-14.2/crypto/openssl/crypto/evp/
H A Dasymcipher.c532 const OSSL_PARAM *EVP_ASYM_CIPHER_gettable_ctx_params(const EVP_ASYM_CIPHER *cip) in EVP_ASYM_CIPHER_gettable_ctx_params() argument
536 if (cip == NULL || cip->gettable_ctx_params == NULL) in EVP_ASYM_CIPHER_gettable_ctx_params()
539 provctx = ossl_provider_ctx(EVP_ASYM_CIPHER_get0_provider(cip)); in EVP_ASYM_CIPHER_gettable_ctx_params()
540 return cip->gettable_ctx_params(NULL, provctx); in EVP_ASYM_CIPHER_gettable_ctx_params()
543 const OSSL_PARAM *EVP_ASYM_CIPHER_settable_ctx_params(const EVP_ASYM_CIPHER *cip) in EVP_ASYM_CIPHER_settable_ctx_params() argument
547 if (cip == NULL || cip->settable_ctx_params == NULL) in EVP_ASYM_CIPHER_settable_ctx_params()
550 provctx = ossl_provider_ctx(EVP_ASYM_CIPHER_get0_provider(cip)); in EVP_ASYM_CIPHER_settable_ctx_params()
551 return cip->settable_ctx_params(NULL, provctx); in EVP_ASYM_CIPHER_settable_ctx_params()
/freebsd-14.2/sys/dev/md/
H A Dmd.c372 struct indir *cip; in s_read() local
379 for (cip = ip; cip != NULL;) { in s_read()
380 if (cip->shift) { in s_read()
407 cip = ip; in s_write()
409 lip[li++] = cip; in s_write()
422 cip->used++; in s_write()
431 cip->used--; in s_write()
434 cip->used++; in s_write()
440 while (cip->used == 0 && cip != ip) { in s_write()
445 del_indir(cip); in s_write()
[all …]
/freebsd-14.2/sys/dev/ath/
H A Dif_ath_keycache.c197 const struct ieee80211_cipher *cip = k->wk_cipher; in ath_keyset() local
210 KASSERT(cip->ic_cipher < nitems(ciphermap), in ath_keyset()
211 ("invalid cipher type %u", cip->ic_cipher)); in ath_keyset()
212 hk.kv_type = ciphermap[cip->ic_cipher]; in ath_keyset()
491 const struct ieee80211_cipher *cip = k->wk_cipher; in ath_key_delete() local
502 if (cip->ic_cipher == IEEE80211_CIPHER_TKIP && in ath_key_delete()
511 if (cip->ic_cipher == IEEE80211_CIPHER_TKIP && in ath_key_delete()
H A Dif_ath_tx.c989 const struct ieee80211_cipher *cip; in ath_tx_tag_crypto() local
1015 cip = k->wk_cipher; in ath_tx_tag_crypto()
1016 (*hdrlen) += cip->ic_header; in ath_tx_tag_crypto()
1017 (*pktlen) += cip->ic_header + cip->ic_trailer; in ath_tx_tag_crypto()
1020 (*pktlen) += cip->ic_miclen; in ath_tx_tag_crypto()
/freebsd-14.2/tools/regression/net80211/ccmp/
H A Dtest_ccmp.c597 const struct ieee80211_cipher *cip; in runtest() local
626 cip = key->wk_cipher; in runtest()
628 m->m_data += cip->ic_header; in runtest()
637 if (!cip->ic_encap(key, m)) { in runtest()
663 if (!cip->ic_decap(key, m, hdrlen)) { in runtest()
/freebsd-14.2/tools/regression/net80211/tkip/
H A Dtest_tkip.c185 const struct ieee80211_cipher *cip; in runtest() local
215 cip = key->wk_cipher; in runtest()
217 m->m_data += cip->ic_header; in runtest()
249 if (!cip->ic_encap(key, m)) { in runtest()
283 if (!cip->ic_decap(key, m, hdrlen)) { in runtest()
/freebsd-14.2/tools/regression/net80211/wep/
H A Dtest_wep.c190 const struct ieee80211_cipher *cip; in runtest() local
218 cip = key->wk_cipher; in runtest()
228 if (!cip->ic_decap(key, m, hdrlen)) { in runtest()
256 if (!cip->ic_encap(key, m)) { in runtest()
/freebsd-14.2/tools/test/sort/regression/ref/
H A Dtest03bd5 cip�
/freebsd-14.2/crypto/openssl/doc/man3/
H A DEVP_ASYM_CIPHER_free.pod31 const OSSL_PARAM *EVP_ASYM_CIPHER_gettable_ctx_params(const EVP_ASYM_CIPHER *cip);
32 const OSSL_PARAM *EVP_ASYM_CIPHER_settable_ctx_params(const EVP_ASYM_CIPHER *cip);
/freebsd-14.2/usr.sbin/tcpdump/tcpdump/
H A DMakefile51 print-cip.c \
/freebsd-14.2/stand/i386/libi386/
H A Dpxe.h471 IP4_t cip; /* Client IP */ member
/freebsd-14.2/sys/dev/usb/wlan/
H A Dif_rum.c1367 const struct ieee80211_cipher *cip = k->wk_cipher; in rum_setup_tx_desc() local
1369 len += cip->ic_header + cip->ic_trailer + cip->ic_miclen; in rum_setup_tx_desc()
1372 cip->ic_setiv(k, (uint8_t *)&desc->iv); in rum_setup_tx_desc()
/freebsd-14.2/contrib/file/magic/Magdir/
H A Dos233 # Marcus Groeber (marcusg@ph-cip.uni-koeln.de)
/freebsd-14.2/sys/dev/mwl/
H A Dif_mwl.c1621 const struct ieee80211_cipher *cip = k->wk_cipher; in _mwl_key_set() local
1640 switch (cip->ic_cipher) { in _mwl_key_set()
3096 const struct ieee80211_cipher *cip; in mwl_tx_start() local
3125 cip = k->wk_cipher; in mwl_tx_start()
3126 pktlen += cip->ic_header + cip->ic_miclen + cip->ic_trailer; in mwl_tx_start()
/freebsd-14.2/contrib/tcpdump/
H A DMakefile.in121 print-cip.c \
H A DCMakeLists.txt1260 print-cip.c
/freebsd-14.2/sys/dev/wpi/
H A Dif_wpi.c4594 const struct ieee80211_cipher *cip = k->wk_cipher; in wpi_load_key() local
4610 switch (cip->ic_cipher) { in wpi_load_key()
4617 cip->ic_cipher); in wpi_load_key()