/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | rsa.h | 456 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 D | ecdh.h | 181 void *p_rng ); 220 void *p_rng ); 285 void *p_rng ); 367 void *p_rng ); 424 void *p_rng );
|
A D | pk_internal.h | 58 void *p_rng ); 72 void *p_rng, void *rs_ctx ); 79 void *p_rng ); 85 void *p_rng );
|
A D | ecjpake.h | 166 void *p_rng ); 207 void *p_rng ); 247 void *p_rng );
|
A D | ssl_ticket.h | 71 void *p_rng; /*!< context for the RNG function */ member 111 int (*f_rng)(void *, unsigned char *, size_t), void *p_rng,
|
A D | ecdsa.h | 174 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 D | dhm.h | 199 void *p_rng ); 266 void *p_rng ); 297 void *p_rng );
|
A D | ecp_internal.h | 126 void *p_rng ); 274 void *p_rng );
|
A D | ecp.h | 965 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 D | pk.h | 228 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 D | pkcs11.h | 211 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 D | x509_csr.h | 274 void *p_rng ); 296 void *p_rng );
|
A D | bignum.h | 884 void *p_rng ); 922 void *p_rng ); 984 void *p_rng ); 1017 void *p_rng ); 1050 void *p_rng );
|
A D | hmac_drbg.h | 362 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 D | ecdh.c | 75 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 D | pk_wrap.c | 112 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 D | rsa.c | 522 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 D | dhm.c | 156 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 D | ecdsa.c | 416 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 D | ecjpake.c | 315 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 D | x509write_csr.c | 140 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 D | ssl_ticket.c | 81 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 D | pk.c | 404 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 D | ecp.c | 165 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 D | ecp_invasive.h | 75 void *p_rng );
|