Home
last modified time | relevance | path

Searched refs:base (Results 1 – 25 of 36) sorted by relevance

12

/openthread-latest/third_party/mbedtls/repo/3rdparty/everest/library/
Dx25519.c66 uint8_t base[MBEDTLS_X25519_KEY_SIZE_BYTES] = {0}; in mbedtls_x25519_make_params() local
80 base[0] = 9; in mbedtls_x25519_make_params()
81 Hacl_Curve25519_crypto_scalarmult( buf, ctx->our_secret, base ); in mbedtls_x25519_make_params()
83 base[0] = 0; in mbedtls_x25519_make_params()
84 if( memcmp( buf, base, MBEDTLS_X25519_KEY_SIZE_BYTES) == 0 ) in mbedtls_x25519_make_params()
151 unsigned char base[MBEDTLS_X25519_KEY_SIZE_BYTES] = { 0 }; in mbedtls_x25519_make_public() local
164 base[0] = 9; in mbedtls_x25519_make_public()
165 Hacl_Curve25519_crypto_scalarmult( buf, ctx->our_secret, base ); in mbedtls_x25519_make_public()
167 base[0] = 0; in mbedtls_x25519_make_public()
168 if( memcmp( buf, base, MBEDTLS_X25519_KEY_SIZE_BYTES ) == 0 ) in mbedtls_x25519_make_public()
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Drun-test-suites.pl44 (my $base = $data_file) =~ s/\.datax$//;
45 push @suites, $base if -x $base;
46 push @suites, "$base.exe" if -e "$base.exe";
Daudit-validity-dates.py166 content_len = int(hex_str[2:4], base=16)
174 content_len = int(hex_str[consumed:consumed+length_len], base=16)
/openthread-latest/third_party/tcplp/bsdtcp/
Dtcp_fastopen.c421 V_tcp_fastopen_ccache.base = malloc(V_tcp_fastopen_ccache.buckets * in tcp_fastopen_init()
426 TAILQ_INIT(&V_tcp_fastopen_ccache.base[i].ccb_entries); in tcp_fastopen_init()
427 mtx_init(&V_tcp_fastopen_ccache.base[i].ccb_mtx, "tfo_ccache_bucket", in tcp_fastopen_init()
431 V_tcp_fastopen_ccache.base[i].ccb_num_entries = 0; in tcp_fastopen_init()
434 V_tcp_fastopen_ccache.base[i].ccb_num_entries = -1; in tcp_fastopen_init()
436 V_tcp_fastopen_ccache.base[i].ccb_ccache = &V_tcp_fastopen_ccache; in tcp_fastopen_init()
462 ccb = &V_tcp_fastopen_ccache.base[i]; in tcp_fastopen_destroy()
470 free(V_tcp_fastopen_ccache.base, M_TCP_FASTOPEN_CCACHE); in tcp_fastopen_destroy()
868 ccb = &V_tcp_fastopen_ccache.base[i];
892 ccb = &V_tcp_fastopen_ccache.base[i];
[all …]
Dtcp_fastopen.h79 struct tcp_fastopen_ccache_bucket *base;
/openthread-latest/third_party/mbedtls/repo/scripts/mbedtls_dev/
Dcrypto_knowledge.py480 def permitted_truncations(cls, base: str) -> FrozenSet[int]:
488 if base in cls.PERMITTED_TAG_LENGTHS:
489 return cls.PERMITTED_TAG_LENGTHS[base]
490 max_length = cls.MAC_LENGTH.get(base, None)
492 m = cls.HMAC_RE.match(base)
496 raise ValueError('Unknown permitted lengths for ' + base)
512 base = m.group('base')
514 permitted_lengths = self.permitted_truncations(base)
Dbignum_mod_raw.py141 base = super().description()
143 return base.replace('mod', mod_with_rep, 1)
/openthread-latest/third_party/mbedtls/repo/programs/ssl/
Dssl_mail_client.c325 unsigned char base[1024]; in main() local
330 unsigned char buf[sizeof(base) + 2]; in main()
690 ret = mbedtls_base64_encode(base, sizeof(base), &n, (const unsigned char *) opt.user_name, in main()
697 len = sprintf((char *) buf, "%s\r\n", base); in main()
709 ret = mbedtls_base64_encode(base, sizeof(base), &n, (const unsigned char *) opt.user_pwd, in main()
716 len = sprintf((char *) buf, "%s\r\n", base); in main()
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_bignum_mod.misc.data19 mpi_mod_sub base case for negative testing (N, a, b all >= 1 limb)
40 mbedtls_mpi_mod_inv non-Mont. form - base case for negative testing (N, A, A^-1)
52 mbedtls_mpi_mod_inv 32-bit Mont. form - base case for negative testing, A = 1 (N, mont(A), mont(A^-…
68 mbedtls_mpi_mod_inv 64-bit Mont. form - base case for negative testing, A = 1 (N, mont(A), mont(A^-…
84 mpi_mod_add base case for negative testing (N, a, b all >= 1 limb)
Dtest_suite_entropy.data16 Entropy write/update seed file: base NV seed file
Dtest_suite_bignum.misc.data70 Test mpi_read_write_string #9 (Empty MPI hex -> base 2)
79 Test mpi_read_write_string #9 (Empty MPI dec -> base 2)
871 Base test mbedtls_mpi_sub_mpi #3 (Test with negative base)
1314 Base test mbedtls_mpi_exp_mod #4 (Negative base)
1320 Base test mbedtls_mpi_exp_mod #6 (Negative base + exponent)
1390 Test mbedtls_mpi_exp_mod (Negative base) [#1]
1393 Test mbedtls_mpi_exp_mod (Negative base) [#2]
Dtest_suite_ecp.function161 * important to test both base point and random point, though, as memory
171 * - Cold base point mult: ~3300M
172 * - Hot base point mult: ~1100M
218 /* Non-base point case */
Dtest_suite_entropy.function89 * NV seed read/write helpers that fill the base seedfile
Dtest_suite_bignum_random.function62 /* Test whether bytes represents (in big-endian base 256) a number b that
/openthread-latest/third_party/mbedtls/repo/scripts/
Dci.requirements.txt10 # Use the earliest version of mypy that works with our code base.
/openthread-latest/third_party/mbedtls/repo/docs/architecture/psa-migration/
Doutcome-analysis.sh54 git checkout $(git merge-base HEAD development)
/openthread-latest/third_party/mbedtls/repo/ChangeLog.d/
D00README.md22 * Changes to parts of the code base that users don't interact with directly,
/openthread-latest/third_party/mbedtls/repo/tests/
DCMakeLists.txt20 # Get base names for generated files
/openthread-latest/tests/scripts/thread-cert/pktverify/
Dlayer_fields.py205 ridmask_int = int(ridmask.replace(':', ''), base=16)
/openthread-latest/third_party/mbedtls/repo/docs/architecture/testing/
Dpsa-storage-format-testing.md35 Test cases should normally not be removed from the code base: if something has worked before, it sh…
/openthread-latest/third_party/mbedtls/repo/docs/proposed/
Dpsa-conditional-inclusion-c.md112 …he base mechanism is supported. Parameters must themselves be included through their own `PSA_WANT…
/openthread-latest/src/core/mac/
Dmac.cpp2418 const uint8_t *base = aFrame.GetPsdu(); in GetTimeIeOffset() local
2425 offset = static_cast<uint8_t>(cur - base); in GetTimeIeOffset()
/openthread-latest/third_party/mbedtls/repo/3rdparty/p256-m/p256-m/
DREADME.md373 - curve constants: b from the equation, the base point's coordinates;
479 gx, gy (coordinates of the base point) are hard-coded. For another curve,
/openthread-latest/third_party/mbedtls/repo/docs/architecture/
Dtls13-support.md300 split them to ease their search in the code base.
/openthread-latest/tools/otci/otci/
Dotci.py3043 def __parse_int(self, output: List[str], base=10) -> int: argument
3047 return int(output[0], base)

12