/dports/www/py-pyjwt1/PyJWT-1.7.1/tests/ |
H A D | test_compat.py | 1 from jwt.compat import constant_time_compare 7 assert constant_time_compare( 12 assert not constant_time_compare( 17 assert not constant_time_compare(
|
/dports/security/erlang-jose/erlang-jose-1.11.1/src/jwa/ |
H A D | jose_jwa.erl | 31 -export([constant_time_compare/2]). 197 constant_time_compare(<<>>, _) -> function 199 constant_time_compare(_, <<>>) -> function 201 constant_time_compare(A, B) function 205 constant_time_compare(A, B) function 208 constant_time_compare(A, B, 0). 366 constant_time_compare(<< AH, AT/binary >>, << BH, BT/binary >>, R) -> function 367 constant_time_compare(AT, BT, R bor (BH bxor AH)); 368 constant_time_compare(<<>>, <<>>, R) -> function
|
H A D | jose_jwa_chacha20_poly1305.erl | 40 case jose_jwa:constant_time_compare(CipherTag, Challenge) of 68 jose_jwa:constant_time_compare(MAC, Challenge).
|
/dports/security/elixir-jose/erlang-jose-1.11.1/src/jwa/ |
H A D | jose_jwa.erl | 31 -export([constant_time_compare/2]). 197 constant_time_compare(<<>>, _) -> function 199 constant_time_compare(_, <<>>) -> function 201 constant_time_compare(A, B) function 205 constant_time_compare(A, B) function 208 constant_time_compare(A, B, 0). 366 constant_time_compare(<< AH, AT/binary >>, << BH, BT/binary >>, R) -> function 367 constant_time_compare(AT, BT, R bor (BH bxor AH)); 368 constant_time_compare(<<>>, <<>>, R) -> function
|
H A D | jose_jwa_chacha20_poly1305.erl | 40 case jose_jwa:constant_time_compare(CipherTag, Challenge) of 68 jose_jwa:constant_time_compare(MAC, Challenge).
|
/dports/net/rabbitmq/rabbitmq-server-3.9.11/deps/jose/src/jwa/ |
H A D | jose_jwa.erl | 31 -export([constant_time_compare/2]). 197 constant_time_compare(<<>>, _) -> function 199 constant_time_compare(_, <<>>) -> function 201 constant_time_compare(A, B) function 205 constant_time_compare(A, B) function 208 constant_time_compare(A, B, 0). 366 constant_time_compare(<< AH, AT/binary >>, << BH, BT/binary >>, R) -> function 367 constant_time_compare(AT, BT, R bor (BH bxor AH)); 368 constant_time_compare(<<>>, <<>>, R) -> function
|
H A D | jose_jwa_chacha20_poly1305.erl | 40 case jose_jwa:constant_time_compare(CipherTag, Challenge) of 68 jose_jwa:constant_time_compare(MAC, Challenge).
|
/dports/www/py-WebError/WebError-0.13.1/weberror/util/ |
H A D | security.py | 11 constant_time_compare = hmac.compare_digest variable 13 def constant_time_compare(actual, expected): function 54 return constant_time_compare(str(hashed), expected)
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/hawk/src/crypto/ |
H A D | mod.rs | 53 fn constant_time_compare(&self, a: &[u8], b: &[u8]) -> bool; in constant_time_compare() method 81 pub(crate) fn constant_time_compare(a: &[u8], b: &[u8]) -> bool { in constant_time_compare() function 82 get_crypographer().constant_time_compare(a, b) in constant_time_compare()
|
/dports/security/py-pymacaroons/pymacaroons-0.13.0/pymacaroons/ |
H A D | verifier.py | 5 from hmac import compare_digest as constant_time_compare unknown 7 from pymacaroons.utils import equals as constant_time_compare unknown 124 return constant_time_compare(
|
/dports/devel/py-oslo.utils/oslo.utils-4.12.0/oslo_utils/ |
H A D | secretutils.py | 45 constant_time_compare = hmac.compare_digest 47 constant_time_compare = _constant_time_compare variable
|
/dports/www/py-wagtail/wagtail-2.14.2/wagtail/core/ |
H A D | forms.py | 2 from django.utils.crypto import constant_time_compare 17 if not constant_time_compare(data, self.restriction.password):
|
/dports/www/py-django-sudo/django-sudo-3.1.0/sudo/ |
H A D | utils.py | 9 from django.utils.crypto import get_random_string, constant_time_compare 56 request._sudo = request.user.is_authenticated() and constant_time_compare(
|
/dports/www/py-pyjwt1/PyJWT-1.7.1/jwt/ |
H A D | compat.py | 30 constant_time_compare = hmac.compare_digest 33 def constant_time_compare(val1, val2): function
|
/dports/devel/py-oci/oci-2.53.1/src/oci/_vendor/jwt/ |
H A D | compat.py | 35 constant_time_compare = hmac.compare_digest 38 def constant_time_compare(val1, val2): function
|
/dports/www/py-django-tastypie/django-tastypie-0.14.4/tastypie/ |
H A D | compat.py | 67 from django.middleware.csrf import _unsalt_cipher_token, constant_time_compare 70 return constant_time_compare(_unsalt_cipher_token(request_csrf_token),
|
/dports/www/seahub/seahub-8.0.7-server/seahub/auth/ |
H A D | tokens.py | 5 from django.utils.crypto import constant_time_compare, salted_hmac 38 if not constant_time_compare(self._make_token_with_timestamp(user, ts), token):
|
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/lib/compat/sodium/ |
H A D | sodium_secretbox.cpp | 64 if(!constant_time_compare(computed.data(), ctext + 16, 16)) in crypto_secretbox_xsalsa20poly1305_open() 115 if(!constant_time_compare(mac, computed_mac.data(), computed_mac.size())) in crypto_secretbox_open_detached()
|
/dports/www/py-django-formtools/django-formtools-2.1/formtools/ |
H A D | preview.py | 6 from django.utils.crypto import constant_time_compare 74 return constant_time_compare(token, expected)
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/lib/compat/sodium/ |
H A D | sodium_secretbox.cpp | 64 if(!constant_time_compare(computed.data(), ctext + 16, 16)) in crypto_secretbox_xsalsa20poly1305_open() 115 if(!constant_time_compare(mac, computed_mac.data(), computed_mac.size())) in crypto_secretbox_open_detached()
|
/dports/security/botan2/Botan-2.18.2/src/lib/compat/sodium/ |
H A D | sodium_secretbox.cpp | 64 if(!constant_time_compare(computed.data(), ctext + 16, 16)) in crypto_secretbox_xsalsa20poly1305_open() 115 if(!constant_time_compare(mac, computed_mac.data(), computed_mac.size())) in crypto_secretbox_open_detached()
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/itsdangerous/ |
H A D | signer.py | 4 from ._compat import constant_time_compare 25 return constant_time_compare(sig, self.get_signature(key, value))
|
/dports/devel/py-oslo.utils/oslo.utils-4.12.0/doc/source/reference/ |
H A D | secretutils.rst | 6 :members: constant_time_compare
|
/dports/security/erlang-jose/erlang-jose-1.11.1/test/property_test/ |
H A D | jose_jwa_props.erl | 15 jose_jwa:constant_time_compare(Binary, Binary)
|
/dports/security/elixir-jose/erlang-jose-1.11.1/test/property_test/ |
H A D | jose_jwa_props.erl | 15 jose_jwa:constant_time_compare(Binary, Binary)
|