/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | sm2-dsa.c | 82 mbedtls_mpi_read_binary(&e, (unsigned char *)msg, msg_len); in sm2_mbedtls_dsa_sign() 184 mres = mbedtls_mpi_read_binary(&rprime, sig, 32); in sm2_mbedtls_dsa_verify() 187 mres = mbedtls_mpi_read_binary(&sprime, sig + 32, 32); in sm2_mbedtls_dsa_verify() 243 mres = mbedtls_mpi_read_binary(&eprime, msg, msg_len); in sm2_mbedtls_dsa_verify()
|
A D | ecc.c | 318 mbedtls_mpi_read_binary(&ecdsa.Q.Z, one, sizeof(one)); in ecc_verify() 333 mbedtls_mpi_read_binary(&r, sig, sig_len / 2); in ecc_verify() 334 mbedtls_mpi_read_binary(&s, sig + sig_len / 2, sig_len / 2); in ecc_verify() 376 mbedtls_mpi_read_binary(&ecdh.Qp.Z, one, sizeof(one)); in ecc_shared_secret()
|
A D | bignum.c | 58 if (mbedtls_mpi_read_binary((mbedtls_mpi *)to, from, fromsize)) in crypto_bignum_bin2bn()
|
A D | sm2-pke.c | 34 mres = mbedtls_mpi_read_binary(&p->X, ptr, SM2_INT_SIZE_BYTES); in sm2_uncompressed_bytes_to_point() 40 mres = mbedtls_mpi_read_binary(&p->Y, ptr, SM2_INT_SIZE_BYTES); in sm2_uncompressed_bytes_to_point()
|
A D | sm2-kep.c | 343 mres = mbedtls_mpi_read_binary(&x1bar, tmp + SM2_INT_SIZE_BYTES / 2, in crypto_acipher_sm2_kep_derive() 379 mres = mbedtls_mpi_read_binary(&x2bar, tmp + SM2_INT_SIZE_BYTES / 2, in crypto_acipher_sm2_kep_derive()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | ecjpake.c | 122 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->s, secret, len ) ); in mbedtls_ecjpake_setup() 222 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( h, hash, in ecjpake_hash() 277 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &r, *p, r_len ) ); in ecjpake_zkp_read() 953 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->xm1, xm1, len1 ) ); in ecjpake_test_load() 954 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->xm2, xm2, len2 ) ); in ecjpake_test_load()
|
A D | pkparse.c | 316 ( ret = mbedtls_mpi_read_binary( &grp->A, p, len ) ) != 0 ) in pk_group_from_specified() 324 ( ret = mbedtls_mpi_read_binary( &grp->B, p, len ) ) != 0 ) in pk_group_from_specified() 355 mbedtls_mpi_read_binary( &grp->G.X, p + 1, len - 1 ) != 0 || in pk_group_from_specified() 900 if( ( ret = mbedtls_mpi_read_binary( &eck->d, p, len ) ) != 0 ) in pk_parse_key_sec1_der()
|
A D | rsa.c | 114 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->N, N, N_len ) ); in mbedtls_rsa_import_raw() 119 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->P, P, P_len ) ); in mbedtls_rsa_import_raw() 122 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->Q, Q, Q_len ) ); in mbedtls_rsa_import_raw() 125 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->D, D, D_len ) ); in mbedtls_rsa_import_raw() 128 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &ctx->E, E, E_len ) ); in mbedtls_rsa_import_raw() 740 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &T, input, ctx->len ) ); in mbedtls_rsa_public() 937 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &T, input, ctx->len ) ); in mbedtls_rsa_private()
|
A D | dhm.c | 81 if( ( ret = mbedtls_mpi_read_binary( X, *p, n ) ) != 0 ) in dhm_read_bignum() 293 if( ( ret = mbedtls_mpi_read_binary( &ctx->GY, input, ilen ) ) != 0 ) in mbedtls_dhm_read_public()
|
A D | asn1parse.c | 206 ret = mbedtls_mpi_read_binary( X, *p, len ); in mbedtls_asn1_get_mpi()
|
A D | ecp_curves.c | 715 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &grp->N, in ecp_use_curve25519() 775 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &Ns, in ecp_use_curve448()
|
A D | ecdsa.c | 234 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( x, buf, use_size ) ); in derive_mpi()
|
A D | ecp.c | 996 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &pt->X, buf + 1, plen ) ); in mbedtls_ecp_point_read_binary() 997 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &pt->Y, in mbedtls_ecp_point_read_binary() 3303 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( &key->d, buf, buflen ) ); in mbedtls_ecp_read_key()
|
A D | ssl_tls.c | 4666 if( ( ret = mbedtls_mpi_read_binary( &conf->dhm_P, dhm_P, P_len ) ) != 0 || in mbedtls_ssl_conf_dh_param_bin() 4667 ( ret = mbedtls_mpi_read_binary( &conf->dhm_G, dhm_G, G_len ) ) != 0 ) in mbedtls_ssl_conf_dh_param_bin()
|
A D | bignum.c | 862 int mbedtls_mpi_read_binary( mbedtls_mpi *X, const unsigned char *buf, size_t buflen ) in mbedtls_mpi_read_binary() function
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | bignum.h | 505 int mbedtls_mpi_read_binary( mbedtls_mpi *X, const unsigned char *buf,
|
A D | compat-1.3.h | 2075 #define mpi_read_binary mbedtls_mpi_read_binary
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | mpi_desc.c | 259 int res = mbedtls_mpi_read_binary(a, b, len); in unsigned_read() 736 if (mbedtls_mpi_read_binary((mbedtls_mpi *)to, (const void *)from, in crypto_bignum_bin2bn()
|
/optee_os-3.20.0/lib/libutee/ |
A D | tee_api_arith_mpi.c | 138 if (mbedtls_mpi_read_binary(&mpi_dest, buffer, bufferLen)) in TEE_BigIntConvertFromOctetString()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/ |
A D | ChangeLog | 405 * mbedtls_mpi_read_binary(), mbedtls_mpi_read_binary_le() and 2126 * Make mbedtls_mpi_read_binary() constant-time with respect to the input
|