Home
last modified time | relevance | path

Searched refs:mbedtls_mpi_cmp_int (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/
H A Decp.c404 return( mbedtls_mpi_cmp_int( &pt->Z, 0 ) == 0 ); in mbedtls_ecp_is_zero()
456 if( mbedtls_mpi_cmp_int( &P->Z, 0 ) == 0 ) in mbedtls_ecp_point_write_binary()
672 if( ( N->s < 0 && mbedtls_mpi_cmp_int( N, 0 ) != 0 ) || in ecp_modp()
681 while( N->s < 0 && mbedtls_mpi_cmp_int( N, 0 ) != 0 ) in ecp_modp()
719 while( N.s < 0 && mbedtls_mpi_cmp_int( &N, 0 ) != 0 ) \
749 if( mbedtls_mpi_cmp_int( &pt->Z, 0 ) == 0 ) in ecp_normalize_jac()
883 nonzero = mbedtls_mpi_cmp_int( &Q->Y, 0 ) != 0; in ecp_safe_invert_jac()
935 if( mbedtls_mpi_cmp_int( &grp->A, 0 ) != 0 ) in ecp_double_jac()
1010 if( mbedtls_mpi_cmp_int( &P->Z, 0 ) == 0 ) in ecp_add_mixed()
1013 if( Q->Z.p != NULL && mbedtls_mpi_cmp_int( &Q->Z, 0 ) == 0 ) in ecp_add_mixed()
[all …]
H A Dbignum.c507 if( mbedtls_mpi_cmp_int( X, 0 ) != 0 ) in mpi_write_hlp()
873 int mbedtls_mpi_cmp_int( const mbedtls_mpi *X, mbedtls_mpi_sint z ) in mbedtls_mpi_cmp_int() function
1330 if( mbedtls_mpi_cmp_int( B, 0 ) == 0 ) in mbedtls_mpi_div_mpi()
1403 if( mbedtls_mpi_cmp_int( &X, 0 ) < 0 ) in mbedtls_mpi_div_mpi()
1424 if( mbedtls_mpi_cmp_int( R, 0 ) == 0 ) in mbedtls_mpi_div_mpi()
1459 if( mbedtls_mpi_cmp_int( B, 0 ) < 0 ) in mbedtls_mpi_mod_mpi()
1464 while( mbedtls_mpi_cmp_int( R, 0 ) < 0 ) in mbedtls_mpi_mod_mpi()
1619 if( mbedtls_mpi_cmp_int( N, 0 ) < 0 || ( N->p[0] & 1 ) == 0 ) in mbedtls_mpi_exp_mod()
1622 if( mbedtls_mpi_cmp_int( E, 0 ) < 0 ) in mbedtls_mpi_exp_mod()
1839 while( mbedtls_mpi_cmp_int( &TA, 0 ) != 0 ) in mbedtls_mpi_gcd()
[all …]
H A Drsa.c92 while( mbedtls_mpi_cmp_int( &G, 1 ) != 0 ); in mbedtls_rsa_gen_key()
193 mbedtls_mpi_cmp_int( &L2, 0 ) != 0 || in mbedtls_rsa_check_privkey()
194 mbedtls_mpi_cmp_int( &I, 1 ) != 0 || in mbedtls_rsa_check_privkey()
195 mbedtls_mpi_cmp_int( &G, 1 ) != 0 in mbedtls_rsa_check_privkey()
309 } while( mbedtls_mpi_cmp_int( &ctx->Vi, 1 ) != 0 ); in rsa_prepare_blinding()
H A Decdsa.c105 while( mbedtls_mpi_cmp_int( r, 0 ) == 0 ); in mbedtls_ecdsa_sign()
127 while( mbedtls_mpi_cmp_int( &t, 1 ) < 0 || in mbedtls_ecdsa_sign()
147 while( mbedtls_mpi_cmp_int( s, 0 ) == 0 ); in mbedtls_ecdsa_sign()
216 if( mbedtls_mpi_cmp_int( r, 1 ) < 0 || mbedtls_mpi_cmp_mpi( r, &grp->N ) >= 0 || in mbedtls_ecdsa_verify()
217 mbedtls_mpi_cmp_int( s, 1 ) < 0 || mbedtls_mpi_cmp_mpi( s, &grp->N ) >= 0 ) in mbedtls_ecdsa_verify()
/OK3568_Linux_fs/external/security/librkcrypto/test/include/c_mode/
H A Dbignum.h447 int mbedtls_mpi_cmp_int( const mbedtls_mpi *X, mbedtls_mpi_sint z );
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/
H A Dbignum.h629 int mbedtls_mpi_cmp_int( const mbedtls_mpi *X, mbedtls_mpi_sint z );
H A Dcompat-1.3.h2055 #define mpi_cmp_int mbedtls_mpi_cmp_int
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/
H A Dbignum.h629 int mbedtls_mpi_cmp_int( const mbedtls_mpi *X, mbedtls_mpi_sint z );
H A Dcompat-1.3.h2055 #define mpi_cmp_int mbedtls_mpi_cmp_int
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/
H A Dbignum.h629 int mbedtls_mpi_cmp_int( const mbedtls_mpi *X, mbedtls_mpi_sint z );
H A Dcompat-1.3.h2055 #define mpi_cmp_int mbedtls_mpi_cmp_int
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/
H A Dbignum.h629 int mbedtls_mpi_cmp_int( const mbedtls_mpi *X, mbedtls_mpi_sint z );
H A Dcompat-1.3.h2055 #define mpi_cmp_int mbedtls_mpi_cmp_int