Home
last modified time | relevance | path

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

12

/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Drsa.h456 void *p_rng,
583 void *p_rng,
628 void *p_rng,
714 void *p_rng,
767 void *p_rng,
871 void *p_rng,
931 void *p_rng,
1034 void *p_rng,
1098 void *p_rng,
1151 void *p_rng,
[all …]
A Decdh.h181 void *p_rng );
220 void *p_rng );
285 void *p_rng );
367 void *p_rng );
424 void *p_rng );
A Dpk_internal.h58 void *p_rng );
72 void *p_rng, void *rs_ctx );
79 void *p_rng );
85 void *p_rng );
A Decjpake.h166 void *p_rng );
207 void *p_rng );
247 void *p_rng );
A Dssl_ticket.h71 void *p_rng; /*!< context for the RNG function */ member
111 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng,
A Decdsa.h174 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );
375 void *p_rng );
421 void *p_rng,
566 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );
A Ddhm.h199 void *p_rng );
266 void *p_rng );
297 void *p_rng );
A Decp_internal.h126 void *p_rng );
274 void *p_rng );
A Decp.h965 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );
999 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng,
1159 void *p_rng );
1192 void *p_rng );
1220 void *p_rng );
1237 void *p_rng );
A Dpk.h228 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng,
510 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );
544 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng,
567 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );
588 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng );
A Dpkcs11.h211 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, in mbedtls_ssl_pkcs11_sign() argument
216 ((void) p_rng); in mbedtls_ssl_pkcs11_sign()
A Dx509_csr.h274 void *p_rng );
296 void *p_rng );
A Dbignum.h884 void *p_rng );
922 void *p_rng );
984 void *p_rng );
1017 void *p_rng );
1050 void *p_rng );
A Dhmac_drbg.h362 int mbedtls_hmac_drbg_random_with_add( void *p_rng,
394 int mbedtls_hmac_drbg_random( void *p_rng, unsigned char *output, size_t out_len );
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Decdh.c75 void *p_rng, in ecdh_gen_public_restartable() argument
98 void *p_rng ) in mbedtls_ecdh_gen_public() argument
116 void *p_rng, in ecdh_compute_shared_restartable() argument
147 void *p_rng ) in mbedtls_ecdh_compute_shared() argument
302 void *p_rng, in ecdh_make_params_internal() argument
357 void *p_rng ) in mbedtls_ecdh_make_params() argument
385 f_rng, p_rng, in mbedtls_ecdh_make_params()
525 void *p_rng, in ecdh_make_public_internal() argument
563 void *p_rng ) in mbedtls_ecdh_make_public() argument
647 void *p_rng, in ecdh_calc_secret_internal() argument
[all …]
A Dpk_wrap.c112 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in rsa_sign_wrap() argument
123 return( mbedtls_rsa_pkcs1_sign( rsa, f_rng, p_rng, MBEDTLS_RSA_PRIVATE, in rsa_sign_wrap()
137 return( mbedtls_rsa_pkcs1_decrypt( rsa, f_rng, p_rng, in rsa_decrypt_wrap()
152 return( mbedtls_rsa_pkcs1_encrypt( rsa, f_rng, p_rng, MBEDTLS_RSA_PUBLIC, in rsa_encrypt_wrap()
271 f_rng, p_rng ); in eckey_sign_wrap()
376 f_rng, p_rng, &rs->ecdsa_rs ) ); in eckey_sign_rs_wrap()
645 md_alg, hash, hash_len, sig, sig_len, f_rng, p_rng ) ); in ecdsa_sign_wrap()
676 md_alg, hash, hash_len, sig, sig_len, f_rng, p_rng, in ecdsa_sign_rs_wrap()
785 ((void) p_rng); in rsa_alt_decrypt_wrap()
1008 ((void) p_rng); in pk_opaque_sign_wrap()
[all …]
A Drsa.c522 void *p_rng, in mbedtls_rsa_gen_key() argument
857 void *p_rng, in mbedtls_rsa_private() argument
1146 void *p_rng, in mbedtls_rsa_rsaes_oaep_encrypt() argument
1307 void *p_rng, in mbedtls_rsa_pkcs1_encrypt() argument
1543 void *p_rng, in mbedtls_rsa_pkcs1_decrypt() argument
1579 void *p_rng, in rsa_rsassa_pss_sign() argument
1720 void *p_rng, in mbedtls_rsa_rsassa_pss_sign_ext() argument
1737 void *p_rng, in mbedtls_rsa_rsassa_pss_sign() argument
1973 void *p_rng, in mbedtls_rsa_pkcs1_sign() argument
2163 void *p_rng, in mbedtls_rsa_rsassa_pss_verify() argument
[all …]
A Ddhm.c156 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in dhm_random_below() argument
160 MBEDTLS_MPI_CHK( mbedtls_mpi_random( R, 3, M, f_rng, p_rng ) ); in dhm_random_below()
169 void *p_rng ) in dhm_make_common() argument
185 ret = dhm_random_below( &ctx->X, &ctx->P, f_rng, p_rng ); in dhm_make_common()
211 void *p_rng ) in mbedtls_dhm_make_params() argument
221 ret = dhm_make_common( ctx, x_size, f_rng, p_rng ); in mbedtls_dhm_make_params()
305 void *p_rng ) in mbedtls_dhm_make_public() argument
315 ret = dhm_make_common( ctx, x_size, f_rng, p_rng ); in mbedtls_dhm_make_public()
382 MBEDTLS_MPI_CHK( dhm_random_below( &R, &ctx->P, f_rng, p_rng ) ); in dhm_update_blinding()
403 void *p_rng ) in mbedtls_dhm_calc_secret() argument
[all …]
A Decdsa.c416 f_rng, p_rng, f_rng, p_rng, NULL ) ); in mbedtls_ecdsa_sign()
434 mbedtls_hmac_drbg_context *p_rng = &rng_ctx; in ecdsa_sign_det_restartable() local
452 p_rng = &rs_ctx->det->rng_ctx; in ecdsa_sign_det_restartable()
476 mbedtls_hmac_drbg_random, p_rng ); in ecdsa_sign_det_restartable()
522 p_rng_blind_det = p_rng; in ecdsa_sign_det_restartable()
754 void *p_rng, in mbedtls_ecdsa_write_signature_restartable() argument
770 p_rng, rs_ctx ) ); in mbedtls_ecdsa_write_signature_restartable()
778 hash, hlen, f_rng, p_rng ) ); in mbedtls_ecdsa_write_signature_restartable()
783 p_rng, rs_ctx ) ); in mbedtls_ecdsa_write_signature_restartable()
804 void *p_rng ) in mbedtls_ecdsa_write_signature() argument
[all …]
A Decjpake.c315 void *p_rng ) in ecjpake_zkp_write() argument
413 void *p_rng ) in ecjpake_kkp_write() argument
430 p, end, f_rng, p_rng ) ); in ecjpake_kkp_write()
486 void *p_rng ) in ecjpake_kkpp_write() argument
493 &p, end, f_rng, p_rng ) ); in ecjpake_kkpp_write()
495 &p, end, f_rng, p_rng ) ); in ecjpake_kkpp_write()
525 void *p_rng ) in mbedtls_ecjpake_write_round_one() argument
630 void *p_rng ) in ecjpake_mul_secret() argument
659 void *p_rng ) in mbedtls_ecjpake_write_round_two() argument
741 void *p_rng ) in mbedtls_ecjpake_derive_secret() argument
[all …]
A Dx509write_csr.c140 void *p_rng ) in x509write_csr_der_internal() argument
238 f_rng, p_rng ) ) != 0 ) in x509write_csr_der_internal()
296 void *p_rng ) in mbedtls_x509write_csr_der() argument
306 ret = x509write_csr_der_internal( ctx, buf, size, sig, f_rng, p_rng ); in mbedtls_x509write_csr_der()
319 void *p_rng ) in mbedtls_x509write_csr_pem() argument
325 f_rng, p_rng ) ) < 0 ) in mbedtls_x509write_csr_pem()
A Dssl_ticket.c81 if( ( ret = ctx->f_rng( ctx->p_rng, key->name, sizeof( key->name ) ) ) != 0 ) in ssl_ticket_gen_key()
84 if( ( ret = ctx->f_rng( ctx->p_rng, buf, sizeof( buf ) ) ) != 0 ) in ssl_ticket_gen_key()
130 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, in mbedtls_ssl_ticket_setup() argument
138 ctx->p_rng = p_rng; in mbedtls_ssl_ticket_setup()
239 if( ( ret = ctx->f_rng( ctx->p_rng, iv, TICKET_IV_BYTES ) ) != 0 ) in mbedtls_ssl_ticket_write()
A Dpk.c404 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng, in mbedtls_pk_sign_restartable() argument
428 hash, hash_len, sig, sig_len, f_rng, p_rng, rs_ctx->rs_ctx ); in mbedtls_pk_sign_restartable()
443 sig, sig_len, f_rng, p_rng ) ); in mbedtls_pk_sign_restartable()
452 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in mbedtls_pk_sign() argument
455 sig, sig_len, f_rng, p_rng, NULL ) ); in mbedtls_pk_sign()
464 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in mbedtls_pk_decrypt() argument
478 output, olen, osize, f_rng, p_rng ) ); in mbedtls_pk_decrypt()
487 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng ) in mbedtls_pk_encrypt() argument
501 output, olen, osize, f_rng, p_rng ) ); in mbedtls_pk_encrypt()
A Decp.c165 static inline int ecp_drbg_random( void *p_rng, in ecp_drbg_random() argument
216 static inline int ecp_drbg_random( void *p_rng, in ecp_drbg_random() argument
2029 void *p_rng, in ecp_mul_comb_core() argument
2268 void *p_rng, in ecp_mul_comb() argument
2291 p_rng = &rs_ctx->rsm->drbg_ctx; in ecp_mul_comb()
2294 p_rng = &drbg_ctx; in ecp_mul_comb()
2566 void *p_rng ) in ecp_mul_mxz() argument
2586 p_rng = &drbg_ctx; in ecp_mul_mxz()
3174 void *p_rng ) in mbedtls_ecp_gen_privkey() argument
3200 void *p_rng ) in mbedtls_ecp_gen_keypair_base() argument
[all …]
A Decp_invasive.h75 void *p_rng );

Completed in 63 milliseconds

12