/mbedtls-development/tests/suites/ |
A D | test_suite_ccm.data | 177 CCM encrypt and tag AES-128 (P=0, N=13, A=0, T=16) 1525 CCM encrypt, skip ad AES-128 (P=0, N=13, A=0, T=16) 1529 CCM* encrypt, skip ad AES-128 (P=0, N=13, A=0, T=16) 1533 CCM decrypt, skip ad AES-128 (P=0, N=13, A=0, T=16) 1537 CCM* decrypt, skip ad AES-128 (P=0, N=13, A=0, T=16) 1557 CCM encrypt, skip update AES-128 (P=0, N=13, A=0, T=16) 1561 CCM decrypt, skip update AES-128 (P=0, N=13, A=0, T=16) 1565 CCM* encrypt, skip update AES-128 (P=0, N=13, A=0, T=16) 1569 CCM* decrypt, skip update AES-128 (P=0, N=13, A=0, T=16) 1729 CCM encrypt, instant finish AES-128 (P=0, N=13, A=0, T=16) [all …]
|
A D | test_suite_cipher.ccm.data | 1 AES-128-CCM test vector NIST #1 (P=0, N=7, A=0, T=4) 5 AES-128-CCM test vector NIST #2 (P=0, N=7, A=0, T=4) 9 AES-128-CCM test vector NIST #3 (P=0, N=7, A=0, T=16) 13 AES-128-CCM test vector NIST #4 (P=0, N=7, A=0, T=16) 17 AES-128-CCM test vector NIST #5 (P=0, N=13, A=0, T=4) 21 AES-128-CCM test vector NIST #6 (P=0, N=13, A=0, T=4) 25 AES-128-CCM test vector NIST #7 (P=0, N=13, A=0, T=16) 29 AES-128-CCM test vector NIST #8 (P=0, N=13, A=0, T=16) 33 AES-128-CCM test vector NIST #9 (P=24, N=7, A=0, T=4) 37 AES-128-CCM test vector NIST #10 (P=24, N=7, A=0, T=4) [all …]
|
A D | test_suite_psa_crypto.data | 2446 PSA AEAD encrypt: AES-CCM, 24 bytes, T=4 2450 PSA AEAD encrypt: AES-CCM, 24 bytes, T=6 2454 PSA AEAD encrypt: AES-CCM, 24 bytes, T=8 2458 PSA AEAD encrypt: AES-CCM, 24 bytes, T=10 2462 PSA AEAD encrypt: AES-CCM, 24 bytes, T=12 2466 PSA AEAD encrypt: AES-CCM, 24 bytes, T=14 2470 PSA AEAD encrypt: AES-CCM, 24 bytes, T=16 2482 PSA AEAD decrypt: AES-CCM, 24 bytes, T=4 2486 PSA AEAD decrypt: AES-CCM, 24 bytes, T=6 2490 PSA AEAD decrypt: AES-CCM, 24 bytes, T=8 [all …]
|
/mbedtls-development/library/ |
A D | des.c | 235 T = (((X) >> 4) ^ (Y)) & 0x0F0F0F0F; (Y) ^= T; (X) ^= (T << 4); \ 236 T = (((X) >> 16) ^ (Y)) & 0x0000FFFF; (Y) ^= T; (X) ^= (T << 16); \ 237 T = (((Y) >> 2) ^ (X)) & 0x33333333; (X) ^= T; (Y) ^= (T << 2); \ 238 T = (((Y) >> 8) ^ (X)) & 0x00FF00FF; (X) ^= T; (Y) ^= (T << 8); \ 240 T = ((X) ^ (Y)) & 0xAAAAAAAA; (Y) ^= T; (X) ^= T; \ 251 T = ((X) ^ (Y)) & 0xAAAAAAAA; (X) ^= T; (Y) ^= T; \ 253 T = (((Y) >> 8) ^ (X)) & 0x00FF00FF; (X) ^= T; (Y) ^= (T << 8); \ 254 T = (((Y) >> 2) ^ (X)) & 0x33333333; (X) ^= T; (Y) ^= (T << 2); \ 255 T = (((X) >> 16) ^ (Y)) & 0x0000FFFF; (Y) ^= T; (X) ^= (T << 16); \ 410 T = ((Y >> 4) ^ X) & 0x0F0F0F0F; X ^= T; Y ^= (T << 4); in mbedtls_des_setkey() [all …]
|
A D | pkwrite.c | 77 mbedtls_mpi T; in pk_write_rsa_pubkey() local 79 mbedtls_mpi_init( &T ); in pk_write_rsa_pubkey() 83 ( ret = mbedtls_asn1_write_mpi( p, start, &T ) ) < 0 ) in pk_write_rsa_pubkey() 89 ( ret = mbedtls_asn1_write_mpi( p, start, &T ) ) < 0 ) in pk_write_rsa_pubkey() 95 mbedtls_mpi_free( &T ); in pk_write_rsa_pubkey() 336 mbedtls_mpi_init( &T ); in mbedtls_pk_write_key_der() 340 ( ret = mbedtls_asn1_write_mpi( &c, buf, &T ) ) < 0 ) in mbedtls_pk_write_key_der() 346 ( ret = mbedtls_asn1_write_mpi( &c, buf, &T ) ) < 0 ) in mbedtls_pk_write_key_der() 364 if ( ( ret = mbedtls_rsa_export( rsa, NULL, &T, in mbedtls_pk_write_key_der() 385 if ( ( ret = mbedtls_rsa_export( rsa, &T, NULL, in mbedtls_pk_write_key_der() [all …]
|
A D | ecp.c | 174 ctx->T = NULL; in ecp_restart_rsm_init() 543 grp->T = NULL; in mbedtls_ecp_group_init() 1804 MBEDTLS_MPI_CHK( ecp_add_mixed( grp, &T[i + j], &T[j], &T[i] ) ); in ecp_precompute_comb() 2145 T = grp->T; in ecp_mul_comb() 2154 T = rs_ctx->rsm->T; in ecp_mul_comb() 2187 grp->T = T; in ecp_mul_comb() 2200 if( T == grp->T ) in ecp_mul_comb() 2201 T = NULL; in ecp_mul_comb() 2209 rs_ctx->rsm->T = T; in ecp_mul_comb() 2210 T = NULL; in ecp_mul_comb() [all …]
|
A D | rsa_alt_helpers.c | 73 mbedtls_mpi T; /* Holds largest odd divisor of DE - 1 */ in mbedtls_rsa_deduce_primes() local 105 mbedtls_mpi_init( &T ); in mbedtls_rsa_deduce_primes() 108 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &T, D, E ) ); in mbedtls_rsa_deduce_primes() 109 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_int( &T, &T, 1 ) ); in mbedtls_rsa_deduce_primes() 111 if( ( order = (uint16_t) mbedtls_mpi_lsb( &T ) ) == 0 ) in mbedtls_rsa_deduce_primes() 118 MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( &T, order ) ); in mbedtls_rsa_deduce_primes() 140 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &K, &K, &T, N, in mbedtls_rsa_deduce_primes() 189 mbedtls_mpi_free( &T ); in mbedtls_rsa_deduce_primes()
|
A D | pkparse.c | 713 mbedtls_mpi T; in pk_parse_key_pkcs1_der() local 714 mbedtls_mpi_init( &T ); in pk_parse_key_pkcs1_der() 755 ( ret = mbedtls_rsa_import( rsa, &T, NULL, NULL, in pk_parse_key_pkcs1_der() 762 NULL, &T ) ) != 0 ) in pk_parse_key_pkcs1_der() 768 &T, NULL ) ) != 0 ) in pk_parse_key_pkcs1_der() 773 ( ret = mbedtls_rsa_import( rsa, NULL, &T, NULL, in pk_parse_key_pkcs1_der() 779 ( ret = mbedtls_rsa_import( rsa, NULL, NULL, &T, in pk_parse_key_pkcs1_der() 797 ( ret = mbedtls_mpi_copy( &rsa->DP, &T ) ) != 0 ) in pk_parse_key_pkcs1_der() 802 ( ret = mbedtls_mpi_copy( &rsa->DQ, &T ) ) != 0 ) in pk_parse_key_pkcs1_der() 807 ( ret = mbedtls_mpi_copy( &rsa->QP, &T ) ) != 0 ) in pk_parse_key_pkcs1_der() [all …]
|
A D | bignum.c | 262 mbedtls_mpi T; in mbedtls_mpi_swap() local 579 mbedtls_mpi T; in mbedtls_mpi_read_string() local 586 mbedtls_mpi_init( &T ); in mbedtls_mpi_read_string() 635 mbedtls_mpi_free( &T ); in mbedtls_mpi_read_string() 688 mbedtls_mpi T; in mbedtls_mpi_write_string() local 718 mbedtls_mpi_init( &T ); in mbedtls_mpi_write_string() 750 if( T.s == -1 ) in mbedtls_mpi_write_string() 751 T.s = 1; in mbedtls_mpi_write_string() 1381 const mbedtls_mpi *T = A; A = X; B = T; in mbedtls_mpi_add_abs() local 2172 memset( T->p, 0, T->n * ciL ); in mpi_montmul() [all …]
|
A D | rsa.c | 757 mbedtls_mpi T; in mbedtls_rsa_public() local 765 mbedtls_mpi_init( &T ); in mbedtls_rsa_public() 781 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &T, &T, &ctx->E, &ctx->N, &ctx->RN ) ); in mbedtls_rsa_public() 790 mbedtls_mpi_free( &T ); in mbedtls_rsa_public() 897 mbedtls_mpi T; in mbedtls_rsa_private() local 947 mbedtls_mpi_init( &T ); in mbedtls_rsa_private() 983 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &T, &T, &ctx->Vi ) ); in mbedtls_rsa_private() 984 MBEDTLS_MPI_CHK( mbedtls_mpi_mod_mpi( &T, &T, &ctx->N ) ); in mbedtls_rsa_private() 1028 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &T, &T, D, &ctx->N, &ctx->RN ) ); in mbedtls_rsa_private() 1058 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( &T, &T, &ctx->Vf ) ); in mbedtls_rsa_private() [all …]
|
A D | ecp_internal_alt.h | 221 mbedtls_ecp_point *T[], size_t t_len );
|
A D | gcm.c | 115 uint32_t T = ( vl & 1 ) * 0xe1000000U; in gcm_gen_table() local 117 vh = ( vh >> 1 ) ^ ( (uint64_t) T << 32); in gcm_gen_table()
|
A D | ecp_curves.c | 4541 const mbedtls_ecp_point *T) in ecp_group_load() argument 4558 grp->T = (mbedtls_ecp_point *) T; in ecp_group_load()
|
/mbedtls-development/tests/ |
A D | compat.sh | 332 T=$(./scripts/translate_ciphers.py g $CIPHERS) 333 check_translation $? "$T" 334 G_CIPHERS="$G_CIPHERS $T" 336 T=$(./scripts/translate_ciphers.py o $CIPHERS) 337 check_translation $? "$T" 338 O_CIPHERS="$O_CIPHERS $T" 420 T=$(./scripts/translate_ciphers.py o $CIPHERS) 421 check_translation $? "$T" 422 O_CIPHERS="$O_CIPHERS $T" 551 check_translation $? "$T" [all …]
|
/mbedtls-development/scripts/ |
A D | rm-calloc-cast.cocci | 3 type T; 6 - (T *)
|
/mbedtls-development/tests/data_files/dir-maxpath/ |
A D | 06.key | 7 T/jpPrkakElLAOmV3xd4hq9ho30N8DAx/A==
|
/mbedtls-development/tests/data_files/ |
A D | test-ca-v1.crt | 10 Ko/vJ2DDxp/LuuxgfbfmhDK+T/tYJiIDW9S01fv145YucMDkLr38Lu7iQVXANC59
|
A D | rsa_pkcs1_2048_clear.pem | 19 lhY560Y/+5T/+W6ZS78rIX9Jv/x6u9f9awLz49Y0189Va6I2v2To4VP1Z5Ueh52p
|
/mbedtls-development/programs/test/ |
A D | benchmark.c | 500 if( grp->T != NULL in ecp_clear_precomputed() 508 mbedtls_ecp_point_free( &grp->T[i] ); in ecp_clear_precomputed() 509 mbedtls_free( grp->T ); in ecp_clear_precomputed() 511 grp->T = NULL; in ecp_clear_precomputed()
|
/mbedtls-development/tests/scripts/ |
A D | generate_psa_tests.py | 37 T = TypeVar('T') #pylint: disable=invalid-name variable 711 def get_option(options, name: str, default: T) -> T: argument
|
/mbedtls-development/include/mbedtls/ |
A D | ecp.h | 249 mbedtls_ecp_point *MBEDTLS_PRIVATE(T); /*!< Pre-computed points for ecp_mul_comb(). */
|
/mbedtls-development/doxygen/ |
A D | mbedtls.doxyfile | 1718 # toolkit from AT&T and Lucent Bell Labs. The other options in this section 1895 # files in one run (i.e. multiple -o and -T options on the command line). This
|