/AliOS-Things-master/components/mbedtls/include/mbedtls/ |
A D | rsa.h | 443 void *p_rng, 570 void *p_rng, 614 void *p_rng, 698 void *p_rng, 751 void *p_rng, 855 void *p_rng, 914 void *p_rng, 961 void *p_rng, 1022 void *p_rng, 1075 void *p_rng, [all …]
|
A D | ecdh.h | 169 void *p_rng ); 208 void *p_rng ); 273 void *p_rng ); 355 void *p_rng ); 412 void *p_rng );
|
A D | pk_internal.h | 60 void *p_rng ); 74 void *p_rng, void *rs_ctx ); 81 void *p_rng ); 87 void *p_rng );
|
A D | ecdsa.h | 155 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ); 288 void *p_rng ); 334 void *p_rng, 479 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );
|
A D | ecp.h | 830 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ); 864 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, 1010 void *p_rng ); 1043 void *p_rng ); 1071 void *p_rng ); 1088 void *p_rng );
|
A D | ecjpake.h | 163 void *p_rng ); 204 void *p_rng ); 244 void *p_rng );
|
A D | pk.h | 184 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, 423 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ); 452 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, 475 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ); 496 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );
|
A D | dhm.h | 190 void *p_rng ); 257 void *p_rng ); 288 void *p_rng );
|
A D | ssl_ticket.h | 67 void *p_rng; /*!< context for the RNG function */ member 107 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng,
|
A D | ecp_internal.h | 122 void *p_rng ); 270 void *p_rng );
|
A D | pkcs11.h | 154 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, in mbedtls_ssl_pkcs11_sign() argument 159 ((void) p_rng); in mbedtls_ssl_pkcs11_sign()
|
A D | bignum.h | 816 void *p_rng ); 878 void *p_rng ); 911 void *p_rng ); 944 void *p_rng );
|
A D | hmac_drbg.h | 236 int mbedtls_hmac_drbg_random_with_add( void *p_rng, 254 int mbedtls_hmac_drbg_random( void *p_rng, unsigned char *output, size_t out_len );
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | ecdh.c | 63 void *p_rng, in ecdh_gen_public_restartable() argument 86 void *p_rng ) in mbedtls_ecdh_gen_public() argument 104 void *p_rng, in ecdh_compute_shared_restartable() argument 135 void *p_rng ) in mbedtls_ecdh_compute_shared() argument 278 void *p_rng, in ecdh_make_params_internal() argument 333 void *p_rng ) in mbedtls_ecdh_make_params() argument 356 f_rng, p_rng, in mbedtls_ecdh_make_params() 468 void *p_rng, in ecdh_make_public_internal() argument 506 void *p_rng ) in mbedtls_ecdh_make_public() argument 580 void *p_rng, in ecdh_calc_secret_internal() argument [all …]
|
A D | pk_wrap.c | 107 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in rsa_sign_wrap() argument 118 return( mbedtls_rsa_pkcs1_sign( rsa, f_rng, p_rng, MBEDTLS_RSA_PRIVATE, in rsa_sign_wrap() 125 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in rsa_decrypt_wrap() argument 132 return( mbedtls_rsa_pkcs1_decrypt( rsa, f_rng, p_rng, in rsa_decrypt_wrap() 147 return( mbedtls_rsa_pkcs1_encrypt( rsa, f_rng, p_rng, MBEDTLS_RSA_PUBLIC, in rsa_encrypt_wrap() 266 f_rng, p_rng ); in eckey_sign_wrap() 283 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, 371 f_rng, p_rng, &rs->ecdsa_rs ) ); in eckey_sign_rs_wrap() 497 md_alg, hash, hash_len, sig, sig_len, f_rng, p_rng ) ); in ecdsa_sign_wrap() 528 md_alg, hash, hash_len, sig, sig_len, f_rng, p_rng, in ecdsa_sign_rs_wrap() [all …]
|
A D | ecdsa.c | 396 f_rng, p_rng, NULL ) ); in mbedtls_ecdsa_sign() 412 mbedtls_hmac_drbg_context *p_rng = &rng_ctx; in ecdsa_sign_det_restartable() local 430 p_rng = &rs_ctx->det->rng_ctx; in ecdsa_sign_det_restartable() 442 mbedtls_hmac_drbg_seed_buf( p_rng, md_info, data, 2 * grp_len ); in ecdsa_sign_det_restartable() 452 mbedtls_hmac_drbg_random, p_rng ); in ecdsa_sign_det_restartable() 455 mbedtls_hmac_drbg_random, p_rng, rs_ctx ); in ecdsa_sign_det_restartable() 645 void *p_rng, in mbedtls_ecdsa_write_signature_restartable() argument 660 (void) p_rng; in mbedtls_ecdsa_write_signature_restartable() 669 hash, hlen, f_rng, p_rng ) ); in mbedtls_ecdsa_write_signature_restartable() 672 hash, hlen, f_rng, p_rng, rs_ctx ) ); in mbedtls_ecdsa_write_signature_restartable() [all …]
|
A D | rsa.c | 527 void *p_rng, in mbedtls_rsa_gen_key() argument 831 void *p_rng, in mbedtls_rsa_private() argument 941 f_rng, p_rng ) ); in mbedtls_rsa_private() 1120 void *p_rng, in mbedtls_rsa_rsaes_oaep_encrypt() argument 1279 void *p_rng, in mbedtls_rsa_pkcs1_encrypt() argument 1315 void *p_rng, in mbedtls_rsa_rsaes_oaep_decrypt() argument 1718 void *p_rng, in mbedtls_rsa_pkcs1_decrypt() argument 1757 void *p_rng, in mbedtls_rsa_rsassa_pss_sign() argument 2096 void *p_rng, in mbedtls_rsa_pkcs1_sign() argument 2286 void *p_rng, in mbedtls_rsa_rsassa_pss_verify() argument [all …]
|
A D | ecjpake.c | 325 void *p_rng ) in ecjpake_zkp_write() argument 423 void *p_rng ) in ecjpake_kkp_write() argument 440 p, end, f_rng, p_rng ) ); in ecjpake_kkp_write() 496 void *p_rng ) in ecjpake_kkpp_write() argument 503 &p, end, f_rng, p_rng ) ); in ecjpake_kkpp_write() 505 &p, end, f_rng, p_rng ) ); in ecjpake_kkpp_write() 535 void *p_rng ) in mbedtls_ecjpake_write_round_one() argument 640 void *p_rng ) in ecjpake_mul_secret() argument 669 void *p_rng ) in mbedtls_ecjpake_write_round_two() argument 751 void *p_rng ) in mbedtls_ecjpake_derive_secret() argument [all …]
|
A D | pk.c | 366 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, in mbedtls_pk_sign_restartable() argument 390 hash, hash_len, sig, sig_len, f_rng, p_rng, rs_ctx->rs_ctx ); in mbedtls_pk_sign_restartable() 405 sig, sig_len, f_rng, p_rng ) ); in mbedtls_pk_sign_restartable() 414 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in mbedtls_pk_sign() argument 417 sig, sig_len, f_rng, p_rng, NULL ) ); in mbedtls_pk_sign() 426 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in mbedtls_pk_decrypt() argument 440 output, olen, osize, f_rng, p_rng ) ); in mbedtls_pk_decrypt() 449 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in mbedtls_pk_encrypt() argument 463 output, olen, osize, f_rng, p_rng ) ); in mbedtls_pk_encrypt()
|
A D | ssl_ticket.c | 71 if( ( ret = ctx->f_rng( ctx->p_rng, key->name, sizeof( key->name ) ) ) != 0 ) in ssl_ticket_gen_key() 74 if( ( ret = ctx->f_rng( ctx->p_rng, buf, sizeof( buf ) ) ) != 0 ) in ssl_ticket_gen_key() 119 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, in mbedtls_ssl_ticket_setup() argument 127 ctx->p_rng = p_rng; in mbedtls_ssl_ticket_setup() 322 if( ( ret = ctx->f_rng( ctx->p_rng, iv, 12 ) ) != 0 ) in mbedtls_ssl_ticket_write()
|
A D | dhm.c | 164 void *p_rng ) in mbedtls_dhm_make_params() argument 182 MBEDTLS_MPI_CHK( mbedtls_mpi_fill_random( &ctx->X, x_size, f_rng, p_rng ) ); in mbedtls_dhm_make_params() 282 void *p_rng ) in mbedtls_dhm_make_public() argument 300 MBEDTLS_MPI_CHK( mbedtls_mpi_fill_random( &ctx->X, x_size, f_rng, p_rng ) ); in mbedtls_dhm_make_public() 333 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in dhm_update_blinding() argument 373 … MBEDTLS_MPI_CHK( mbedtls_mpi_fill_random( &ctx->Vi, mbedtls_mpi_size( &ctx->P ), f_rng, p_rng ) ); in dhm_update_blinding() 397 void *p_rng ) in mbedtls_dhm_calc_secret() argument 416 MBEDTLS_MPI_CHK( dhm_update_blinding( ctx, f_rng, p_rng ) ); in mbedtls_dhm_calc_secret()
|
A D | x509write_csr.c | 127 void *p_rng ) in mbedtls_x509write_csr_der() argument 194 f_rng, p_rng ) ) != 0 ) in mbedtls_x509write_csr_der() 239 void *p_rng ) in mbedtls_x509write_csr_pem() argument 246 f_rng, p_rng ) ) < 0 ) in mbedtls_x509write_csr_pem()
|
/AliOS-Things-master/components/mbedtls/platform/yoc/include/ |
A D | rsa_alt.h | 140 void *p_rng, 167 void *p_rng, 199 void *p_rng, 230 void *p_rng,
|
/AliOS-Things-master/components/mbedtls/platform/yoc/ |
A D | ctr_drbg.c | 46 int mbedtls_ctr_drbg_random(void *p_rng, unsigned char *output, size_t output_len) in mbedtls_ctr_drbg_random() argument 48 (void)p_rng; in mbedtls_ctr_drbg_random()
|
A D | rsa_alt.c | 255 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, in mbedtls_rsa_pkcs1_encrypt() argument 263 (void)p_rng; in mbedtls_rsa_pkcs1_encrypt() 319 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, in mbedtls_rsa_pkcs1_decrypt() argument 328 (void)p_rng; in mbedtls_rsa_pkcs1_decrypt() 382 void *p_rng, int mode, mbedtls_md_type_t md_alg, unsigned int hashlen, in mbedtls_rsa_pkcs1_sign() argument 392 (void)p_rng; in mbedtls_rsa_pkcs1_sign() 472 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, int mode, in mbedtls_rsa_pkcs1_verify() argument 482 (void)p_rng; in mbedtls_rsa_pkcs1_verify()
|