Home
last modified time | relevance | path

Searched refs:A (Results 1 – 25 of 76) sorted by relevance

1234

/mbedtls-development/library/
A Dsha256.c197 P( local.A[0], local.A[1], local.A[2], local.A[3], local.A[4], in mbedtls_internal_sha256_process()
212 P( local.A[0], local.A[1], local.A[2], local.A[3], local.A[4], in mbedtls_internal_sha256_process()
214 P( local.A[7], local.A[0], local.A[1], local.A[2], local.A[3], in mbedtls_internal_sha256_process()
216 P( local.A[6], local.A[7], local.A[0], local.A[1], local.A[2], in mbedtls_internal_sha256_process()
218 P( local.A[5], local.A[6], local.A[7], local.A[0], local.A[1], in mbedtls_internal_sha256_process()
220 P( local.A[4], local.A[5], local.A[6], local.A[7], local.A[0], in mbedtls_internal_sha256_process()
222 P( local.A[3], local.A[4], local.A[5], local.A[6], local.A[7], in mbedtls_internal_sha256_process()
224 P( local.A[2], local.A[3], local.A[4], local.A[5], local.A[6], in mbedtls_internal_sha256_process()
226 P( local.A[1], local.A[2], local.A[3], local.A[4], local.A[5], in mbedtls_internal_sha256_process()
232 P( local.A[0], local.A[1], local.A[2], local.A[3], local.A[4], in mbedtls_internal_sha256_process()
[all …]
A Dsha512.c241 P( local.A[0], local.A[1], local.A[2], local.A[3], local.A[4], in mbedtls_internal_sha512_process()
245 local.A[6] = local.A[5]; local.A[5] = local.A[4]; in mbedtls_internal_sha512_process()
246 local.A[4] = local.A[3]; local.A[3] = local.A[2]; in mbedtls_internal_sha512_process()
265 P( local.A[0], local.A[1], local.A[2], local.A[3], local.A[4], in mbedtls_internal_sha512_process()
267 P( local.A[7], local.A[0], local.A[1], local.A[2], local.A[3], in mbedtls_internal_sha512_process()
269 P( local.A[6], local.A[7], local.A[0], local.A[1], local.A[2], in mbedtls_internal_sha512_process()
271 P( local.A[5], local.A[6], local.A[7], local.A[0], local.A[1], in mbedtls_internal_sha512_process()
273 P( local.A[4], local.A[5], local.A[6], local.A[7], local.A[0], in mbedtls_internal_sha512_process()
275 P( local.A[3], local.A[4], local.A[5], local.A[6], local.A[7], in mbedtls_internal_sha512_process()
277 P( local.A[2], local.A[3], local.A[4], local.A[5], local.A[6], in mbedtls_internal_sha512_process()
[all …]
A Dmd5.c87 uint32_t X[16], A, B, C, D; in mbedtls_internal_md5_process() member
117 local.A = ctx->state[0]; in mbedtls_internal_md5_process()
124 P( local.A, local.B, local.C, local.D, 0, 7, 0xD76AA478 ); in mbedtls_internal_md5_process()
125 P( local.D, local.A, local.B, local.C, 1, 12, 0xE8C7B756 ); in mbedtls_internal_md5_process()
126 P( local.C, local.D, local.A, local.B, 2, 17, 0x242070DB ); in mbedtls_internal_md5_process()
127 P( local.B, local.C, local.D, local.A, 3, 22, 0xC1BDCEEE ); in mbedtls_internal_md5_process()
128 P( local.A, local.B, local.C, local.D, 4, 7, 0xF57C0FAF ); in mbedtls_internal_md5_process()
129 P( local.D, local.A, local.B, local.C, 5, 12, 0x4787C62A ); in mbedtls_internal_md5_process()
130 P( local.C, local.D, local.A, local.B, 6, 17, 0xA8304613 ); in mbedtls_internal_md5_process()
131 P( local.B, local.C, local.D, local.A, 7, 22, 0xFD469501 ); in mbedtls_internal_md5_process()
[all …]
A Dripemd160.c92 uint32_t A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, X[16]; in mbedtls_internal_ripemd160_process() member
112 local.A = local.Ap = ctx->state[0]; in mbedtls_internal_ripemd160_process()
146 P2( local.A, local.B, local.C, local.D, local.E, 0, 11, 5, 8 ); in mbedtls_internal_ripemd160_process()
147 P2( local.E, local.A, local.B, local.C, local.D, 1, 14, 14, 9 ); in mbedtls_internal_ripemd160_process()
148 P2( local.D, local.E, local.A, local.B, local.C, 2, 15, 7, 9 ); in mbedtls_internal_ripemd160_process()
149 P2( local.C, local.D, local.E, local.A, local.B, 3, 12, 0, 11 ); in mbedtls_internal_ripemd160_process()
150 P2( local.B, local.C, local.D, local.E, local.A, 4, 5, 9, 13 ); in mbedtls_internal_ripemd160_process()
151 P2( local.A, local.B, local.C, local.D, local.E, 5, 8, 2, 15 ); in mbedtls_internal_ripemd160_process()
152 P2( local.E, local.A, local.B, local.C, local.D, 6, 7, 11, 15 ); in mbedtls_internal_ripemd160_process()
153 P2( local.D, local.E, local.A, local.B, local.C, 7, 9, 4, 5 ); in mbedtls_internal_ripemd160_process()
[all …]
A Dsha1.c100 uint32_t temp, W[16], A, B, C, D, E; in mbedtls_internal_sha1_process() member
141 local.A = ctx->state[0]; in mbedtls_internal_sha1_process()
166 P( local.E, local.A, local.B, local.C, local.D, R(16) ); in mbedtls_internal_sha1_process()
167 P( local.D, local.E, local.A, local.B, local.C, R(17) ); in mbedtls_internal_sha1_process()
168 P( local.C, local.D, local.E, local.A, local.B, R(18) ); in mbedtls_internal_sha1_process()
169 P( local.B, local.C, local.D, local.E, local.A, R(19) ); in mbedtls_internal_sha1_process()
177 P( local.A, local.B, local.C, local.D, local.E, R(20) ); in mbedtls_internal_sha1_process()
178 P( local.E, local.A, local.B, local.C, local.D, R(21) ); in mbedtls_internal_sha1_process()
179 P( local.D, local.E, local.A, local.B, local.C, R(22) ); in mbedtls_internal_sha1_process()
180 P( local.C, local.D, local.E, local.A, local.B, R(23) ); in mbedtls_internal_sha1_process()
[all …]
A Dbignum.c1381 const mbedtls_mpi *T = A; A = X; B = T; in mbedtls_mpi_add_abs()
1384 if( X != A ) in mbedtls_mpi_add_abs()
1475 if( n > A->n ) in mbedtls_mpi_sub_abs()
1487 if( A->n > n ) in mbedtls_mpi_sub_abs()
1488 memcpy( X->p + n, A->p + n, ( A->n - n ) * ciL ); in mbedtls_mpi_sub_abs()
1490 memset( X->p + A->n, 0, ( X->n - A->n ) * ciL ); in mbedtls_mpi_sub_abs()
1525 s = A->s; in mbedtls_mpi_add_mpi()
1560 s = A->s; in mbedtls_mpi_sub_mpi()
1724 if( X == A ) { MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &TA, A ) ); A = &TA; } in mbedtls_mpi_mul_mpi()
2973 A.p[A.n - 1] &= ( (mbedtls_mpi_uint) 1 << ( k - ( A.n - 1 ) * biL - 1 ) ) - 1; in mpi_miller_rabin()
[all …]
A Dnist_kw.c68 unsigned char x = A[i], y = B[i]; in mbedtls_nist_kw_safer_memcmp()
248 unsigned char *A = output; in mbedtls_nist_kw_wrap() local
271 calc_a_xor_t( A, t ); in mbedtls_nist_kw_wrap()
321 memcpy( A, input, KW_SEMIBLOCK_LENGTH ); in unwrap()
328 calc_a_xor_t( A, t ); in unwrap()
330 memcpy( inbuff, A, KW_SEMIBLOCK_LENGTH ); in unwrap()
338 memcpy( A, outbuff, KW_SEMIBLOCK_LENGTH ); in unwrap()
371 unsigned char A[KW_SEMIBLOCK_LENGTH]; in mbedtls_nist_kw_unwrap() local
396 A, output, out_len ); in mbedtls_nist_kw_unwrap()
444 A, output, out_len ); in mbedtls_nist_kw_unwrap()
[all …]
A Daes.c123 V(28,18,18,30), V(A1,96,96,37), V(0F,05,05,0A), V(B5,9A,9A,2F), \
126 V(1B,09,09,12), V(9E,83,83,1D), V(74,2C,2C,58), V(2E,1A,1A,34), \
127 V(2D,1B,1B,36), V(B2,6E,6E,DC), V(EE,5A,5A,B4), V(FB,A0,A0,5B), \
132 V(BE,6A,6A,D4), V(46,CB,CB,8D), V(D9,BE,BE,67), V(4B,39,39,72), \
133 V(DE,4A,4A,94), V(D4,4C,4C,98), V(E8,58,58,B0), V(4A,CF,CF,85), \
147 V(66,22,22,44), V(7E,2A,2A,54), V(AB,90,90,3B), V(83,88,88,0B), \
150 V(3B,E0,E0,DB), V(56,32,32,64), V(4E,3A,3A,74), V(1E,0A,0A,14), \
157 V(AF,65,65,CA), V(8E,7A,7A,F4), V(E9,AE,AE,47), V(18,08,08,10), \
161 V(DD,4B,4B,96), V(DC,BD,BD,61), V(86,8B,8B,0D), V(85,8A,8A,0F), \
241 V(50,A7,F4,51), V(53,65,41,7E), V(C3,A4,17,1A), V(96,5E,27,3A), \
[all …]
A Decp.c532 mbedtls_mpi_init( &grp->A ); in mbedtls_ecp_group_init()
597 mbedtls_mpi_free( &grp->A ); in mbedtls_ecp_group_free()
1082 const mbedtls_mpi *A, in mbedtls_mpi_mul_mod() argument
1086 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( X, A, B ) ); in mbedtls_mpi_mul_mod()
1113 MBEDTLS_MPI_CHK( mbedtls_mpi_sub_mpi( X, A, B ) ); in mbedtls_mpi_sub_mod()
1135 MBEDTLS_MPI_CHK( mbedtls_mpi_add_mpi( X, A, B ) ); in mbedtls_mpi_add_mod()
1372 if( grp->A.p == NULL ) in ecp_double_jac()
1388 if( mbedtls_mpi_cmp_int( &grp->A, 0 ) != 0 ) in ecp_double_jac()
2337 mbedtls_mpi A, AA, B, BB, E, C, D, DA, CB; in ecp_double_add_mxz() local
2344 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mod( grp, &AA, &A, &A ) ); in ecp_double_add_mxz()
[all …]
/mbedtls-development/tests/suites/
A Dtest_suite_ccm.data177 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 Dtest_suite_cipher.ccm.data1 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 Dtest_suite_mpi.function417 mbedtls_mpi A, X, Y, Z;
544 mbedtls_mpi X, A;
545 mbedtls_mpi_init( &A );
556 mbedtls_mpi_free( &A );
681 mbedtls_mpi X, A;
741 mbedtls_mpi X, Z, A;
826 mbedtls_mpi X, Z, A;
864 mbedtls_mpi X, Z, A;
947 mbedtls_mpi X, Y, A;
1186 mbedtls_mpi X, A;
[all …]
A Dtest_suite_aes.ofb.data1 # NIST Special Publication 800-38A
12 OFB-AES128.Encrypt - Test NIST SP800-38A - F.4.1
16 OFB-AES128.Decrypt - Test NIST SP800-38A - F.4.2
20 OFB-AES192.Encrypt - Test NIST SP800-38A - F.4.3
24 OFB-AES192.Decrypt - Test NIST SP800-38A - F.4.4
28 OFB-AES256.Encrypt - Test NIST SP800-38A - F.4.5
32 OFB-AES256.Decrypt - Test NIST SP800-38A - F.4.6
A Dtest_suite_mpi.data1000 Test mbedtls_mpi_mul_mpi #1, leading 0 limb in A, A < 0
1006 Test mbedtls_mpi_mul_mpi #1, leading 0 limb in A, A < 0, B < 0
1012 Test mbedtls_mpi_mul_mpi #1, leading 0 limb in A and B, A < 0
1018 Test mbedtls_mpi_mul_mpi #1, leading 0 limb in A and B, A < 0, B < 0
1024 Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in A, A < 0
1030 Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in A, A < 0, B < 0
1048 Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in A and B, A < 0
1060 Test mbedtls_mpi_mul_mpi #3, trailing 0 limbs in A, A < 0
1066 Test mbedtls_mpi_mul_mpi #3, trailing 0 limbs in A, A < 0, B < 0
1365 Test GCD: gcd=1, A < 0 < B, |A| < |B|
[all …]
A Dtest_suite_cmac.function154 /* Multiple partial and complete blocks. A negative length means skip the
234 /* Sequence A */
236 /* Multiple partial and complete blocks. A negative length means skip the
261 /* Multiple partial and complete blocks. A negative length means skip the
/mbedtls-development/include/mbedtls/
A Dbignum.h641 int mbedtls_mpi_add_abs( mbedtls_mpi *X, const mbedtls_mpi *A,
656 int mbedtls_mpi_sub_abs( mbedtls_mpi *X, const mbedtls_mpi *A,
670 int mbedtls_mpi_add_mpi( mbedtls_mpi *X, const mbedtls_mpi *A,
684 int mbedtls_mpi_sub_mpi( mbedtls_mpi *X, const mbedtls_mpi *A,
698 int mbedtls_mpi_add_int( mbedtls_mpi *X, const mbedtls_mpi *A,
713 int mbedtls_mpi_sub_int( mbedtls_mpi *X, const mbedtls_mpi *A,
728 int mbedtls_mpi_mul_mpi( mbedtls_mpi *X, const mbedtls_mpi *A,
744 int mbedtls_mpi_mul_int( mbedtls_mpi *X, const mbedtls_mpi *A,
806 int mbedtls_mpi_mod_mpi( mbedtls_mpi *R, const mbedtls_mpi *A,
854 int mbedtls_mpi_exp_mod( mbedtls_mpi *X, const mbedtls_mpi *A,
[all …]
/mbedtls-development/tests/include/alt-dummy/
A Decp_alt.h26 const mbedtls_mpi A; member
/mbedtls-development/tests/data_files/dir-maxpath/
A D06.key7 T/jpPrkakElLAOmV3xd4hq9ho30N8DAx/A==
/mbedtls-development/tests/data_files/
A Dcrl-ec-sha512.pem9 /BFBH7C3KYq+nWTrLeEnhrjU1LzG/CiQ8lnuskya6lw/P3lJ/A==
A Drsa_pkcs1_1024_clear.pem10 xeiEfFCstMg5uMCNLkShGjMZ5zNfRIqxfa8CQDJjW0h9r6s8jlCuLQY/I/A/b6c2
A Dcrl-malformed-trailing-spaces.pem19 /BFBH7C3KYq+nWTrLeEnhrjU1LzG/CiQ8lnuskya6lw/P3lJ/A==
A Drsa_pkcs8_pbes2_pbkdf2_1024_des_sha256.pem4 HdiMnbJ3ackg1x5NBk4Jxlae/4WWBX9Cg6uGMA5CP6XlzhlFSDji+L7+OatW51/A
A Drsa_pkcs8_pbes2_pbkdf2_2048_3des_sha384.pem16 A/iEfZTxzmR57u+ZMlbws0evPiZQml8voJnuT6qwbos7g7V/Pc3Rj+b84JZcI2Jz
/mbedtls-development/tests/data_files/base64/
A Ddef_bad_b64.txt1 // Context with added extra 'A' before '==' add the end to simulate bad length of base64 code
/mbedtls-development/docs/architecture/testing/
A Ddriver-interface-test-strategy.md41 …ith a key in a secure element that checks that the driver method is called. A few API functions in…
115 A PKCS#11 driver would be a good candidate. It would be useful as part of our product offering.
129A configured to fall back to driver B, with one run where A returns `PSA_SUCCESS`, one where A ret…

Completed in 58 milliseconds

1234