Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 25 of 88) sorted by relevance

1234

/lib/mbedtls/external/mbedtls/tests/suites/
A Dtest_suite_cipher.nist_kw.data33 KWP AES-128 1 byte input
37 KWP AES-128 2 byte input
41 KWP AES-128 3 byte input
45 KWP AES-128 4 byte input
49 KWP AES-128 5 byte input
53 KWP AES-128 6 byte input
57 KWP AES-128 7 byte input
61 KWP AES-128 8 byte input
65 KWP AES-128 9 byte input
69 KWP AES-128 10 byte input
[all …]
A Dtest_suite_psa_crypto_util.data29 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)
41 ECDSA Raw -> DER, 256bit, Invalid raw signature (r and s 1 byte shorter)
45 ECDSA Raw -> DER, 256bit, Invalid raw signature (r 1 byte longer)
49 ECDSA Raw -> DER, 256bit, Invalid raw signature (r and s 1 byte longer)
77 ECDSA DER -> Raw, 256bit, Wrong r integer length (1 byte larger than the actual size)
85 ECDSA DER -> Raw, 256bit, Wrong s integer length (1 byte larger than the actual size)
105 ECDSA DER -> Raw, 256bit, Valid r only 1 zero byte
109 ECDSA DER -> Raw, 256bit, Valid s only 1 zero byte
[all …]
A Dtest_suite_psa_its.data43 Get 1 byte of 10 at 9
49 Get 1 byte of 10 at 0
55 Get 1 byte of 10 at 10: out of range
58 Get 1 byte of 10 at 11: out of range
64 Get -1 byte of 10 at 10: out of range
67 Get 1 byte of 10 at -1: out of range
A Dtest_suite_cmac.data60 CMAC Single Blocks #2 AES-128 - Single 16 byte block
64 CMAC Single Blocks #3 AES-128 - Single 64 byte block
68 CMAC Multiple Blocks #1 AES-128 - Multiple 8 byte blocks
72 CMAC Multiple Blocks #2 AES-128 - Multiple 16 byte blocks
80 CMAC Multiple Blocks #4 AES-128 - Multiple 8 byte blocks with gaps
88 CMAC Multiple Operations, same key #2 AES-192 - Empty, 64 byte block
92 CMAC Multiple Operations, same key #3 AES-192 - variable byte blocks
A Dtest_suite_pkcs7.data157 PKCS7 Parse Failure Invalid ASN1: Add null byte to start #20.0
161 PKCS7 Parse Failure Invalid ASN1: Add null byte to end #21.0
173 PKCS7 Parse Failure Invalid ASN1: Change contents of tag 30 to contain one unaccounted extra byte #…
197 PKCS7 Parse Failure Invalid ASN1: Change contents of tag a0 to contain one unaccounted extra byte #…
213 PKCS7 Parse Failure Invalid ASN1: Change contents of tag 30 to contain one unaccounted extra byte #…
241 PKCS7 Parse Failure Invalid ASN1: Change contents of tag 31 to contain one unaccounted extra byte #…
257 PKCS7 Parse Failure Invalid ASN1: Change contents of tag 30 to contain one unaccounted extra byte #…
1306 PKCS7 Parse Failure Invalid ASN1: Add null byte to start #307.0
1310 PKCS7 Parse Failure Invalid ASN1: Add null byte to end #308.0
2123 PKCS7 Parse Failure Invalid ASN1: Add null byte to start #511.0
[all …]
A Dtest_suite_bignum_core.misc.data170 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)
200 mbedtls_mpi_core_lt_ct: x>y (31 bit x, y first byte greater)
203 mbedtls_mpi_core_lt_ct: x<y (31 bit y, x first byte greater)
431 Fill random core: 1 byte, RNG stops at 0
434 Fill random core: 1 byte, RNG just sufficient
437 Fill random core: 1 byte, RNG not exhausted
440 Fill random core: 1 byte, prior content nonzero
443 Fill random core: 1 byte, 1 extra limb
446 Fill random core: 1 byte, 1 extra limb, prior content nonzero
A Dtest_suite_alignment.function33 /* Define 64-bit aligned raw byte array */
63 /* Make a 16/32/64 byte read from the aligned location, and copy to expected */
129 * Check byte by byte by extracting bytes from opposite ends of
248 /* Define 64-bit aligned raw byte array */
289 /* Build up expected value byte by byte, in either big or little endian format */
A Dtest_suite_aes.xts.data7 AES-128-XTS Encrypt Fail Sector Too Small (by 1 byte)
10 AES-128-XTS Encrypt Fail Sector Too Large (by 1 byte)
36 # 128-bit keys with 32 byte sector
48 # 128-bit keys with 512 byte sector
69 # 256-bit keys with 512 byte sector
A Dtest_suite_oid.data111 OID get numeric string - multi-byte subidentifier
117 OID get numeric string - multi-byte first subidentifier
141 OID get numeric string - 1 byte first subidentifier beyond 2.39
160 OID from numeric string - multi-byte subidentifier
166 OID from numeric string - multi-byte first subidentifier
A Dtest_suite_ssl_decrypt.function64 /* Change any one byte of the plaintext or MAC. The MAC will be wrong. */
140 * byte that encodes the length. The minimal non-zero plaintext length
149 unsigned char padlen; /* excluding the padding_length byte */
174 * The +1 is for the padding_length byte, not counted in padlen. */
185 * The +1 is for the padding_length byte, not counted in padlen. */
243 * Modify each byte of the pre-encryption record before encrypting and
254 /* Corrupt one byte of the data (could be plaintext, MAC or padding) */
A Dtest_suite_lms.function94 /* Altering first message byte must cause verification failure */
100 /* Altering last message byte must cause verification failure */
108 /* Altering first signature byte must cause verification failure */
114 /* Altering last signature byte must cause verification failure */
A Dtest_suite_psa_crypto_persistent_key.data76 import/export persistent raw key: 1 byte
87 import/export persistent raw key file not exist: 1 byte
102 import/export persistent raw key with restart: 1 byte
113 import/export persistent raw key file not exist with restart: 1 byte
A Dtest_suite_pkcs1_v15.data79 RSAES-V15 decoding: bad first byte
82 RSAES-V15 decoding: bad second byte (0 instead of 2)
85 RSAES-V15 decoding: bad second byte (1 instead of 2)
A Dtest_suite_lmots.function94 /* Altering first message byte must cause verification failure */
100 /* Altering last message byte must cause verification failure */
107 /* Altering first signature byte must cause verification failure */
113 /* Altering last signature byte must cause verification failure */
A Dtest_suite_asn1parse.data61 length=0 (1 length byte)
70 length=1 (1 length byte)
85 length=2 (1 length byte)
100 length=128 (1 length byte)
106 length=255 (1 length byte)
A Dtest_suite_ctr_drbg.function467 int byte = (i / 8);
468 c[15 - byte] |= 1 << bit;
476 int byte = n / 8;
477 if (byte < 16) {
478 r[15 - byte] = 1 << bit;
A Dtest_suite_lms.data17 # stores public keys and signatures in HSS form, which appends a 4-byte "levels"
57 # stores public keys and signatures in HSS form, which appends a 4-byte
90 # 4-byte "levels" word at the start of the key/sig. We strip these 4 bytes from
118 # 4-byte "levels" word at the start of the key/sig. We strip these 4 bytes from
223 # byte, and then imports it. This should fail.
227 # This test uses the valid public key for hsslms interop test 1, removes a byte,
/lib/lwip/lwip/contrib/ports/win32/
A Dsio.c221 u8_t byte = 0; in sio_recv() local
223 …while ((sio_abort == 0) && ((!ReadFile((HANDLE)(fd), &byte, 1, &dwNbBytesReadden, NULL)) || (dwNbB… in sio_recv()
224 LWIP_DEBUGF(SIO_DEBUG, ("sio_recv()=%lu\n", (DWORD)byte)); in sio_recv()
225 return byte; in sio_recv()
/lib/lwip/lwip/contrib/apps/LwipMibCompiler/Mibs/
A DSNMPv2-TM85 1-4 IP-address network-byte order
86 5-6 UDP-port network-byte order
172 1-4 network-number network-byte order
173 5-10 physical-address network-byte order
174 11-12 socket-number network-byte order
A DINET-ADDRESS-MIB153 1-4 IPv4 address network-byte order
170 1-16 IPv6 address network-byte order
188 1-4 IPv4 address network-byte order
189 5-8 zone index network-byte order
216 1-16 IPv6 address network-byte order
217 17-20 zone index network-byte order
/lib/efi_selftest/
A Defi_selftest_console.c27 u8 byte; in mac() local
33 byte = p[i]; in mac()
35 c = (byte >> j) & 0x0f; in mac()
/lib/lwip/lwip/src/apps/snmp/
A Dsnmpv3_mbedtls.c82 u8_t byte; in snmpv3_auth() local
84 if (snmp_pbuf_stream_read(&read_stream, &byte)) { in snmpv3_auth()
88 if (mbedtls_md_hmac_update(&ctx, &byte, 1) != 0) { in snmpv3_auth()
/lib/lwip/lwip/src/apps/mdns/
A Dmdns_domain.c398 u8_t byte = ptr[i]; in mdns_build_reverse_v6_domain() local
401 if ((byte & 0x0F) < 0xA) { in mdns_build_reverse_v6_domain()
402 buf = '0' + (byte & 0x0F); in mdns_build_reverse_v6_domain()
404 buf = 'a' + (byte & 0x0F) - 0xA; in mdns_build_reverse_v6_domain()
408 byte >>= 4; in mdns_build_reverse_v6_domain()
/lib/
A Dtiny-printf.c63 static inline char *pack_hex_byte(char *buf, u8 byte) in pack_hex_byte() argument
65 *buf++ = hex_asc_hi(byte); in pack_hex_byte()
66 *buf++ = hex_asc_lo(byte); in pack_hex_byte()
/lib/mbedtls/external/mbedtls/tests/data_files/base64/
A Ddef_b64_ff.bin2 // character. Note that this byte is invalid UTF-8, making this

Completed in 93 milliseconds

1234