Home
last modified time | relevance | path

Searched refs:p_rng (Results 1 – 25 of 40) sorted by relevance

12

/reactos/sdk/include/reactos/libs/mbedtls/
H A Drsa.h472 void *p_rng,
599 void *p_rng,
643 void *p_rng,
727 void *p_rng,
780 void *p_rng,
884 void *p_rng,
944 void *p_rng,
992 void *p_rng,
1054 void *p_rng,
1107 void *p_rng,
[all …]
H A Decdh.h200 void *p_rng );
239 void *p_rng );
304 void *p_rng );
386 void *p_rng );
443 void *p_rng );
H A Dpk_internal.h85 void *p_rng );
99 void *p_rng, void *rs_ctx );
106 void *p_rng );
112 void *p_rng );
H A Decp.h904 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );
938 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng,
1084 void *p_rng );
1117 void *p_rng );
1145 void *p_rng );
1162 void *p_rng );
H A Decdsa.h186 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );
378 void *p_rng );
424 void *p_rng,
569 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );
H A Dpk.h209 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng,
452 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );
485 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng,
508 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );
529 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );
H A Decjpake.h193 void *p_rng );
234 void *p_rng );
274 void *p_rng );
H A Ddhm.h215 void *p_rng );
282 void *p_rng );
313 void *p_rng );
H A Dssl_ticket.h98 void *p_rng; /*!< context for the RNG function */ member
138 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng,
H A Dbignum.h864 void *p_rng );
926 void *p_rng );
959 void *p_rng );
992 void *p_rng );
H A Decp_internal.h153 void *p_rng );
301 void *p_rng );
H A Dpkcs11.h179 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, in mbedtls_ssl_pkcs11_sign() argument
184 ((void) p_rng); in mbedtls_ssl_pkcs11_sign()
H A Dx509_csr.h302 void *p_rng );
324 void *p_rng );
H A Dhmac_drbg.h385 int mbedtls_hmac_drbg_random_with_add( void *p_rng,
417 int mbedtls_hmac_drbg_random( void *p_rng, unsigned char *output, size_t out_len );
/reactos/dll/3rdparty/mbedtls/
H A Decdh.c98 void *p_rng, in ecdh_gen_public_restartable() argument
121 void *p_rng ) in mbedtls_ecdh_gen_public() argument
139 void *p_rng, in ecdh_compute_shared_restartable() argument
170 void *p_rng ) in mbedtls_ecdh_compute_shared() argument
313 void *p_rng, in ecdh_make_params_internal() argument
368 void *p_rng ) in mbedtls_ecdh_make_params() argument
391 f_rng, p_rng, in mbedtls_ecdh_make_params()
516 void *p_rng, in ecdh_make_public_internal() argument
554 void *p_rng ) in mbedtls_ecdh_make_public() argument
628 void *p_rng, in ecdh_calc_secret_internal() argument
[all …]
H A Dpk_wrap.c132 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in rsa_sign_wrap() argument
143 return( mbedtls_rsa_pkcs1_sign( rsa, f_rng, p_rng, MBEDTLS_RSA_PRIVATE, in rsa_sign_wrap()
150 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in rsa_decrypt_wrap() argument
157 return( mbedtls_rsa_pkcs1_decrypt( rsa, f_rng, p_rng, in rsa_decrypt_wrap()
172 return( mbedtls_rsa_pkcs1_encrypt( rsa, f_rng, p_rng, MBEDTLS_RSA_PUBLIC, in rsa_encrypt_wrap()
291 f_rng, p_rng ); in eckey_sign_wrap()
308 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng,
396 f_rng, p_rng, &rs->ecdsa_rs ) ); in eckey_sign_rs_wrap()
522 md_alg, hash, hash_len, sig, sig_len, f_rng, p_rng ) ); in ecdsa_sign_wrap()
553 md_alg, hash, hash_len, sig, sig_len, f_rng, p_rng, in ecdsa_sign_rs_wrap()
[all …]
H A Decdsa.c432 f_rng, p_rng, f_rng, p_rng, NULL ) ); in mbedtls_ecdsa_sign()
450 mbedtls_hmac_drbg_context *p_rng = &rng_ctx; in ecdsa_sign_det_restartable() local
468 p_rng = &rs_ctx->det->rng_ctx; in ecdsa_sign_det_restartable()
490 mbedtls_hmac_drbg_random, p_rng ); in ecdsa_sign_det_restartable()
537 p_rng_blind_det = p_rng; in ecdsa_sign_det_restartable()
766 void *p_rng, in mbedtls_ecdsa_write_signature_restartable() argument
782 p_rng, rs_ctx ) ); in mbedtls_ecdsa_write_signature_restartable()
790 hash, hlen, f_rng, p_rng ) ); in mbedtls_ecdsa_write_signature_restartable()
795 p_rng, rs_ctx ) ); in mbedtls_ecdsa_write_signature_restartable()
816 void *p_rng ) in mbedtls_ecdsa_write_signature() argument
[all …]
H A Ddhm.c186 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in dhm_random_below() argument
209 void *p_rng ) in dhm_make_common() argument
225 ret = dhm_random_below( &ctx->X, &ctx->P, f_rng, p_rng ); in dhm_make_common()
251 void *p_rng ) in mbedtls_dhm_make_params() argument
261 ret = dhm_make_common( ctx, x_size, f_rng, p_rng ); in mbedtls_dhm_make_params()
345 void *p_rng ) in mbedtls_dhm_make_public() argument
355 ret = dhm_make_common( ctx, x_size, f_rng, p_rng ); in mbedtls_dhm_make_public()
418 MBEDTLS_MPI_CHK( dhm_random_below( &ctx->Vi, &ctx->P, f_rng, p_rng ) ); in dhm_update_blinding()
423 MBEDTLS_MPI_CHK( dhm_random_below( &R, &ctx->P, f_rng, p_rng ) ); in dhm_update_blinding()
444 void *p_rng ) in mbedtls_dhm_calc_secret() argument
[all …]
H A Drsa.c564 void *p_rng, in mbedtls_rsa_gen_key() argument
898 void *p_rng, in mbedtls_rsa_private() argument
1008 f_rng, p_rng ) ); in mbedtls_rsa_private()
1187 void *p_rng, in mbedtls_rsa_rsaes_oaep_encrypt() argument
1346 void *p_rng, in mbedtls_rsa_pkcs1_encrypt() argument
1382 void *p_rng, in mbedtls_rsa_rsaes_oaep_decrypt() argument
1785 void *p_rng, in mbedtls_rsa_pkcs1_decrypt() argument
1824 void *p_rng, in mbedtls_rsa_rsassa_pss_sign() argument
2163 void *p_rng, in mbedtls_rsa_pkcs1_sign() argument
2353 void *p_rng, in mbedtls_rsa_rsassa_pss_verify() argument
[all …]
H A Decjpake.c350 void *p_rng ) in ecjpake_zkp_write() argument
448 void *p_rng ) in ecjpake_kkp_write() argument
465 p, end, f_rng, p_rng ) ); in ecjpake_kkp_write()
521 void *p_rng ) in ecjpake_kkpp_write() argument
528 &p, end, f_rng, p_rng ) ); in ecjpake_kkpp_write()
530 &p, end, f_rng, p_rng ) ); in ecjpake_kkpp_write()
560 void *p_rng ) in mbedtls_ecjpake_write_round_one() argument
665 void *p_rng ) in ecjpake_mul_secret() argument
694 void *p_rng ) in mbedtls_ecjpake_write_round_two() argument
776 void *p_rng ) in mbedtls_ecjpake_derive_secret() argument
[all …]
H A Dpk.c394 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, in mbedtls_pk_sign_restartable() argument
418 hash, hash_len, sig, sig_len, f_rng, p_rng, rs_ctx->rs_ctx ); in mbedtls_pk_sign_restartable()
433 sig, sig_len, f_rng, p_rng ) ); in mbedtls_pk_sign_restartable()
442 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in mbedtls_pk_sign() argument
445 sig, sig_len, f_rng, p_rng, NULL ) ); in mbedtls_pk_sign()
454 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in mbedtls_pk_decrypt() argument
468 output, olen, osize, f_rng, p_rng ) ); in mbedtls_pk_decrypt()
477 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in mbedtls_pk_encrypt() argument
491 output, olen, osize, f_rng, p_rng ) ); in mbedtls_pk_encrypt()
H A Dx509write_csr.c201 void *p_rng ) in x509write_csr_der_internal() argument
281 f_rng, p_rng ) ) != 0 ) in x509write_csr_der_internal()
339 void *p_rng ) in mbedtls_x509write_csr_der() argument
349 ret = x509write_csr_der_internal( ctx, buf, size, sig, f_rng, p_rng ); in mbedtls_x509write_csr_der()
362 void *p_rng ) in mbedtls_x509write_csr_pem() argument
369 f_rng, p_rng ) ) < 0 ) in mbedtls_x509write_csr_pem()
H A Decp.c197 static inline int ecp_drbg_random( void *p_rng, in ecp_drbg_random() argument
338 ecp_drbg_context *ctx = p_rng; in ecp_drbg_random()
2066 void *p_rng, in ecp_mul_comb_core() argument
2303 void *p_rng, in ecp_mul_comb() argument
2326 p_rng = &rs_ctx->rsm->drbg_ctx; in ecp_mul_comb()
2329 p_rng = &drbg_ctx; in ecp_mul_comb()
2604 void *p_rng ) in ecp_mul_mxz() argument
2624 p_rng = &drbg_ctx; in ecp_mul_mxz()
3154 void *p_rng ) in mbedtls_ecp_gen_privkey() argument
3256 void *p_rng ) in mbedtls_ecp_gen_keypair_base() argument
[all …]
H A Dssl_ticket.c110 if( ( ret = ctx->f_rng( ctx->p_rng, key->name, sizeof( key->name ) ) ) != 0 ) in ssl_ticket_gen_key()
113 if( ( ret = ctx->f_rng( ctx->p_rng, buf, sizeof( buf ) ) ) != 0 ) in ssl_ticket_gen_key()
158 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, in mbedtls_ssl_ticket_setup() argument
166 ctx->p_rng = p_rng; in mbedtls_ssl_ticket_setup()
361 if( ( ret = ctx->f_rng( ctx->p_rng, iv, TICKET_IV_BYTES ) ) != 0 ) in mbedtls_ssl_ticket_write()
H A Drsa_internal.c366 void *p_rng ) in mbedtls_rsa_validate_params() argument
385 ( ret = mbedtls_mpi_is_prime_ext( P, 50, f_rng, p_rng ) ) != 0 ) in mbedtls_rsa_validate_params()
392 ( ret = mbedtls_mpi_is_prime_ext( Q, 50, f_rng, p_rng ) ) != 0 ) in mbedtls_rsa_validate_params()
399 ((void) p_rng); in mbedtls_rsa_validate_params()

12