Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_read_binary (Results 1 – 20 of 20) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/core/
A Dsm2-dsa.c82 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 Decc.c318 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 Dbignum.c58 if (mbedtls_mpi_read_binary((mbedtls_mpi *)to, from, fromsize)) in crypto_bignum_bin2bn()
A Dsm2-pke.c34 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 Dsm2-kep.c343 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 Decjpake.c122 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 Dpkparse.c316 ( 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 Drsa.c114 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 Ddhm.c81 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 Dasn1parse.c206 ret = mbedtls_mpi_read_binary( X, *p, len ); in mbedtls_asn1_get_mpi()
A Decp_curves.c715 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 Decdsa.c234 MBEDTLS_MPI_CHK( mbedtls_mpi_read_binary( x, buf, use_size ) ); in derive_mpi()
A Decp.c996 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 Dssl_tls.c4666 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 Dbignum.c862 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 Dbignum.h505 int mbedtls_mpi_read_binary( mbedtls_mpi *X, const unsigned char *buf,
A Dcompat-1.3.h2075 #define mpi_read_binary mbedtls_mpi_read_binary
/optee_os-3.20.0/core/lib/libtomcrypt/
A Dmpi_desc.c259 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 Dtee_api_arith_mpi.c138 if (mbedtls_mpi_read_binary(&mpi_dest, buffer, bufferLen)) in TEE_BigIntConvertFromOctetString()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog405 * mbedtls_mpi_read_binary(), mbedtls_mpi_read_binary_le() and
2126 * Make mbedtls_mpi_read_binary() constant-time with respect to the input

Completed in 68 milliseconds