Home
last modified time | relevance | path

Searched refs:bit (Results 1 – 25 of 82) sorted by relevance

1234

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_generate_key.generated.data3 PSA AES 128-bit
7 PSA AES 192-bit
11 PSA AES 256-bit
15 PSA ARIA 128-bit
19 PSA ARIA 192-bit
23 PSA ARIA 256-bit
27 PSA CAMELLIA 128-bit
31 PSA CAMELLIA 192-bit
35 PSA CAMELLIA 256-bit
39 PSA CHACHA20 256-bit
[all …]
Dtest_suite_alignment.data1 Aligned 16-bit access
4 Aligned 32-bit access
7 Aligned 64-bit access
10 Unaligned 16-bit access offset=1
13 Unaligned 32-bit access offset=1
16 Unaligned 64-bit access offset=1
19 Unaligned 16-bit access offset=4
22 Unaligned 32-bit access offset=4
25 Unaligned 64-bit access offset=4
28 Unaligned 16-bit access offset=7
[all …]
Dtest_suite_psa_crypto_not_supported.generated.data3 PSA import AES 128-bit not supported
7 PSA generate AES 128-bit not supported
11 PSA import AES 192-bit not supported
15 PSA generate AES 192-bit not supported
19 PSA import AES 256-bit not supported
23 PSA generate AES 256-bit not supported
27 PSA import ARIA 128-bit not supported
31 PSA generate ARIA 128-bit not supported
35 PSA import ARIA 192-bit not supported
39 PSA generate ARIA 192-bit not supported
[all …]
Dtest_suite_psa_crypto_util.data1 ECDSA Raw -> DER, 256bit, Success
5 ECDSA Raw -> DER, 256bit, DER buffer too small
9 ECDSA Raw -> DER, 256bit, Null r
13 ECDSA Raw -> DER, 256bit, Null s
17 ECDSA Raw -> DER, 256bit, r with MSb set
21 ECDSA Raw -> DER, 256bit, s with MSb set
25 ECDSA Raw -> DER, 256bit, both r and s with MSb set
29 ECDSA Raw -> DER, 256bit, r and s only 1 byte of data
33 ECDSA Raw -> DER, 256bit, r and s only 1 byte of data with MSb set
37 ECDSA Raw -> DER, 256bit, Invalid raw signature (r 1 byte shorter)
[all …]
Dtest_suite_dhm.data4 Diffie-Hellman full exchange: 5-bit, x_size=3
7 Diffie-Hellman full exchange: 5-bit, x_size=2
12 Diffie-Hellman full exchange: 5-bit #1
15 Diffie-Hellman full exchange: 5-bit #2
18 Diffie-Hellman full exchange: 5-bit #3
21 Diffie-Hellman full exchange: 5-bit #4
24 Diffie-Hellman full exchange: 5-bit #5
31 Diffie-Hellman full exchange: 97-bit, x_size=14
34 Diffie-Hellman full exchange: 97-bit #1
37 Diffie-Hellman full exchange: 97-bit #2
[all …]
Dtest_suite_psa_crypto_storage_format.current.data107 save type: AES 128-bit
111 save type: AES 128-bit, AEAD_SHORT(CCM,4)
115 save type: AES 128-bit, AEAD_SHORT(CCM,14)
119 save type: AES 128-bit, AEAD_SHORT(CCM,16)
123 save type: AES 128-bit, CBC_MAC
127 save type: AES 128-bit, CBC_NO_PADDING
131 save type: AES 128-bit, CBC_PKCS7
135 save type: AES 128-bit, CCM
139 save type: AES 128-bit, CCM_STAR_NO_TAG
143 save type: AES 128-bit, CFB
[all …]
Dtest_suite_psa_crypto_storage_format.v0.data195 read type: AES 128-bit
199 read type: AES 128-bit, AEAD_SHORT(CCM,4)
203 read type: AES 128-bit, AEAD_SHORT(CCM,14)
207 read type: AES 128-bit, AEAD_SHORT(CCM,16)
211 read type: AES 128-bit, CBC_MAC
215 read type: AES 128-bit, CBC_NO_PADDING
219 read type: AES 128-bit, CBC_PKCS7
223 read type: AES 128-bit, CCM
227 read type: AES 128-bit, CCM_STAR_NO_TAG
231 read type: AES 128-bit, CFB
[all …]
Dtest_suite_pkparse.data33 Parse RSA Key #9 (2048-bit, DES Encrypted)
37 Parse RSA Key #10 (2048-bit, 3DES Encrypted)
41 Parse RSA Key #11 (2048-bit, AES-128 Encrypted)
45 Parse RSA Key #12 (2048-bit, AES-192 Encrypted)
49 Parse RSA Key #13 (2048-bit, AES-256 Encrypted)
53 Parse RSA Key #14 (4096-bit, DES Encrypted)
57 Parse RSA Key #15 (4096-bit, 3DES Encrypted)
61 Parse RSA Key #16 (4096-bit, AES-128 Encrypted)
65 Parse RSA Key #17 (4096-bit, AES-192 Encrypted)
69 Parse RSA Key #18 (4096-bit, AES-256 Encrypted)
[all …]
Dtest_suite_bignum_core.misc.data46 Test mbedtls_mpi_core_io_be #15 (One limb, 32 bit)
50 Test mbedtls_mpi_core_io_be #16 (One limb, 64 bit)
134 Test mbedtls_mpi_core_bitlen 764-bit
170 mbedtls_mpi_core_lt_ct: x>y (63 bit x, y first byte greater)
173 mbedtls_mpi_core_lt_ct: x<y (63 bit y, x first byte greater)
176 mbedtls_mpi_core_lt_ct: x>y (64 bit x, y=x-1)
179 mbedtls_mpi_core_lt_ct: x<y (64 bit y, x=y-1)
182 mbedtls_mpi_core_lt_ct: x>y (64 bit x, y=1)
185 mbedtls_mpi_core_lt_ct: x<y (64 bit y, x=1)
188 mbedtls_mpi_core_lt_ct: x>y (64 bit x, y=0)
[all …]
Dtest_suite_rsa.data401 RSA Generate Key - 1024 bit key
405 RSA Generate Key - 2048 bit key
524 RSA Import (N,P,Q,D,E) 512-bit complete pair
527 RSA Import (N,-,-,-,E) 512-bit public
530 RSA Import (N,P,Q,D,E) 513-bit complete pair
533 RSA Import (N,-,-,-,E) 513-bit public
536 RSA Import (N,P,Q,D,E) 514-bit complete pair
539 RSA Import (N,-,-,-,E) 514-bit public
542 RSA Import (N,P,Q,D,E) 515-bit complete pair
545 RSA Import (N,-,-,-,E) 515-bit public
[all …]
Dtest_suite_psa_crypto_persistent_key.data79 import/export persistent key RSA public key: good, 1024-bit
83 import/export persistent key RSA keypair: good, 1024-bit
90 import/export persistent key RSA public key file not exist: 1024-bit
94 import/export persistent key RSA keypair file not exist: 1024-bit
105 import/export persistent key RSA public key with restart: good, 1024-bit
109 import/export persistent key RSA keypair with restart: good, 1024-bit
116 import/export persistent key RSA public key file not exist with restart: 1024-bit
120 import/export persistent key RSA keypair file not exist with restart: 1024-bit
Dtest_suite_bignum.misc.data145 Test mbedtls_mpi_bitlen 764-bit
343 Base test mbedtls_mpi_lt_mpi_ct (corner case - 64 bit) #1
346 Base test mbedtls_mpi_lt_mpi_ct (corner case - 64 bit) #2
349 Base test mbedtls_mpi_lt_mpi_ct (corner case - 64 bit) #3
352 Base test mbedtls_mpi_lt_mpi_ct (corner case - 64 bit) #4
355 Base test mbedtls_mpi_lt_mpi_ct (corner case - 64 bit) #5
358 Base test mbedtls_mpi_lt_mpi_ct (corner case - 32 bit) #1
361 Base test mbedtls_mpi_lt_mpi_ct (corner case - 32 bit) #2
364 Base test mbedtls_mpi_lt_mpi_ct (corner case - 32 bit) #3
367 Base test mbedtls_mpi_lt_mpi_ct (corner case - 32 bit) #4
[all …]
Dtest_suite_bignum_mod.misc.data52 mbedtls_mpi_mod_inv 32-bit Mont. form - base case for negative testing, A = 1 (N, mont(A), mont(A^-…
56 mbedtls_mpi_mod_inv 32-bit Mont. form - A == 0
60 mbedtls_mpi_mod_inv 32-bit Mont. form - A too long
64 mbedtls_mpi_mod_inv 32-bit Mont. form - A too short
68 mbedtls_mpi_mod_inv 64-bit Mont. form - base case for negative testing, A = 1 (N, mont(A), mont(A^-…
72 mbedtls_mpi_mod_inv 64-bit Mont. form - A == 0
76 mbedtls_mpi_mod_inv 64-bit Mont. form - A too long
80 mbedtls_mpi_mod_inv 64-bit Mont. form - A too short
Dtest_suite_aes.xts.data36 # 128-bit keys with 32 byte sector
48 # 128-bit keys with 512 byte sector
69 # 256-bit keys with 512 byte sector
92 # 128-bit keys with sector size not evenly divisible by 16 bytes
Dtest_suite_ctr_drbg.function459 // test all increments from 2^n - 1 to 2^n (i.e. where we roll over into the next bit)
466 int bit = i % 8;
468 c[15 - byte] |= 1 << bit;
473 // now generate a reference result equal to 2^n - i.e. set only bit (n + 1)
475 int bit = n % 8;
478 r[15 - byte] = 1 << bit;
Dtest_suite_oid.data126 OID get numeric string - no final / all bytes have top bit set
145 OID get numeric string - 32-bit overflow
148 OID get numeric string - 32-bit overflow, second subidentifier
/openthread-latest/src/core/common/
Dnotifier.cpp184 for (uint8_t bit = 0; bit < BitSizeOf(Events::Flags); bit++) in LogEvents() local
188 if (flags & (1 << bit)) in LogEvents()
199 string.Append("%s%s", addSpace ? " " : "", EventToString(static_cast<Event>(1 << bit))); in LogEvents()
202 flags ^= (1 << bit); in LogEvents()
/openthread-latest/tests/unit/
Dtest_ip_address.cpp327 for (uint8_t bit = 0; bit < aPrefixLength; bit++) in CheckPrefix() local
329 uint8_t index = bit / kBitsPerByte; in CheckPrefix()
330 uint8_t mask = (0x80 >> (bit % kBitsPerByte)); in CheckPrefix()
348 for (uint8_t bit = 64; bit < aPrefixLength; bit++) in CheckPrefixInIid() local
350 uint8_t index = bit / kBitsPerByte; in CheckPrefixInIid()
351 uint8_t mask = (0x80 >> (bit % kBitsPerByte)); in CheckPrefixInIid()
369 for (size_t bit = aPrefixLength; bit < sizeof(Ip6::Address) * kBitsPerByte; bit++) in CheckInterfaceId() local
371 uint8_t index = bit / kBitsPerByte; in CheckInterfaceId()
372 uint8_t mask = (0x80 >> (bit % kBitsPerByte)); in CheckInterfaceId()
/openthread-latest/third_party/mbedtls/repo/docs/architecture/
Dmbed-crypto-storage-specification.md41 …acing documentation: according to the user-facing documentation, arbitrary 32-bit values are valid.
51 All integers are encoded in little-endian order in 8-bit bytes.
72 Assumption: ITS provides a 32-bit file identifier namespace. The Crypto service can use arbitrary f…
116 …name is just the key identifier as defined in the PSA crypto specification. This is a 32-bit value.
117 …lling partition identifier provided to the server by the partition manager. This is a 64-bit value.
133 Assumption: ITS provides a 64-bit file identifier namespace. The Crypto service can use arbitrary f…
143 Assumption: ITS provides a 64-bit file identifier namespace. The entity using the crypto library ca…
166 It would simplify things to always have a 32-bit owner, with a nonzero value, and thus reserve the …
188 …_its", key_id)`: a key or non-key file. The `key_id` in the name is the 64-bit file identifier, wh…
201 All integers are encoded in little-endian order in 8-bit bytes.
[all …]
/openthread-latest/third_party/mbedtls/repo/3rdparty/p256-m/p256-m/
DREADME.md6 especially suited to constrained 32-bit environments. It's written in standard
93 integer division, and for multiplication by default it only uses 16x16->32 bit
94 unsigned multiplication. On cores which have a constant-time 32x32->64 bit
270 _64-bit Intel_ (i7-6500U at 2.50GHz) laptop running Ubuntu 20.04
304 faster (though a bit larger) than the mixed affine-Jacobian formulas
306 - p256-m uses bits of inline assembly for 64-bit multiplication on the
458 - The number of limbs is hard-coded to 8. For other 256-bit curves, nothing to
498 - This layer assumes that the bit size of the curve's order n is the same as
503 - The bit size of the curve's order is hard-coded in `scalar_mult()`. For
506 significant bit of the curve's order n is set in order to avoid a special
[all …]
/openthread-latest/third_party/mbedtls/repo/scripts/
Dgenerate_psa_constants.py295 return '\n'.join([self._make_bit_test('usage', bit)
296 for bit in sorted(self.key_usage_flags)])
/openthread-latest/third_party/mbedtls/repo/library/
Dasn1write.c274 unsigned char bit; in mbedtls_asn1_write_named_bitstring() local
289 bit = cur_byte_shifted & 0x1; in mbedtls_asn1_write_named_bitstring()
292 if (bit != 0) { in mbedtls_asn1_write_named_bitstring()
/openthread-latest/third_party/tcplp/lib/
Dbitmap.c144 static inline void bmp_write_bit(uint8_t* buf, size_t i, uint8_t bit) { in bmp_write_bit() argument
148 buf[byte_index] = (buf[byte_index] & ~(1 << bit_shift)) | (bit << bit_shift); in bmp_write_bit()
/openthread-latest/third_party/mbedtls/repo/tests/data_files/
Ddh.998.pem1 DH Parameters: (998 bit)
Ddh.999.pem1 DH Parameters: (999 bit)

1234