Lines Matching refs:rsa
72 mbedtls_rsa_context *rsa ) in pk_write_rsa_pubkey() argument
81 if ( ( ret = mbedtls_rsa_export( rsa, NULL, NULL, NULL, NULL, &T ) ) != 0 || in pk_write_rsa_pubkey()
87 if ( ( ret = mbedtls_rsa_export( rsa, &T, NULL, NULL, NULL, NULL ) ) != 0 || in pk_write_rsa_pubkey()
251 mbedtls_rsa_context *rsa = mbedtls_pk_rsa( *key ); in mbedtls_pk_write_key_der() local
260 if( ( ret = mbedtls_rsa_export_crt( rsa, NULL, NULL, &T ) ) != 0 || in mbedtls_pk_write_key_der()
266 if( ( ret = mbedtls_rsa_export_crt( rsa, NULL, &T, NULL ) ) != 0 || in mbedtls_pk_write_key_der()
272 if( ( ret = mbedtls_rsa_export_crt( rsa, &T, NULL, NULL ) ) != 0 || in mbedtls_pk_write_key_der()
278 if ( ( ret = mbedtls_rsa_export( rsa, NULL, NULL, in mbedtls_pk_write_key_der()
285 if ( ( ret = mbedtls_rsa_export( rsa, NULL, &T, in mbedtls_pk_write_key_der()
292 if ( ( ret = mbedtls_rsa_export( rsa, NULL, NULL, in mbedtls_pk_write_key_der()
299 if ( ( ret = mbedtls_rsa_export( rsa, NULL, NULL, in mbedtls_pk_write_key_der()
306 if ( ( ret = mbedtls_rsa_export( rsa, &T, NULL, in mbedtls_pk_write_key_der()