/net-tools-3.7.0/mbedtls-2.4.0/include/mbedtls/ |
D | rsa.h | 111 mbedtls_rsa_context; typedef 137 void mbedtls_rsa_init( mbedtls_rsa_context *ctx, 149 void mbedtls_rsa_set_padding( mbedtls_rsa_context *ctx, int padding, int hash_id); 165 int mbedtls_rsa_gen_key( mbedtls_rsa_context *ctx, 177 int mbedtls_rsa_check_pubkey( const mbedtls_rsa_context *ctx ); 186 int mbedtls_rsa_check_privkey( const mbedtls_rsa_context *ctx ); 197 int mbedtls_rsa_check_pub_priv( const mbedtls_rsa_context *pub, const mbedtls_rsa_context *prv ); 215 int mbedtls_rsa_public( mbedtls_rsa_context *ctx, 233 int mbedtls_rsa_private( mbedtls_rsa_context *ctx, 258 int mbedtls_rsa_pkcs1_encrypt( mbedtls_rsa_context *ctx, [all …]
|
D | pk.h | 139 static inline mbedtls_rsa_context *mbedtls_pk_rsa( const mbedtls_pk_context pk ) in mbedtls_pk_rsa() 141 return( (mbedtls_rsa_context *) (pk).pk_ctx ); in mbedtls_pk_rsa()
|
D | compat-1.3.h | 2284 #define rsa_context mbedtls_rsa_context
|
/net-tools-3.7.0/mbedtls-2.4.0/library/ |
D | pk_wrap.c | 68 return( 8 * ((const mbedtls_rsa_context *) ctx)->len ); in rsa_get_bitlen() 77 if( sig_len < ((mbedtls_rsa_context *) ctx)->len ) in rsa_verify_wrap() 80 if( ( ret = mbedtls_rsa_pkcs1_verify( (mbedtls_rsa_context *) ctx, NULL, NULL, in rsa_verify_wrap() 85 if( sig_len > ((mbedtls_rsa_context *) ctx)->len ) in rsa_verify_wrap() 96 *sig_len = ((mbedtls_rsa_context *) ctx)->len; in rsa_sign_wrap() 98 return( mbedtls_rsa_pkcs1_sign( (mbedtls_rsa_context *) ctx, f_rng, p_rng, MBEDTLS_RSA_PRIVATE, in rsa_sign_wrap() 107 if( ilen != ((mbedtls_rsa_context *) ctx)->len ) in rsa_decrypt_wrap() 110 return( mbedtls_rsa_pkcs1_decrypt( (mbedtls_rsa_context *) ctx, f_rng, p_rng, in rsa_decrypt_wrap() 119 *olen = ((mbedtls_rsa_context *) ctx)->len; in rsa_encrypt_wrap() 124 return( mbedtls_rsa_pkcs1_encrypt( (mbedtls_rsa_context *) ctx, in rsa_encrypt_wrap() [all …]
|
D | rsa.c | 67 void mbedtls_rsa_init( mbedtls_rsa_context *ctx, in mbedtls_rsa_init() 71 memset( ctx, 0, sizeof( mbedtls_rsa_context ) ); in mbedtls_rsa_init() 83 void mbedtls_rsa_set_padding( mbedtls_rsa_context *ctx, int padding, int hash_id ) in mbedtls_rsa_set_padding() 94 int mbedtls_rsa_gen_key( mbedtls_rsa_context *ctx, in mbedtls_rsa_gen_key() 173 int mbedtls_rsa_check_pubkey( const mbedtls_rsa_context *ctx ) in mbedtls_rsa_check_pubkey() 196 int mbedtls_rsa_check_privkey( const mbedtls_rsa_context *ctx ) in mbedtls_rsa_check_privkey() 258 int mbedtls_rsa_check_pub_priv( const mbedtls_rsa_context *pub, const mbedtls_rsa_context *prv ) in mbedtls_rsa_check_pub_priv() 278 int mbedtls_rsa_public( mbedtls_rsa_context *ctx, in mbedtls_rsa_public() 325 static int rsa_prepare_blinding( mbedtls_rsa_context *ctx, in rsa_prepare_blinding() 362 int mbedtls_rsa_private( mbedtls_rsa_context *ctx, in mbedtls_rsa_private() [all …]
|
D | pkwrite.c | 65 mbedtls_rsa_context *rsa ) in pk_write_rsa_pubkey() 208 mbedtls_rsa_context *rsa = mbedtls_pk_rsa( *key ); in mbedtls_pk_write_key_der()
|
D | pkparse.c | 510 mbedtls_rsa_context *rsa ) in pk_get_rsapubkey() 642 static int pk_parse_key_pkcs1_der( mbedtls_rsa_context *rsa, in pk_parse_key_pkcs1_der()
|
/net-tools-3.7.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_rsa.function | 28 mbedtls_rsa_context ctx; 86 mbedtls_rsa_context ctx; 125 mbedtls_rsa_context ctx; 196 mbedtls_rsa_context ctx; 246 mbedtls_rsa_context ctx; 287 mbedtls_rsa_context ctx; 325 mbedtls_rsa_context ctx; 379 mbedtls_rsa_context ctx, ctx2; /* Also test mbedtls_rsa_copy() while at it */ 434 mbedtls_rsa_context ctx, ctx2; /* Also test mbedtls_rsa_copy() while at it */ 509 mbedtls_rsa_context ctx; [all …]
|
D | test_suite_pkcs1_v21.function | 21 mbedtls_rsa_context ctx; 64 mbedtls_rsa_context ctx; 123 mbedtls_rsa_context ctx; 184 mbedtls_rsa_context ctx; 226 mbedtls_rsa_context ctx;
|
D | test_suite_pk.function | 43 return( mbedtls_rsa_pkcs1_decrypt( (mbedtls_rsa_context *) ctx, NULL, NULL, mode, olen, 51 return( mbedtls_rsa_pkcs1_sign( (mbedtls_rsa_context *) ctx, f_rng, p_rng, mode, 56 return( ((const mbedtls_rsa_context *) ctx)->len ); 124 mbedtls_rsa_context *rsa; 165 mbedtls_rsa_context *rsa; 290 mbedtls_rsa_context *rsa; 334 mbedtls_rsa_context *rsa; 425 mbedtls_rsa_context raw;
|
D | test_suite_pkcs1_v15.function | 21 mbedtls_rsa_context ctx; 64 mbedtls_rsa_context ctx; 123 mbedtls_rsa_context ctx; 184 mbedtls_rsa_context ctx;
|
D | test_suite_pkparse.function | 30 mbedtls_rsa_context *rsa; 55 mbedtls_rsa_context *rsa;
|
/net-tools-3.7.0/mbedtls-2.4.0/programs/pkey/ |
D | key_app.c | 191 mbedtls_rsa_context *rsa = mbedtls_pk_rsa( pk ); in main() 241 mbedtls_rsa_context *rsa = mbedtls_pk_rsa( pk ); in main()
|
D | rsa_verify.c | 59 mbedtls_rsa_context rsa; in main()
|
D | key_app_writer.c | 302 mbedtls_rsa_context *rsa = mbedtls_pk_rsa( key ); in main() 355 mbedtls_rsa_context *rsa = mbedtls_pk_rsa( key ); in main()
|
D | rsa_genkey.c | 65 mbedtls_rsa_context rsa; in main()
|
D | rsa_sign.c | 60 mbedtls_rsa_context rsa; in main()
|
D | rsa_encrypt.c | 66 mbedtls_rsa_context rsa; in main()
|
D | rsa_decrypt.c | 66 mbedtls_rsa_context rsa; in main()
|
D | dh_client.c | 85 mbedtls_rsa_context rsa; in main()
|
D | dh_server.c | 85 mbedtls_rsa_context rsa; in main()
|
D | gen_key.c | 361 mbedtls_rsa_context *rsa = mbedtls_pk_rsa( key ); in main()
|
/net-tools-3.7.0/mbedtls-2.4.0/programs/test/ |
D | benchmark.c | 645 mbedtls_rsa_context rsa; in main()
|
/net-tools-3.7.0/mbedtls-2.4.0/yotta/data/example-benchmark/ |
D | main.cpp | 692 mbedtls_rsa_context *rsa; in benchmark()
|
/net-tools-3.7.0/mbedtls-2.4.0/scripts/data_files/ |
D | rename-1.3-2.0.txt | 1827 rsa_context mbedtls_rsa_context
|