/dports/audio/ampache/ampache-php74-5.0.0/vendor/openid/php-openid/Tests/Auth/OpenID/ |
H A D | Nonce.php | 42 foreach ($cases as $nonce_str) { 43 $this->_mkSplitTest($nonce_str); 47 function _mkSplitTest($nonce_str) argument 99 $nonce_str, $skew, $now, $expected) argument 101 $this->nonce_string = $nonce_str; 119 $nonce_str = Auth_OpenID_mkNonce(); 125 $nonce_str = Auth_OpenID_mkNonce(0); 127 $tpart = substr($nonce_str, 0, 20); 145 $nonce_str = Auth_OpenID_mkNonce($t); 154 function __construct($nonce_str) argument [all …]
|
/dports/security/py-python3-openid/python3-openid-3.2.0/openid/test/ |
H A D | test_nonce.py | 36 nonce_str = mkNonce(t) 37 self.assertTrue(nonce_re.match(nonce_str)) 38 et, salt = splitNonce(nonce_str) 54 def __init__(self, nonce_str): argument 55 datadriven.DataDrivenTestCase.__init__(self, nonce_str) 56 self.nonce_str = nonce_str 59 self.assertRaises(ValueError, splitNonce, self.nonce_str)
|
/dports/security/py-python-openid/python-openid-2.2.5/openid/test/ |
H A D | test_nonce.py | 35 nonce_str = mkNonce(t) 36 self.failUnless(nonce_re.match(nonce_str)) 37 et, salt = splitNonce(nonce_str) 52 def __init__(self, nonce_str): argument 53 datadriven.DataDrivenTestCase.__init__(self, nonce_str) 54 self.nonce_str = nonce_str 57 self.failUnlessRaises(ValueError, splitNonce, self.nonce_str)
|
/dports/emulators/yuzu/yuzu-0b47f7a46/externals/mbedtls/tests/suites/ |
H A D | test_suite_chacha20.function | 18 unsigned char nonce_str[12]; /* size set by the standard */ 29 memset( nonce_str, 0x00, sizeof( nonce_str ) ); 35 nonce_len = unhexify( nonce_str, hex_nonce_string ); 46 …TEST_ASSERT( mbedtls_chacha20_crypt( key_str, nonce_str, counter, src_len, src_str, output ) == 0 … 58 TEST_ASSERT( mbedtls_chacha20_starts( &ctx, nonce_str, counter ) == 0 ); 72 TEST_ASSERT( mbedtls_chacha20_starts( &ctx, nonce_str, counter ) == 0 );
|
H A D | test_suite_chachapoly.function | 14 unsigned char nonce_str[12]; /* size set by the standard */ 30 memset( nonce_str, 0x00, sizeof( nonce_str ) ); 40 nonce_len = unhexify( nonce_str, hex_nonce_string ); 52 input_len, nonce_str, 68 unsigned char nonce_str[12]; /* size set by the standard */ 84 memset( nonce_str, 0x00, sizeof( nonce_str ) ); 94 nonce_len = unhexify( nonce_str, hex_nonce_string ); 106 input_len, nonce_str,
|
/dports/emulators/qemu/qemu-6.2.0/roms/skiboot/libstb/crypto/mbedtls/tests/suites/ |
H A D | test_suite_chacha20.function | 18 unsigned char nonce_str[12]; /* size set by the standard */ 29 memset( nonce_str, 0x00, sizeof( nonce_str ) ); 35 nonce_len = unhexify( nonce_str, hex_nonce_string ); 46 …TEST_ASSERT( mbedtls_chacha20_crypt( key_str, nonce_str, counter, src_len, src_str, output ) == 0 … 58 TEST_ASSERT( mbedtls_chacha20_starts( &ctx, nonce_str, counter ) == 0 ); 72 TEST_ASSERT( mbedtls_chacha20_starts( &ctx, nonce_str, counter ) == 0 );
|
H A D | test_suite_chachapoly.function | 14 unsigned char nonce_str[12]; /* size set by the standard */ 30 memset( nonce_str, 0x00, sizeof( nonce_str ) ); 40 nonce_len = unhexify( nonce_str, hex_nonce_string ); 52 input_len, nonce_str, 68 unsigned char nonce_str[12]; /* size set by the standard */ 84 memset( nonce_str, 0x00, sizeof( nonce_str ) ); 94 nonce_len = unhexify( nonce_str, hex_nonce_string ); 106 input_len, nonce_str,
|
/dports/security/pidgin-encryption/pidgin-encryption-3.1/ |
H A D | nonce.c | 76 void PE_str_to_nonce(Nonce* nonce, char* nonce_str) { in PE_str_to_nonce() argument 80 tmp_bin = ATOB_AsciiToData(nonce_str, &tmp_len); in PE_str_to_nonce() 103 int PE_check_incoming_nonce(const char* name, char* nonce_str) { in PE_check_incoming_nonce() argument 115 PE_str_to_nonce(&new_nonce, nonce_str); in PE_check_incoming_nonce()
|
H A D | nonce.h | 27 void PE_str_to_nonce(Nonce* nonce, char* nonce_str); 33 int PE_check_incoming_nonce(const char* name, char* nonce_str);
|
H A D | rsa_nss.c | 409 gchar* nonce_str = PE_new_incoming_nonce(name); 410 g_string_append(outString, nonce_str); 412 purple_debug(PURPLE_DEBUG_INFO, "pidgin-encryption", "Sending Nonce with key: %s\n", nonce_str); 414 g_free(nonce_str); 795 gchar *nonce_str = PE_nonce_to_str(&pub_key->store.rsa_nss.nonce); 796 int nonce_len = strlen(nonce_str); 802 memcpy(*signed_msg, nonce_str, nonce_len); 808 g_free(nonce_str);
|
/dports/security/mbedtls/mbedtls-mbedtls-2.16.12/tests/suites/ |
H A D | test_suite_chacha20.function | 12 data_t *nonce_str, 24 TEST_ASSERT( nonce_str->len == 12U ); 29 …TEST_ASSERT( mbedtls_chacha20_crypt( key_str->x, nonce_str->x, counter, src_str->len, src_str->x, … 41 TEST_ASSERT( mbedtls_chacha20_starts( &ctx, nonce_str->x, counter ) == 0 ); 55 TEST_ASSERT( mbedtls_chacha20_starts( &ctx, nonce_str->x, counter ) == 0 );
|
H A D | test_suite_chachapoly.function | 11 void mbedtls_chachapoly_enc( data_t *key_str, data_t *nonce_str, data_t *aad_str, data_t *input_str… 18 TEST_ASSERT( nonce_str->len == 12 ); 26 input_str->len, nonce_str->x, 39 void mbedtls_chachapoly_dec( data_t *key_str, data_t *nonce_str, data_t *aad_str, data_t *input_str… 46 TEST_ASSERT( nonce_str->len == 12 ); 54 input_str->len, nonce_str->x,
|
/dports/devel/premake5/premake-5.0.0-alpha16-src/contrib/mbedtls/tests/suites/ |
H A D | test_suite_chacha20.function | 12 data_t *nonce_str, 24 TEST_ASSERT( nonce_str->len == 12U ); 29 …TEST_ASSERT( mbedtls_chacha20_crypt( key_str->x, nonce_str->x, counter, src_str->len, src_str->x, … 41 TEST_ASSERT( mbedtls_chacha20_starts( &ctx, nonce_str->x, counter ) == 0 ); 55 TEST_ASSERT( mbedtls_chacha20_starts( &ctx, nonce_str->x, counter ) == 0 );
|
H A D | test_suite_chachapoly.function | 11 void mbedtls_chachapoly_enc( data_t *key_str, data_t *nonce_str, data_t *aad_str, data_t *input_str… 18 TEST_ASSERT( nonce_str->len == 12 ); 26 input_str->len, nonce_str->x, 39 void mbedtls_chachapoly_dec( data_t *key_str, data_t *nonce_str, data_t *aad_str, data_t *input_str… 46 TEST_ASSERT( nonce_str->len == 12 ); 54 input_str->len, nonce_str->x,
|
/dports/databases/evolution-data-server/evolution-data-server-3.42.1/src/libedataserver/ |
H A D | e-oauth2-service-yahoo.c | 149 gchar *nonce_str; in eos_yahoo_prepare_authentication_uri_query() local 155 nonce_str = g_strdup_printf ("%" G_GUINT64_FORMAT "d", nonce_val); in eos_yahoo_prepare_authentication_uri_query() 158 e_oauth2_service_util_set_to_form (uri_query, "nonce", nonce_str); in eos_yahoo_prepare_authentication_uri_query() 160 g_free (nonce_str); in eos_yahoo_prepare_authentication_uri_query()
|
/dports/net/py-saltyrtc.server/saltyrtc.server-5.0.1/saltyrtc/server/ |
H A D | message.py | 96 nonce_str = 'n/a' 98 nonce_str = binascii.hexlify(nonce).decode('ascii') 99 nonce_str = '|'.join(( 100 nonce_str[:hex_cookie_length], 101 nonce_str[hex_cookie_length:hex_cookie_length + 2], 102 nonce_str[hex_cookie_length + 2:hex_cookie_length + 4], 103 nonce_str[hex_cookie_length + 4:hex_cookie_length + 8], 104 nonce_str[hex_cookie_length + 8:] 111 class_name, encrypted_str, nonce_str, payload)
|
/dports/security/botan110/Botan-1.10.17/doc/examples/ |
H A D | eax_test.cpp | 47 const std::string& nonce_str, in eax_test() argument 60 InitializationVector iv(nonce_str); in eax_test()
|
/dports/mail/dovecot/dovecot-2.3.17/src/auth/ |
H A D | mech-scram.c | 302 const char **fields, *cbind_input, *nonce_str; in parse_scram_client_final() local 323 nonce_str = t_strconcat("r=", request->cnonce, request->snonce, NULL); in parse_scram_client_final() 324 if (strcmp(fields[1], nonce_str) != 0) { in parse_scram_client_final()
|
/dports/net-im/py-matrix-synapse/synapse-1.50.2/tests/ |
H A D | unittest.py | 591 nonce_str = b"\x00".join([username.encode("utf8"), password.encode("utf8")]) 593 nonce_str += b"\x00admin" 595 nonce_str += b"\x00notadmin" 597 want_mac.update(nonce.encode("ascii") + b"\x00" + nonce_str)
|
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-stun.c | 1278 const guint8 *nonce_str; in dissect_stun_message() local 1279 …g(att_tree, hf_stun_att_nonce, tvb, offset, att_length, ENC_UTF_8|ENC_NA, pinfo->pool, &nonce_str); in dissect_stun_message() 1280 proto_item_append_text(att_tree, ": %s", nonce_str); in dissect_stun_message()
|
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-stun.c | 1278 const guint8 *nonce_str; in dissect_stun_message() local 1279 …g(att_tree, hf_stun_att_nonce, tvb, offset, att_length, ENC_UTF_8|ENC_NA, pinfo->pool, &nonce_str); in dissect_stun_message() 1280 proto_item_append_text(att_tree, ": %s", nonce_str); in dissect_stun_message()
|
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-stun.c | 1278 const guint8 *nonce_str; 1279 …g(att_tree, hf_stun_att_nonce, tvb, offset, att_length, ENC_UTF_8|ENC_NA, pinfo->pool, &nonce_str); 1280 proto_item_append_text(att_tree, ": %s", nonce_str);
|
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-stun.c | 1278 const guint8 *nonce_str; in dissect_stun_message() local 1279 …g(att_tree, hf_stun_att_nonce, tvb, offset, att_length, ENC_UTF_8|ENC_NA, pinfo->pool, &nonce_str); in dissect_stun_message() 1280 proto_item_append_text(att_tree, ": %s", nonce_str); in dissect_stun_message()
|