Searched refs:output_buf (Results 1 – 5 of 5) sorted by relevance
/mbedtls-development/programs/pkey/ |
A D | key_app_writer.c | 121 unsigned char output_buf[16000]; in write_public_key() local 122 unsigned char *c = output_buf; in write_public_key() 125 memset(output_buf, 0, 16000); in write_public_key() 133 len = strlen( (char *) output_buf ); in write_public_key() 142 c = output_buf + sizeof(output_buf) - len; in write_public_key() 163 unsigned char output_buf[16000]; in write_private_key() local 164 unsigned char *c = output_buf; in write_private_key() 167 memset(output_buf, 0, 16000); in write_private_key() 175 len = strlen( (char *) output_buf ); in write_private_key() 180 if( ( ret = mbedtls_pk_write_key_der( key, output_buf, 16000 ) ) < 0 ) in write_private_key() [all …]
|
A D | gen_key.c | 152 unsigned char output_buf[16000]; in write_private_key() local 153 unsigned char *c = output_buf; in write_private_key() 156 memset(output_buf, 0, 16000); in write_private_key() 159 if( ( ret = mbedtls_pk_write_key_pem( key, output_buf, 16000 ) ) != 0 ) in write_private_key() 162 len = strlen( (char *) output_buf ); in write_private_key() 166 if( ( ret = mbedtls_pk_write_key_der( key, output_buf, 16000 ) ) < 0 ) in write_private_key() 170 c = output_buf + sizeof(output_buf) - len; in write_private_key()
|
/mbedtls-development/library/ |
A D | pkwrite.c | 559 unsigned char output_buf[PUB_DER_MAX_BYTES]; in mbedtls_pk_write_pubkey_pem() local 565 if( ( ret = mbedtls_pk_write_pubkey_der( key, output_buf, in mbedtls_pk_write_pubkey_pem() 566 sizeof(output_buf) ) ) < 0 ) in mbedtls_pk_write_pubkey_pem() 572 output_buf + sizeof(output_buf) - ret, in mbedtls_pk_write_pubkey_pem() 584 unsigned char output_buf[PRV_DER_MAX_BYTES]; in mbedtls_pk_write_key_pem() local 591 if( ( ret = mbedtls_pk_write_key_der( key, output_buf, sizeof(output_buf) ) ) < 0 ) in mbedtls_pk_write_key_pem() 613 output_buf + sizeof(output_buf) - ret, in mbedtls_pk_write_key_pem()
|
/mbedtls-development/programs/x509/ |
A D | cert_req.c | 127 unsigned char output_buf[4096]; in write_certificate_request() local 130 memset( output_buf, 0, 4096 ); in write_certificate_request() 131 if( ( ret = mbedtls_x509write_csr_pem( req, output_buf, 4096, f_rng, p_rng ) ) < 0 ) in write_certificate_request() 134 len = strlen( (char *) output_buf ); in write_certificate_request() 139 if( fwrite( output_buf, 1, len, f ) != len ) in write_certificate_request()
|
A D | cert_write.c | 188 unsigned char output_buf[4096]; in write_certificate() local 191 memset( output_buf, 0, 4096 ); in write_certificate() 192 if( ( ret = mbedtls_x509write_crt_pem( crt, output_buf, 4096, in write_certificate() 196 len = strlen( (char *) output_buf ); in write_certificate() 201 if( fwrite( output_buf, 1, len, f ) != len ) in write_certificate()
|
Completed in 7 milliseconds