| /freebsd/usr.bin/primes/ |
| H A D | spsp.c | 37 uint64_t an = a % n; in mulmod() local 41 x += an; in mulmod() 42 if ((x < an) || (x >= n)) in mulmod() 45 if (an + an < an) in mulmod() 46 an = an + an - n; in mulmod() 47 else if (an + an >= n) in mulmod() 48 an = an + an - n; in mulmod() 50 an = an + an; in mulmod()
|
| /freebsd/sys/contrib/ncsw/Peripherals/FM/MACSEC/ |
| H A D | fm_macsec_secy.c | 519 t_Error FM_MACSEC_SECY_CreateRxSa(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, uint32_t l… in FM_MACSEC_SECY_CreateRxSa() argument 529 SANITY_CHECK_RETURN_ERROR(an < MAX_NUM_OF_SA_PER_SC, E_INVALID_STATE); in FM_MACSEC_SECY_CreateRxSa() 531 if (p_FmSecYSc->sa[an].saId != SECY_AN_FREE_VALUE) in FM_MACSEC_SECY_CreateRxSa() 532 RETURN_ERROR(MINOR, E_INVALID_STATE, ("An %d is already assigned",an)); in FM_MACSEC_SECY_CreateRxSa() 534 …FmMacsecSecY->h_FmMacsec, p_FmSecYSc->scId, (e_ScSaId)p_FmSecYSc->numOfSa, an, lowestPn, key)) != … in FM_MACSEC_SECY_CreateRxSa() 537 p_FmSecYSc->sa[an].saId = (e_ScSaId)p_FmSecYSc->numOfSa++; in FM_MACSEC_SECY_CreateRxSa() 541 t_Error FM_MACSEC_SECY_DeleteRxSa(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an) in FM_MACSEC_SECY_DeleteRxSa() argument 551 SANITY_CHECK_RETURN_ERROR(an < MAX_NUM_OF_SA_PER_SC, E_INVALID_STATE); in FM_MACSEC_SECY_DeleteRxSa() 553 if (p_FmSecYSc->sa[an].saId == SECY_AN_FREE_VALUE) in FM_MACSEC_SECY_DeleteRxSa() 554 RETURN_ERROR(MINOR, E_INVALID_STATE, ("An %d is already deleted",an)); in FM_MACSEC_SECY_DeleteRxSa() [all …]
|
| /freebsd/sys/dev/ath/ath_rate/sample/ |
| H A D | sample.c | 174 struct ath_node *an, uint8_t rix0, int is_aggr) in ath_rate_sample_find_min_pktlength() argument 178 struct sample_node *sn = ATH_NODE_SAMPLE(an); in ath_rate_sample_find_min_pktlength() 182 int is_ht40 = (an->an_node.ni_chw == NET80211_STA_RX_BW_40); in ath_rate_sample_find_min_pktlength() 282 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_init() argument 288 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_cleanup() argument 314 pick_best_rate(struct ath_node *an, const HAL_RATE_TABLE *rt, in pick_best_rate() argument 317 struct sample_node *sn = ATH_NODE_SAMPLE(an); in pick_best_rate() 330 if ((an->an_node.ni_flags & IEEE80211_NODE_HT) && in pick_best_rate() 359 if (an->an_node.ni_flags & IEEE80211_NODE_HT) { in pick_best_rate() 363 IEEE80211_NOTE(an->an_node.ni_vap, in pick_best_rate() [all …]
|
| /freebsd/sys/dev/ath/ |
| H A D | if_ath_tx.c | 121 static int ath_tx_node_is_asleep(struct ath_softc *sc, struct ath_node *an); 123 static int ath_tx_ampdu_pending(struct ath_softc *sc, struct ath_node *an, 125 static int ath_tx_ampdu_running(struct ath_softc *sc, struct ath_node *an, 132 ath_tx_retry_clone(struct ath_softc *sc, struct ath_node *an, 1424 struct ath_node *an = ATH_NODE(bf->bf_node); in ath_tx_update_clrdmask() local 1428 if (an->clrdmask == 1) { in ath_tx_update_clrdmask() 1430 an->clrdmask = 0; in ath_tx_update_clrdmask() 1447 ath_tx_should_swq_frame(struct ath_softc *sc, struct ath_node *an, in ath_tx_should_swq_frame() argument 1450 struct ieee80211_node *ni = &an->an_node; in ath_tx_should_swq_frame() 1511 struct ath_node *an = ATH_NODE(bf->bf_node); in ath_tx_xmit_normal() local [all …]
|
| H A D | if_ath_tx.h | 87 extern void ath_tx_node_flush(struct ath_softc *sc, struct ath_node *an); 101 extern void ath_tx_tid_init(struct ath_softc *sc, struct ath_node *an); 102 extern void ath_tx_tid_hw_queue_aggr(struct ath_softc *sc, struct ath_node *an, 104 extern void ath_tx_tid_hw_queue_norm(struct ath_softc *sc, struct ath_node *an, 111 extern void ath_tx_addto_baw(struct ath_softc *sc, struct ath_node *an, 113 extern struct ieee80211_tx_ampdu * ath_tx_get_tx_tid(struct ath_node *an, 134 extern void ath_tx_node_sleep(struct ath_softc *sc, struct ath_node *an); 135 extern void ath_tx_node_wakeup(struct ath_softc *sc, struct ath_node *an); 136 extern int ath_tx_node_is_asleep(struct ath_softc *sc, struct ath_node *an); 137 extern void ath_tx_node_reassoc(struct ath_softc *sc, struct ath_node *an);
|
| /freebsd/sys/dev/ath/ath_rate/onoe/ |
| H A D | onoe.c | 101 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_init() argument 107 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_cleanup() argument 112 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, in ath_rate_findrate() argument 117 struct onoe_node *on = ATH_NODE_ONOE(an); in ath_rate_findrate() 136 ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, in ath_rate_getxtxrates() argument 139 struct onoe_node *on = ATH_NODE_ONOE(an); in ath_rate_getxtxrates() 155 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, in ath_rate_setupxtxdesc() argument 158 struct onoe_node *on = ATH_NODE_ONOE(an); in ath_rate_setupxtxdesc() 168 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, in ath_rate_tx_complete() argument 172 struct onoe_node *on = ATH_NODE_ONOE(an); in ath_rate_tx_complete() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/fsi/ |
| H A D | fsi.txt | 7 busses, which are then exposed by the device tree. For example, an FSI engine 8 that is an I2C master - the I2C bus can be described by the device tree under 19 /* top-level of FSI bus topology, bound to an FSI master driver and 20 * exposes an FSI bus */ 40 not be described; this binding only provides an optional facility for 47 value. It's likely that an implementation-specific compatible value will 70 for an address identifier. Since these are not a range, no size cells are 71 required. For an example, a slave on link 1, with ID 2, could be represented 79 Each slave provides an address-space, under which the engines are accessible. 109 Here's an example that illustrates: [all …]
|
| /freebsd/crypto/openssl/doc/man3/ |
| H A D | X509_EXTENSION_set_object.pod | 39 X509_EXTENSION_create_by_NID() creates an extension of type B<nid>, 43 B<not> be an uninitialised pointer. 48 X509_EXTENSION_get_object() returns the extension type of B<ex> as an 49 B<ASN1_OBJECT> pointer. The returned pointer is an internal value which must 56 pointer is an internal value which must not be freed up. 60 These functions manipulate the contents of an extension directly. Most 61 applications will want to parse or encode and add an extension: they should 65 The B<data> associated with an extension is the extension encoding in an 74 an B<X509_EXTENSION> pointer or B<NULL> if an error occurs. 76 X509_EXTENSION_get_object() returns an B<ASN1_OBJECT> pointer. [all …]
|
| H A D | SSL_set_async_callback.pod | 28 SSL_CTX_set_async_callback() sets an asynchronous callback function. All B<SSL> 29 objects generated based on this B<SSL_CTX> will get this callback. If an engine 31 B<SSL_MODE_ASYNC> has been set and an asynchronous capable engine completes a 36 SSL_set_async_callback() allows an application to set a callback in an 37 asynchronous B<SSL> object, so that when an engine completes a cryptography 41 SSL_set_async_callback_arg() sets an argument for the B<SSL> object when the 45 communication from the engine to the application. During an SSL session, 46 cryptographic operations are dispatched to an engine. The engine status is very 47 useful for an application to know if the operation has been successfully 58 Application sets the async callback and callback data on an SSL connection [all …]
|
| H A D | s2i_ASN1_IA5STRING.pod | 47 "internal" (that is, an internal C structure) and string respectively. 57 or NULL if an error occurs. 60 B<ASN1_IA5STRING> structure or NULL if an error occurs. 63 string or NULL if an error occurs. 66 structure or NULL if an error occurs. 69 or NULL if an error occurs. 72 B<ASN1_OCTET_STRING> structure or NULL if an error occurs. 75 string or NULL if an error occurs. 78 structure or NULL if an error occurs. 81 B<ASN1_UTF8STRING> structure or NULL if an error occurs. [all …]
|
| H A D | ASN1_INTEGER_get_int64.pod | 39 ASN1_INTEGER_get_int64() converts an B<ASN1_INTEGER> into an B<int64_t> type 41 (due to invalid type or the value being too big to fit into an B<int64_t> type) 45 converts to a B<uint64_t> type and an error is returned if the passed integer 50 an B<ASN1_INTEGER>). New applications should use ASN1_INTEGER_get_int64() 62 BN_to_ASN1_INTEGER() converts B<BIGNUM> I<bn> to an B<ASN1_INTEGER>. If I<ai> 72 behave in an identical way to their ASN1_INTEGER counterparts except they 73 operate on an B<ASN1_ENUMERATED> value. 82 In general an B<ASN1_INTEGER> or B<ASN1_ENUMERATED> type can contain an 86 an appropriate C integer type. 104 of an B<int64_t> type. [all …]
|
| H A D | OSSL_PARAM_BLD.pod | 59 I<bld> into an allocated OSSL_PARAM array. 75 I<val> is stored by value and an expression or auto variable can be used. 77 When B<I<TYPE>> denotes an integer type, signed integer types will normally 79 When B<I<TYPE>> denotes an unsigned integer type will get the OSSL_PARAM type 82 OSSL_PARAM_BLD_push_BN() is a function that will create an OSSL_PARAM object 92 OSSL_PARAM_BLD_push_BN_pad() is a function that will create an OSSL_PARAM object 95 is specified an error results. 104 OSSL_PARAM_BLD_push_utf8_string() is a function that will create an OSSL_PARAM 111 OSSL_PARAM_BLD_push_octet_string() is a function that will create an OSSL_PARAM 116 OSSL_PARAM_BLD_push_utf8_ptr() is a function that will create an OSSL_PARAM [all …]
|
| H A D | SSL_handle_events.pod | 15 SSL_handle_events() performs any internal processing which is due on an SSL object. The 22 The primary use case for SSL_handle_events() is to allow an application which uses 23 OpenSSL in nonblocking mode to give OpenSSL an opportunity to handle timer 24 events, or to respond to the availability of new data to be read from an 25 underlying BIO, or to respond to the opportunity to write pending data to an 34 Using SSL_handle_events() on an SSL object being used with a DTLS method allows timeout 40 When using DTLS, an application must call SSL_handle_events() as indicated by 48 Using SSL_handle_events() on an SSL object which represents a QUIC connection allows 53 Ordinarily, when an application uses an SSL object in blocking mode, it does not 54 need to call SSL_handle_events() because OpenSSL performs ticking internally on an [all …]
|
| H A D | ASN1_generate_nconf.pod | 17 in an B<ASN1_TYPE> structure. 22 file whereas I<cnf> is obtained from an B<X509V3_CTX> structure, 40 followed by an optional colon and a value. The formats of I<type>, 64 Encodes an ASN1 B<INTEGER> type. The I<value> string represents 76 Encodes an ASN1 B<OBJECT IDENTIFIER>, the I<value> string can be 81 Encodes an ASN1 B<UTCTime> structure, the value should be in 86 Encodes an ASN1 B<GeneralizedTime> structure, the value should be in 91 Encodes an ASN1 B<OCTET STRING>. I<value> represents the contents 97 Encodes an ASN1 B<BIT STRING>. I<value> represents the contents 115 Formats the result as an ASN1 B<SEQUENCE> or B<SET> type. I<value> [all …]
|
| H A D | PKCS12_item_decrypt_d2i.pod | 34 PKCS12_item_decrypt_d2i() and PKCS12_item_decrypt_d2i_ex() decrypt an octet 35 string containing an ASN.1 encoded object using the algorithm I<algor> and 39 PKCS12_item_i2d_encrypt() and PKCS12_item_i2d_encrypt_ex() encrypt an ASN.1 41 I<passlen>, returning an encoded object in I<obj>. If I<zbuf> is nonzero then 50 object or NULL if an error occurred. 53 data as an ASN.1 Octet String or NULL if an error occurred.
|
| /freebsd/sys/dev/ath/ath_rate/amrr/ |
| H A D | amrr.c | 93 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_init() argument 99 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_cleanup() argument 104 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, in ath_rate_findrate() argument 109 struct amrr_node *amn = ATH_NODE_AMRR(an); in ath_rate_findrate() 128 ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, in ath_rate_getxtxrates() argument 131 struct amrr_node *amn = ATH_NODE_AMRR(an); in ath_rate_getxtxrates() 147 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, in ath_rate_setupxtxdesc() argument 150 struct amrr_node *amn = ATH_NODE_AMRR(an); in ath_rate_setupxtxdesc() 160 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, in ath_rate_tx_complete() argument 164 struct amrr_node *amn = ATH_NODE_AMRR(an); in ath_rate_tx_complete() [all …]
|
| /freebsd/crypto/openssl/doc/designs/ |
| H A D | evp_skey.md | 9 This design proposes the use of an opaque type to represent symmetric keys. It 13 EVP_SKEY may be turned back into an array of bytes, that can be cached and 20 to deal with an EVP_SKEY object from the same provider. 25 EVP_SKEY objects can be a wrapper around a raw key stored in an internal buffer. 27 A wrapper EVP_SKEY object stores the key and the key length in an internal 29 pointer to an EVP_SKEYMGMT object and an opaque pointer to a provider specific 33 represented as an array of OSSL_PARAM. We create an API to manage the lifecycle 36 Once an EVP_SKEY object is created it can be used in place of a raw key. 38 an EVP_SKEY object as an argument. For usability reasons we keep IV and IV length 40 an element of a OSSL_PARAM array argument. [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | BuiltinTypes.def | 230 // type is a typedef of an ObjCObjectPointerType to an 232 // shows up in an AST as the base type of an ObjCObjectType. 236 // 'Class' type is a typedef of an ObjCObjectPointerType to an 238 // shows up in an AST as the base type of an ObjCObjectType. 260 // This represents the type of an expression whose type is 266 // The type of an unresolved overload set. A placeholder type. 269 // foo # possibly qualified, not if an implicit access 270 // foo # possibly qualified, not if an implicit access 271 // &foo # possibly qualified, not if an implicit access 284 // foo # if an implicit access [all …]
|
| /freebsd/sys/contrib/ncsw/inc/Peripherals/ |
| H A D | fm_macsec_ext.h | 958 t_Error FM_MACSEC_SECY_CreateRxSa(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, uint32_t l… 973 t_Error FM_MACSEC_SECY_DeleteRxSa(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an); 988 t_Error FM_MACSEC_SECY_RxSaEnableReceive(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an); 1003 t_Error FM_MACSEC_SECY_RxSaDisableReceive(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an); 1021 t_Error FM_MACSEC_SECY_RxSaUpdateNextPn(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, uint… 1039 t_Error FM_MACSEC_SECY_RxSaUpdateLowestPn(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, ui… 1055 t_Error FM_MACSEC_SECY_RxSaModifyKey(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, macsecS… 1072 t_Error FM_MACSEC_SECY_CreateTxSa(t_Handle h_FmMacsecSecY, macsecAN_t an, macsecSAKey_t key); 1086 t_Error FM_MACSEC_SECY_DeleteTxSa(t_Handle h_FmMacsecSecY, macsecAN_t an); 1116 t_Error FM_MACSEC_SECY_TxSaSetActive(t_Handle h_FmMacsecSecY, macsecAN_t an); [all …]
|
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | README-WPS | 5 can be configured and how an external component on the client (e.g., 15 passphrase/PSK) and configuration of an access point and client 32 Registrar") or in an external device, e.g., a laptop, ("external 37 roles (i.e., AP acts as an Enrollee and client device as a Registrar) 48 wpa_supplicant includes an optional WPS component that can be used as 49 an Enrollee to enroll new network credential or as a Registrar to 50 configure an AP. 56 WPS is an optional component that needs to be enabled in 57 wpa_supplicant build configuration (.config). Here is an example 99 network. wpa_supplicant uses the control interface as an input channel [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/net/ |
| H A D | marvell-orion-mdio.txt | 4 MV78xx0, Armada 370, Armada XP, Armada 7k and Armada 8k have an 5 identical unit that provides an interface with the MDIO bus. 7 provides an interface with the xMDIO bus. This driver handles 12 - reg: address and length of the MDIO registers. When an interrupt is 25 Example at the SoC level without an interrupt property: 34 Example with an interrupt property:
|
| /freebsd/crypto/openssl/crypto/engine/ |
| H A D | README.md | 42 counted. One an EVP_CIPHER is exposed to the caller, neither it nor anything it 45 However existing API usage cannot be made to understand when an EVP_CIPHER 51 they are effectively the same thing, an "EVP_CIPHER" pointer. The problem with 62 Ie. all implementations *have* to come from an ENGINE, but we get round that by 77 was previously replaced by an "ENGINE" pointer and all RSA code that required 80 efficient, switching back to each RSA having an RSA_METHOD pointer also allows 90 of "cipher description" and less meaning in terms of "implementation". When an 91 EVP_CIPHER_CTX is actually initialised with an EVP_CIPHER method and is about to 93 cipher-specific ENGINE code is asked for an ENGINE pointer (a functional 102 Conversely, if an ENGINE *has* been registered to perform the algorithm/mode [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/power/reset/ |
| H A D | gpio-poweroff.txt | 7 state. Otherwise its configured as an input. 9 When the power-off handler is called, the gpio is configured as an 11 condition. This will also cause an inactive->active edge condition, so 13 the GPIO is set to inactive, thus causing an active->inactive edge, 26 - input : Initially configure the GPIO line as an input. Only reconfigure 27 it to an output when the power-off handler is called. If this optional 28 property is not specified, the GPIO is initialized as an output in its
|
| /freebsd/crypto/openssl/doc/internal/man3/ |
| H A D | ossl_print_attribute_value.pod | 6 - Print an X.500 directory attribute value 16 ossl_print_attribute_value() prints an X.500 directory value, which is an 17 ASN.1 value and an associated attribute type that informs its interpretation, 19 behaviors, among other things. This attribute type is identified by an ASN.1 23 distinguished name, as seen in the C<subject> and C<issuer> fields of an X.509 24 public key certificate. They also appear in the attributes of an X.509
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZOperands.td | 41 // Constructs both a DAG pattern and instruction operand for an immediate 54 // Constructs an asm operand for a PC-relative address. SIZE says how 66 // Constructs an operand for a PC-relative address with address type VT. 89 // Constructs an AsmOperandClass for addressing mode FORMAT, treating the 91 // LENGTH is "LenN" for addresses with an N-bit length field, otherwise it 101 // Constructs an instruction operand for an addressing mode. FORMAT, 102 // BITSIZE, DISPSIZE and LENGTH are the parameters to an associated 115 // Constructs both a DAG pattern and instruction operand for an addressing mode. 116 // FORMAT, BITSIZE, DISPSIZE and LENGTH are the parameters to an associate [all...] |