Home
last modified time | relevance | path

Searched refs:protection (Results 1 – 25 of 267) sorted by relevance

1234567891011

/freebsd/crypto/openssl/test/
H A Dcmp_protect_test.c78 ASN1_BIT_STRING *protection = in execute_calc_protection_fails_test() local
80 int res = TEST_ptr_null(protection); in execute_calc_protection_fails_test()
82 ASN1_BIT_STRING_free(protection); in execute_calc_protection_fails_test()
88 ASN1_BIT_STRING *protection = in execute_calc_protection_pbmac_test() local
90 int res = TEST_ptr(protection) in execute_calc_protection_pbmac_test()
91 && TEST_true(ASN1_STRING_cmp(protection, in execute_calc_protection_pbmac_test()
94 ASN1_BIT_STRING_free(protection); in execute_calc_protection_pbmac_test()
103 ASN1_BIT_STRING *protection, in verify_signature() argument
132 ASN1_BIT_STRING *protection = in execute_calc_protection_signature_test() local
134 int ret = (TEST_ptr(protection) in execute_calc_protection_signature_test()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_solaris.cpp54 segment->protection = 0; in Next()
56 segment->protection |= kProtectionRead; in Next()
58 segment->protection |= kProtectionWrite; in Next()
60 segment->protection |= kProtectionExecute; in Next()
62 segment->protection |= kProtectionShared; in Next()
H A Dsanitizer_procmaps.h45 bool IsReadable() const { return protection & kProtectionRead; } in IsReadable()
46 bool IsWritable() const { return protection & kProtectionWrite; } in IsWritable()
47 bool IsExecutable() const { return protection & kProtectionExecute; } in IsExecutable()
48 bool IsShared() const { return protection & kProtectionShared; } in IsShared()
57 uptr protection; variable
H A Dsanitizer_procmaps_linux.cpp46 segment->protection = 0; in Next()
47 if (*data_.current++ == 'r') segment->protection |= kProtectionRead; in Next()
49 if (*data_.current++ == 'w') segment->protection |= kProtectionWrite; in Next()
51 if (*data_.current++ == 'x') segment->protection |= kProtectionExecute; in Next()
53 if (*data_.current++ == 's') segment->protection |= kProtectionShared; in Next()
H A Dsanitizer_procmaps_bsd.cpp92 segment->protection = 0; in Next()
94 segment->protection |= kProtectionRead; in Next()
96 segment->protection |= kProtectionWrite; in Next()
98 segment->protection |= kProtectionExecute; in Next()
/freebsd/crypto/openssl/doc/man3/
H A DSSL_CTX_set_tlsext_use_srtp.pod37 SRTP protection profile names.
39 The currently supported protection profile names are:
61 Supplying an unrecognised protection profile name will result in an error.
65 protection profiles that it is willing to negotiate.
67 The currently configured list of protection profiles for either a client or a
72 After a handshake has been completed the negotiated SRTP protection profile (if
75 protection profile was negotiated. The memory returned from this function should
78 If an SRTP protection profile has been successfully negotiated then the SRTP
83 master key length and the salt length as defined for the protection profile in
93 success or NULL on error or if no protection profiles have been configured.
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_vfy.c55 msg->header->protectionAlg, msg->protection, in verify_signature()
79 ASN1_BIT_STRING *protection = NULL; in verify_PBMAC() local
83 if ((protection = ossl_cmp_calc_protection(ctx, msg)) == NULL) in verify_PBMAC()
86 valid = msg->protection != NULL && msg->protection->length >= 0 in verify_PBMAC()
87 && msg->protection->type == protection->type in verify_PBMAC()
88 && msg->protection->length == protection->length in verify_PBMAC()
89 && CRYPTO_memcmp(msg->protection->data, protection->data, in verify_PBMAC()
90 protection->length) == 0; in verify_PBMAC()
91 ASN1_BIT_STRING_free(protection); in verify_PBMAC()
562 || msg->protection == NULL || msg->protection->data == NULL) { in OSSL_CMP_validate_msg()
H A Dcmp_protect.c57 unsigned char *protection = NULL; in ossl_cmp_calc_protection() local
89 &protection, &sig_len)) in ossl_cmp_calc_protection()
97 if (!ASN1_BIT_STRING_set(prot, protection, sig_len)) { in ossl_cmp_calc_protection()
103 OPENSSL_free(protection); in ossl_cmp_calc_protection()
266 ASN1_BIT_STRING_free(msg->protection); in ossl_cmp_msg_protect()
267 msg->protection = NULL; in ossl_cmp_msg_protect()
309 && ((msg->protection = ossl_cmp_calc_protection(ctx, msg)) == NULL)) in ossl_cmp_msg_protect()
/freebsd/sys/contrib/device-tree/Bindings/soc/qcom/
H A Dqcom,apr.txt48 - qcom,protection-domain
51 Definition: Must list the protection domain service name and path
99 The following example represents a QDSP based sound card with protection domain
101 running on protection domain hosted on ADSP/SLPI remote processors while others
117 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
124 qcom,protection-domain = "tms/servreg", "msm/slpi/sensor_pd";
131 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd";
/freebsd/sys/contrib/device-tree/Bindings/regulator/
H A Dregulator.yaml117 regulator-over-current-protection:
118 description: Enable over current protection.
121 regulator-oc-protection-microamp:
122 description: Set over current protection limit. This is a limit where
124 protection and value '1' indicates that protection should be enabled but
140 regulator-ov-protection-microvolt:
143 protection and value '1' indicates that protection should be enabled but
162 regulator-uv-protection-microvolt:
165 protection and value '1' indicates that protection should be enabled but
184 regulator-temp-protection-kelvin:
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Das3711.txt30 and one of these to select the over-voltage protection pin
31 - su2-fbprot-lx-sd4 : LX_SD4 is used for over-voltage protection
32 - su2-fbprot-gpio2 : GPIO2 is used for over-voltage protection
33 - su2-fbprot-gpio3 : GPIO3 is used for over-voltage protection
34 - su2-fbprot-gpio4 : GPIO4 is used for over-voltage protection
H A Ddlg,da9063.yaml15 Using regulator-{uv,ov}-{warn,error,protection}-microvolt requires special
132 regulator-uv-protection-microvolt = <0>;
133 regulator-ov-protection-microvolt = <0>;
139 regulator-uv-protection-microvolt = <1>;
140 regulator-ov-protection-microvolt = <1>;
H A Dst,stpmic1.yaml126 regulator-over-current-protection: true
145 regulator-over-current-protection: true
182 regulator-over-current-protection: true
210 regulator-over-current-protection: true
234 regulator-over-current-protection: true
249 regulator-over-current-protection: true
328 regulator-over-current-protection;
/freebsd/crypto/openssl/doc/internal/man3/
H A Dossl_cmp_msg_protect.pod8 - functions for producing CMP message protection
21 ossl_cmp_calc_protection() calculates the protection for the given I<msg>
27 If there is a secretValue it selects PBMAC, else if there is a protection cert
32 If signature-based message protection is used it adds first the CMP signer cert
49 ossl_cmp_calc_protection() returns the protection on success, else NULL.
H A Dossl_cmp_msg_check_update.pod33 =item its protection is present and valid (or a callback function B<cb>
34 is present and indicates that a missing or invalid protection is acceptable),
46 In case no protection is present and B<cb> is not NULL then this callback
48 case an invalid protection is present the B<invalid_protection> parameter is 1.
67 Moreover, according to RFC 4210 section 5.3.2, if the message protection is
/freebsd/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception_win.cpp769 DWORD protection = 0; in OverrideFunctionWithDetour() local
770 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithDetour()
780 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithDetour()
811 DWORD protection = 0; in OverrideFunctionWithRedirectJump() local
812 if (!ChangeMemoryProtection(old_func, kJumpInstructionLength, &protection)) in OverrideFunctionWithRedirectJump()
860 DWORD protection = 0; in OverrideFunctionWithHotPatch() local
861 if (!ChangeMemoryProtection(header, patch_length, &protection)) in OverrideFunctionWithHotPatch()
869 if (!RestoreMemoryProtection(header, patch_length, protection)) in OverrideFunctionWithHotPatch()
917 DWORD protection = 0; in OverrideFunctionWithTrampoline() local
918 if (!ChangeMemoryProtection(patch_address, patch_length, &protection)) in OverrideFunctionWithTrampoline()
[all …]
/freebsd/sys/security/mac/
H A Dmac_process.c317 prot2str(vme->max_protection), prot2str(vme->protection)); in mac_proc_vm_revoke_recurse()
324 if ((vme->protection & revokeperms) == 0) { in mac_proc_vm_revoke_recurse()
351 vme->protection &= ~VM_PROT_WRITE; in mac_proc_vm_revoke_recurse()
358 vme->protection &= ~VM_PROT_EXECUTE; in mac_proc_vm_revoke_recurse()
362 vme->protection = 0; in mac_proc_vm_revoke_recurse()
365 vme->protection & ~revokeperms); in mac_proc_vm_revoke_recurse()
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dstm32mp15xx-osd32.dtsi85 regulator-over-current-protection;
94 regulator-over-current-protection;
104 regulator-over-current-protection;
112 regulator-over-current-protection;
139 regulator-over-current-protection;
H A Dstm32mp157c-odyssey-som.dtsi109 regulator-over-current-protection;
118 regulator-over-current-protection;
128 regulator-over-current-protection;
136 regulator-over-current-protection;
161 regulator-over-current-protection;
H A Dstm32mp15xx-dhcor-som.dtsi108 regulator-over-current-protection;
117 regulator-over-current-protection;
126 regulator-over-current-protection;
134 regulator-over-current-protection;
157 regulator-over-current-protection;
H A Dstm32mp157a-stinger96.dtsi130 regulator-over-current-protection;
139 regulator-over-current-protection;
149 regulator-over-current-protection;
157 regulator-over-current-protection;
182 regulator-over-current-protection;
H A Dstm32mp157c-emstamp-argon.dtsi231 regulator-over-current-protection;
240 regulator-over-current-protection;
250 regulator-over-current-protection;
258 regulator-over-current-protection;
283 regulator-over-current-protection;
313 regulator-over-current-protection;
H A Dstm32mp157c-ed1.dts195 regulator-over-current-protection;
204 regulator-over-current-protection;
214 regulator-over-current-protection;
222 regulator-over-current-protection;
245 regulator-over-current-protection;
/freebsd/sys/contrib/device-tree/Bindings/usb/
H A Dpxa-usb.txt18 - "marvell,no-oc-protection" - disable over-current protection.
19 - "marvell,oc-mode-perport" - enable per-port over-current protection.
/freebsd/contrib/wpa/wpa_supplicant/
H A Dtwt.c32 bool flow_type, u8 flow_id, bool protection, in wpas_twt_send_setup() argument
79 if (protection) in wpas_twt_send_setup()

1234567891011