| /lib/lwip/lwip/src/netif/ppp/polarssl/ |
| A D | des.c | 257 T = ((X >> 4) ^ Y) & 0x0F0F0F0F; Y ^= T; X ^= (T << 4); \ 258 T = ((X >> 16) ^ Y) & 0x0000FFFF; Y ^= T; X ^= (T << 16); \ 259 T = ((Y >> 2) ^ X) & 0x33333333; X ^= T; Y ^= (T << 2); \ 263 X = ((X << 1) | (X >> 31)) & 0xFFFFFFFF; \ 271 X = ((X << 31) | (X >> 1)) & 0xFFFFFFFF; \ 291 T = *SK++ ^ ((X << 28) | (X >> 4)); \ 311 T = ((Y >> 4) ^ X) & 0x0F0F0F0F; X ^= T; Y ^= (T << 4); in des_setkey() 312 T = ((Y ) ^ X) & 0x10101010; X ^= T; Y ^= (T ); in des_setkey() 314 X = (LHs[ (X ) & 0xF] << 3) | (LHs[ (X >> 8) & 0xF ] << 2) in des_setkey() 334 X = ((X << 1) | (X >> 27)) & 0x0FFFFFFF; in des_setkey() [all …]
|
| A D | md4.c | 117 P( A, B, C, D, X[ 0], 3 ); in md4_process() 118 P( D, A, B, C, X[ 1], 7 ); in md4_process() 119 P( C, D, A, B, X[ 2], 11 ); in md4_process() 120 P( B, C, D, A, X[ 3], 19 ); in md4_process() 121 P( A, B, C, D, X[ 4], 3 ); in md4_process() 122 P( D, A, B, C, X[ 5], 7 ); in md4_process() 123 P( C, D, A, B, X[ 6], 11 ); in md4_process() 124 P( B, C, D, A, X[ 7], 19 ); in md4_process() 125 P( A, B, C, D, X[ 8], 3 ); in md4_process() 126 P( D, A, B, C, X[ 9], 7 ); in md4_process() [all …]
|
| A D | md5.c | 87 unsigned long X[16], A, B, C, D; in md5_process() local 89 GET_ULONG_LE( X[ 0], data, 0 ); in md5_process() 90 GET_ULONG_LE( X[ 1], data, 4 ); in md5_process() 91 GET_ULONG_LE( X[ 2], data, 8 ); in md5_process() 92 GET_ULONG_LE( X[ 3], data, 12 ); in md5_process() 93 GET_ULONG_LE( X[ 4], data, 16 ); in md5_process() 94 GET_ULONG_LE( X[ 5], data, 20 ); in md5_process() 95 GET_ULONG_LE( X[ 6], data, 24 ); in md5_process() 96 GET_ULONG_LE( X[ 7], data, 28 ); in md5_process() 97 GET_ULONG_LE( X[ 8], data, 32 ); in md5_process() [all …]
|
| /lib/mbedtls/external/mbedtls/library/ |
| A D | bignum.c | 165 X->s = mbedtls_ct_mpi_sign_if(do_swap, Y->s, X->s); in mbedtls_mpi_safe_cond_swap() 197 mbedtls_mpi_zeroize_and_free(X->p, X->n); in mbedtls_mpi_free() 222 memcpy(p, X->p, X->n * ciL); in mbedtls_mpi_grow() 223 mbedtls_mpi_zeroize_and_free(X->p, X->n); in mbedtls_mpi_grow() 271 mbedtls_mpi_zeroize_and_free(X->p, X->n); in mbedtls_mpi_shrink() 318 memset(X->p, 0, X->n * ciL); in mbedtls_mpi_copy() 335 memset(X->p + i, 0, (X->n - i) * ciL); in mbedtls_mpi_copy() 381 memset(X->p, 0, X->n * ciL); in mbedtls_mpi_lset() 474 return mbedtls_mpi_core_bitlen(X->p, X->n); in mbedtls_mpi_bitlen() 873 mbedtls_mpi_core_shift_l(X->p, X->n, count); in mbedtls_mpi_shift_l() [all …]
|
| A D | des.c | 222 (X) = (((X) << 1) | ((X) >> 31)) & 0xFFFFFFFF; \ 231 (X) = (((X) << 31) | ((X) >> 1)) & 0xFFFFFFFF; \ 252 T = *SK++ ^ (((X) << 28) | ((X) >> 4)); \ 406 T = ((Y >> 4) ^ X) & 0x0F0F0F0F; X ^= T; Y ^= (T << 4); in mbedtls_des_setkey() 407 T = ((Y) ^ X) & 0x10101010; X ^= T; Y ^= (T); in mbedtls_des_setkey() 409 X = (LHs[(X) & 0xF] << 3) | (LHs[(X >> 8) & 0xF] << 2) in mbedtls_des_setkey() 410 | (LHs[(X >> 16) & 0xF] << 1) | (LHs[(X >> 24) & 0xF]) in mbedtls_des_setkey() 427 X = ((X << 1) | (X >> 27)) & 0x0FFFFFFF; in mbedtls_des_setkey() 430 X = ((X << 2) | (X >> 26)) & 0x0FFFFFFF; in mbedtls_des_setkey() 606 DES_IP(X, Y); in mbedtls_des_crypt_ecb() [all …]
|
| A D | bignum_mod_raw.c | 42 int mbedtls_mpi_mod_raw_read(mbedtls_mpi_uint *X, in mbedtls_mpi_mod_raw_read() argument 95 void mbedtls_mpi_mod_raw_sub(mbedtls_mpi_uint *X, in mbedtls_mpi_mod_raw_sub() argument 109 mbedtls_mpi_uint c = mbedtls_mpi_core_sub(X, X, N->p, N->limbs); in mbedtls_mpi_mod_raw_fix_quasi_reduction() 174 mbedtls_mpi_core_exp_mod(X, in mbedtls_mpi_mod_raw_inv_prime() 186 borrow = mbedtls_mpi_core_sub(X, X, N->p, N->limbs); in mbedtls_mpi_mod_raw_add() 191 mbedtls_mpi_uint *X, in mbedtls_mpi_mod_raw_canonical_to_modulus_rep() argument 205 mbedtls_mpi_uint *X, in mbedtls_mpi_mod_raw_modulus_to_canonical_rep() argument 241 mbedtls_mpi_core_to_mont_rep(X, X, N->p, N->limbs, in mbedtls_mpi_mod_raw_to_mont_rep() 258 mbedtls_mpi_core_from_mont_rep(X, X, N->p, N->limbs, N->rep.mont.mm, T); in mbedtls_mpi_mod_raw_from_mont_rep() 268 mbedtls_mpi_core_sub(X, N->p, A, N->limbs); in mbedtls_mpi_mod_raw_neg() [all …]
|
| A D | bignum_core.c | 173 if (X == A) { in mbedtls_mpi_core_cond_assign() 183 X[i] = mbedtls_ct_mpi_uint_if(assign, A[i], X[i]); in mbedtls_mpi_core_cond_assign() 192 if (X == Y) { in mbedtls_mpi_core_cond_swap() 198 X[i] = mbedtls_ct_mpi_uint_if(swap, Y[i], X[i]); in mbedtls_mpi_core_cond_swap() 349 X[i] = X[i + v0]; in mbedtls_mpi_core_shift_r() 384 X[i - 1] = X[i - v0 - 1]; in mbedtls_mpi_core_shift_l() 417 X[i] = t; in mbedtls_mpi_core_add() 438 X[i] = t; in mbedtls_mpi_core_add_if() 589 MBEDTLS_MPI_CHK(mbedtls_mpi_mod_mpi(X, X, N)); in mbedtls_mpi_core_get_mont_r2_unsafe() 813 mbedtls_mpi_core_montmul(X, X, X, AN_limbs, N, AN_limbs, mm, temp); in mbedtls_mpi_core_exp_mod() [all …]
|
| A D | bignum_core.h | 90 #define GET_BYTE(X, i) \ argument 91 (((X)[(i) / ciL] >> (((i) % ciL) * 8)) & 0xff) 176 void mbedtls_mpi_core_cond_assign(mbedtls_mpi_uint *X, 196 void mbedtls_mpi_core_cond_swap(mbedtls_mpi_uint *X, 215 int mbedtls_mpi_core_read_le(mbedtls_mpi_uint *X, 237 int mbedtls_mpi_core_read_be(mbedtls_mpi_uint *X, 433 void mbedtls_mpi_core_mul(mbedtls_mpi_uint *X, 483 void mbedtls_mpi_core_montmul(mbedtls_mpi_uint *X, 581 int mbedtls_mpi_core_random(mbedtls_mpi_uint *X, 634 void mbedtls_mpi_core_exp_mod(mbedtls_mpi_uint *X, [all …]
|
| A D | bignum_mod_raw.h | 100 void mbedtls_mpi_mod_raw_cond_assign(mbedtls_mpi_uint *X, 126 void mbedtls_mpi_mod_raw_cond_swap(mbedtls_mpi_uint *X, 150 int mbedtls_mpi_mod_raw_read(mbedtls_mpi_uint *X, 195 void mbedtls_mpi_mod_raw_sub(mbedtls_mpi_uint *X, 229 void mbedtls_mpi_mod_raw_mul(mbedtls_mpi_uint *X, 277 void mbedtls_mpi_mod_raw_inv_prime(mbedtls_mpi_uint *X, 302 void mbedtls_mpi_mod_raw_add(mbedtls_mpi_uint *X, 321 mbedtls_mpi_uint *X, 338 mbedtls_mpi_uint *X, 369 int mbedtls_mpi_mod_raw_random(mbedtls_mpi_uint *X, [all …]
|
| A D | bignum_mod.c | 97 *X = NULL; in set_mont_const_square() 115 *X = RR.p; in set_mont_const_square() 163 int mbedtls_mpi_mod_mul(mbedtls_mpi_mod_residue *X, in mbedtls_mpi_mod_mul() argument 188 int mbedtls_mpi_mod_sub(mbedtls_mpi_mod_residue *X, in mbedtls_mpi_mod_sub() argument 197 mbedtls_mpi_mod_raw_sub(X->p, A->p, B->p, N); in mbedtls_mpi_mod_sub() 208 mbedtls_mpi_mod_raw_inv_prime(X->p, A->p, in mbedtls_mpi_mod_inv_mont() 234 mbedtls_mpi_mod_raw_inv_prime(X->p, X->p, in mbedtls_mpi_mod_inv_non_mont() 241 mbedtls_mpi_core_from_mont_rep(X->p, X->p, Nmont.p, Nmont.limbs, in mbedtls_mpi_mod_inv_non_mont() 249 int mbedtls_mpi_mod_inv(mbedtls_mpi_mod_residue *X, in mbedtls_mpi_mod_inv() argument 300 mbedtls_mpi_mod_raw_add(X->p, A->p, B->p, N); in mbedtls_mpi_mod_add() [all …]
|
| A D | ecp.c | 664 if (mbedtls_mpi_cmp_mpi(&P->X, &Q->X) == 0 && in mbedtls_ecp_point_cmp() 1208 #define MPI_ECP_NEG(X) MPI_ECP_COND_NEG((X), 1) argument 1424 MPI_ECP_MUL(&T[i]->X, &T[i]->X, &t); in ecp_normalize_jac_many() 1605 mbedtls_mpi * const X = &R->X; in ecp_add_mixed() local 1660 MPI_ECP_SUB(X, X, &tmp[0]); in ecp_add_mixed() 1661 MPI_ECP_SUB(X, X, &tmp[3]); in ecp_add_mixed() 1709 MPI_ECP_MUL(&pt->X, &pt->X, &l); in ecp_randomize_jac() 2436 MPI_ECP_MUL(&P->X, &P->X, &P->Z); in ecp_normalize_mxz() 2471 MPI_ECP_MUL(&P->X, &P->X, &l); in ecp_randomize_mxz() 2590 MPI_ECP_COND_SWAP(&R->X, &RP.X, b); in ecp_mul_mxz() [all …]
|
| A D | camellia.c | 474 X[0] ^= *RK++; in mbedtls_camellia_crypt_ecb() 475 X[1] ^= *RK++; in mbedtls_camellia_crypt_ecb() 476 X[2] ^= *RK++; in mbedtls_camellia_crypt_ecb() 481 camellia_feistel(X, RK, X + 2); in mbedtls_camellia_crypt_ecb() 483 camellia_feistel(X + 2, RK, X); in mbedtls_camellia_crypt_ecb() 485 camellia_feistel(X, RK, X + 2); in mbedtls_camellia_crypt_ecb() 487 camellia_feistel(X + 2, RK, X); in mbedtls_camellia_crypt_ecb() 489 camellia_feistel(X, RK, X + 2); in mbedtls_camellia_crypt_ecb() 491 camellia_feistel(X + 2, RK, X); in mbedtls_camellia_crypt_ecb() 495 FL(X[0], X[1], RK[0], RK[1]); in mbedtls_camellia_crypt_ecb() [all …]
|
| A D | ecp_invasive.h | 112 int mbedtls_ecp_mod_p224_raw(mbedtls_mpi_uint *X, size_t X_limbs); 134 int mbedtls_ecp_mod_p256_raw(mbedtls_mpi_uint *X, size_t X_limbs); 156 int mbedtls_ecp_mod_p521_raw(mbedtls_mpi_uint *X, size_t X_limbs); 178 int mbedtls_ecp_mod_p384_raw(mbedtls_mpi_uint *X, size_t X_limbs); 202 int mbedtls_ecp_mod_p192k1_raw(mbedtls_mpi_uint *X, size_t X_limbs); 226 int mbedtls_ecp_mod_p224k1_raw(mbedtls_mpi_uint *X, size_t X_limbs); 250 int mbedtls_ecp_mod_p256k1_raw(mbedtls_mpi_uint *X, size_t X_limbs); 271 int mbedtls_ecp_mod_p255_raw(mbedtls_mpi_uint *X, size_t X_limbs); 297 int mbedtls_ecp_mod_p448_raw(mbedtls_mpi_uint *X, size_t X_limbs);
|
| A D | psa_crypto_ffdh.c | 153 mbedtls_mpi GX, G, X, P; in mbedtls_psa_ffdh_export_public_key() local 168 mbedtls_mpi_init(&X); mbedtls_mpi_init(&P); in mbedtls_psa_ffdh_export_public_key() 178 MBEDTLS_MPI_CHK(mbedtls_mpi_read_binary(&X, key_buffer, in mbedtls_psa_ffdh_export_public_key() 189 mbedtls_mpi_free(&X); mbedtls_mpi_free(&GX); in mbedtls_psa_ffdh_export_public_key() 205 mbedtls_mpi X, P; in mbedtls_psa_ffdh_generate_key() local 208 mbedtls_mpi_init(&P); mbedtls_mpi_init(&X); in mbedtls_psa_ffdh_generate_key() 222 MBEDTLS_MPI_CHK(mbedtls_mpi_sub_int(&X, &X, 1)); in mbedtls_psa_ffdh_generate_key() 227 mbedtls_mpi_free(&P); mbedtls_mpi_free(&X); in mbedtls_psa_ffdh_generate_key() 269 mbedtls_mpi P, G, X, GY, K; in mbedtls_psa_ffdh_key_agreement() local 282 mbedtls_mpi_init(&X); mbedtls_mpi_init(&GY); in mbedtls_psa_ffdh_key_agreement() [all …]
|
| A D | bignum_mod.h | 115 typedef int (*mbedtls_mpi_modp_fn)(mbedtls_mpi_uint *X, size_t X_limbs); 258 int mbedtls_mpi_mod_mul(mbedtls_mpi_mod_residue *X, 288 int mbedtls_mpi_mod_sub(mbedtls_mpi_mod_residue *X, 318 int mbedtls_mpi_mod_inv(mbedtls_mpi_mod_residue *X, 347 int mbedtls_mpi_mod_add(mbedtls_mpi_mod_residue *X, 379 int mbedtls_mpi_mod_random(mbedtls_mpi_mod_residue *X,
|
| A D | md5.c | 68 uint32_t X[16], A, B, C, D; in mbedtls_internal_md5_process() member 71 local.X[0] = MBEDTLS_GET_UINT32_LE(data, 0); in mbedtls_internal_md5_process() 72 local.X[1] = MBEDTLS_GET_UINT32_LE(data, 4); in mbedtls_internal_md5_process() 73 local.X[2] = MBEDTLS_GET_UINT32_LE(data, 8); in mbedtls_internal_md5_process() 74 local.X[3] = MBEDTLS_GET_UINT32_LE(data, 12); in mbedtls_internal_md5_process() 75 local.X[4] = MBEDTLS_GET_UINT32_LE(data, 16); in mbedtls_internal_md5_process() 76 local.X[5] = MBEDTLS_GET_UINT32_LE(data, 20); in mbedtls_internal_md5_process() 77 local.X[6] = MBEDTLS_GET_UINT32_LE(data, 24); in mbedtls_internal_md5_process() 78 local.X[7] = MBEDTLS_GET_UINT32_LE(data, 28); in mbedtls_internal_md5_process() 79 local.X[8] = MBEDTLS_GET_UINT32_LE(data, 32); in mbedtls_internal_md5_process() [all …]
|
| A D | aes.c | 894 t.X[0] = MBEDTLS_GET_UINT32_LE(input, 0); t.X[0] ^= *RK++; in mbedtls_internal_aes_encrypt() 895 t.X[1] = MBEDTLS_GET_UINT32_LE(input, 4); t.X[1] ^= *RK++; in mbedtls_internal_aes_encrypt() 896 t.X[2] = MBEDTLS_GET_UINT32_LE(input, 8); t.X[2] ^= *RK++; in mbedtls_internal_aes_encrypt() 897 t.X[3] = MBEDTLS_GET_UINT32_LE(input, 12); t.X[3] ^= *RK++; in mbedtls_internal_aes_encrypt() 900 AES_FROUND(t.Y[0], t.Y[1], t.Y[2], t.Y[3], t.X[0], t.X[1], t.X[2], t.X[3]); in mbedtls_internal_aes_encrypt() 901 AES_FROUND(t.X[0], t.X[1], t.X[2], t.X[3], t.Y[0], t.Y[1], t.Y[2], t.Y[3]); in mbedtls_internal_aes_encrypt() 904 AES_FROUND(t.Y[0], t.Y[1], t.Y[2], t.Y[3], t.X[0], t.X[1], t.X[2], t.X[3]); in mbedtls_internal_aes_encrypt() 956 t.X[0] = MBEDTLS_GET_UINT32_LE(input, 0); t.X[0] ^= *RK++; in mbedtls_internal_aes_decrypt() 962 AES_RROUND(t.Y[0], t.Y[1], t.Y[2], t.Y[3], t.X[0], t.X[1], t.X[2], t.X[3]); in mbedtls_internal_aes_decrypt() 963 AES_RROUND(t.X[0], t.X[1], t.X[2], t.X[3], t.Y[0], t.Y[1], t.Y[2], t.Y[3]); in mbedtls_internal_aes_decrypt() [all …]
|
| /lib/mbedtls/external/mbedtls/tests/suites/ |
| A D | test_suite_bignum.function | 18 if (X->s != 1 && X->s != -1) { 28 mbedtls_mpi_bitlen(X) == 0 && X->s != 1) { 531 TEST_ASSERT(mbedtls_mpi_copy(&X, &X) == 0); 599 mbedtls_mpi_swap(&X, &X); 643 TEST_ASSERT(mbedtls_mpi_add_mpi(&X, &X, &Y) == 0); 667 TEST_ASSERT(mbedtls_mpi_sub_abs(&X, &X, &X) == 0); 672 TEST_ASSERT(mbedtls_mpi_add_abs(&X, &X, &X) == 0); 677 TEST_ASSERT(mbedtls_mpi_add_mpi(&X, &X, &X) == 0); 702 TEST_ASSERT(mbedtls_mpi_add_abs(&X, &X, &Y) == 0); 933 res = mbedtls_mpi_mod_mpi(&X, &X, &Y); [all …]
|
| A D | test_suite_bignum_mod_raw.function | 46 TEST_LE_U(nx, sizeof(X) / sizeof(X[0])); 55 mbedtls_mpi_uint init[sizeof(X) / sizeof(X[0])]; 304 mbedtls_mpi_mod_raw_sub(X, X, B, &m); 309 mbedtls_mpi_mod_raw_sub(X, A, X, &m); 319 mbedtls_mpi_mod_raw_sub(X, X, X, &m); 427 mbedtls_mpi_mod_raw_mul(X, X, B, &m, T); 432 mbedtls_mpi_mod_raw_mul(X, A, X, &m, T); 442 mbedtls_mpi_mod_raw_mul(X, X, X, &m, T); 585 mbedtls_mpi_mod_raw_add(X, X, B, &m); 590 mbedtls_mpi_mod_raw_add(X, A, X, &m); [all …]
|
| A D | test_suite_bignum_core.function | 41 TEST_EQUAL(carry, mbedtls_mpi_core_add(X, X, B, limbs)); 46 TEST_EQUAL(carry, mbedtls_mpi_core_add(X, A, X, limbs)); 58 TEST_EQUAL(carry, mbedtls_mpi_core_add(X, X, X, limbs)); 69 TEST_EQUAL(carry, mbedtls_mpi_core_add(X, X, A, limbs)); 74 TEST_EQUAL(carry, mbedtls_mpi_core_add(X, B, X, limbs)); 125 TEST_EQUAL(0, mbedtls_mpi_core_add_if(X, X, limbs, 0)); 213 TEST_LE_U(nx, sizeof(X) / sizeof(X[0])); 269 TEST_LE_U(nx, sizeof(X) / sizeof(X[0])); 661 memcpy(x, X.p, X.n * sizeof(mbedtls_mpi_uint)); 771 memcpy(x, X->p, X->n * sizeof(mbedtls_mpi_uint)); [all …]
|
| /lib/mbedtls/external/mbedtls/include/mbedtls/ |
| A D | bignum.h | 249 void mbedtls_mpi_init(mbedtls_mpi *X); 258 void mbedtls_mpi_free(mbedtls_mpi *X); 273 int mbedtls_mpi_grow(mbedtls_mpi *X, size_t nblimbs); 290 int mbedtls_mpi_shrink(mbedtls_mpi *X, size_t nblimbs); 313 void mbedtls_mpi_swap(mbedtls_mpi *X, mbedtls_mpi *Y); 427 size_t mbedtls_mpi_lsb(const mbedtls_mpi *X); 441 size_t mbedtls_mpi_bitlen(const mbedtls_mpi *X); 456 size_t mbedtls_mpi_size(const mbedtls_mpi *X); 565 int mbedtls_mpi_read_binary_le(mbedtls_mpi *X, 601 int mbedtls_mpi_write_binary_le(const mbedtls_mpi *X, [all …]
|
| A D | debug.h | 36 #define MBEDTLS_SSL_DEBUG_MPI(level, text, X) \ argument 37 mbedtls_debug_print_mpi(ssl, level, __FILE__, __LINE__, text, X) 41 #define MBEDTLS_SSL_DEBUG_ECP(level, text, X) \ argument 42 mbedtls_debug_print_ecp(ssl, level, __FILE__, __LINE__, text, X) 64 #define MBEDTLS_SSL_DEBUG_MPI(level, text, X) do { } while (0) argument 65 #define MBEDTLS_SSL_DEBUG_ECP(level, text, X) do { } while (0) argument
|
| /lib/mbedtls/external/mbedtls/3rdparty/everest/include/everest/kremlin/internal/ |
| A D | debug.h | 24 #define KRML_FORMAT(X) _Generic((X), \ argument 35 #define KRML_FORMAT_ARG(X) _Generic((X), \ argument 36 uint8_t : X, \ 37 uint16_t: X, \ 38 uint32_t: X, \ 39 uint64_t: X, \ 40 int8_t : X, \ 41 int16_t : X, \ 42 int32_t : X, \ 43 int64_t : X, \ [all …]
|
| /lib/mbedtls/external/mbedtls/programs/pkey/ |
| A D | mpi_demo.c | 31 mbedtls_mpi E, P, Q, N, H, D, X, Y, Z; in main() local 34 mbedtls_mpi_init(&H); mbedtls_mpi_init(&D); mbedtls_mpi_init(&X); mbedtls_mpi_init(&Y); in main() 61 MBEDTLS_MPI_CHK(mbedtls_mpi_read_string(&X, 10, "55555")); in main() 62 MBEDTLS_MPI_CHK(mbedtls_mpi_exp_mod(&Y, &X, &E, &N, NULL)); in main() 66 MBEDTLS_MPI_CHK(mbedtls_mpi_write_file(" X (plaintext) = ", &X, 10, NULL)); in main() 75 mbedtls_mpi_free(&H); mbedtls_mpi_free(&D); mbedtls_mpi_free(&X); mbedtls_mpi_free(&Y); in main()
|
| /lib/mbedtls/external/mbedtls/tests/src/ |
| A D | bignum_helpers.c | 116 int mbedtls_test_read_mpi(mbedtls_mpi *X, const char *s) in mbedtls_test_read_mpi() argument 129 mbedtls_mpi_free(X); in mbedtls_test_read_mpi() 132 int ret = mbedtls_mpi_read_string(X, 16, s); in mbedtls_test_read_mpi() 137 if (mbedtls_mpi_cmp_int(X, 0) == 0) { in mbedtls_test_read_mpi() 140 X->s = -1; in mbedtls_test_read_mpi()
|