Searched refs:_rngf (Results 1 – 3 of 3) sorted by relevance
/external/libwebsockets/lib/tls/mbedtls/ |
D | lws-genrsa.c | 104 _rngf(void *context, unsigned char *buf, size_t len) in _rngf() function 132 n = mbedtls_rsa_gen_key(ctx->ctx, _rngf, context, bits, 65537); in lws_genrsa_new_keypair() 183 n = mbedtls_rsa_rsaes_pkcs1_v15_decrypt(ctx->ctx, _rngf, in lws_genrsa_public_decrypt() 190 n = mbedtls_rsa_rsaes_oaep_decrypt(ctx->ctx, _rngf, in lws_genrsa_public_decrypt() 221 n = mbedtls_rsa_rsaes_pkcs1_v15_decrypt(ctx->ctx, _rngf, in lws_genrsa_private_decrypt() 228 n = mbedtls_rsa_rsaes_oaep_decrypt(ctx->ctx, _rngf, in lws_genrsa_private_decrypt() 256 n = mbedtls_rsa_rsaes_pkcs1_v15_encrypt(ctx->ctx, _rngf, in lws_genrsa_public_encrypt() 262 n = mbedtls_rsa_rsaes_oaep_encrypt(ctx->ctx, _rngf, in lws_genrsa_public_encrypt() 291 n = mbedtls_rsa_rsaes_pkcs1_v15_encrypt(ctx->ctx, _rngf, in lws_genrsa_private_encrypt() 297 n = mbedtls_rsa_rsaes_oaep_encrypt(ctx->ctx, _rngf, in lws_genrsa_private_encrypt()
|
D | mbedtls-server.c | 612 _rngf(void *context, unsigned char *buf, size_t len) in _rngf() function 648 n = mbedtls_rsa_gen_key(mbedtls_pk_rsa(mpk), _rngf, context, in lws_tls_acme_sni_csr_create() 677 n = mbedtls_x509write_csr_der(&csr, buf, buf_size, _rngf, context); in lws_tls_acme_sni_csr_create()
|
/external/libwebsockets/lib/plat/freertos/esp32/ |
D | esp32-helpers.c | 1123 _rngf(void *context, unsigned char *buf, size_t len) in _rngf() function 1178 n = mbedtls_rsa_gen_key(mbedtls_pk_rsa(mpk), _rngf, vhost->context, in lws_esp32_selfsigned() 1221 n = mbedtls_x509write_crt_pem(&crt, buf, buf_size, _rngf, in lws_esp32_selfsigned()
|