Lines Matching refs:n
64 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
65 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
320 size_t n; in mbedtls_x509_csr_parse_file() local
323 if( ( ret = mbedtls_pk_load_file( path, &buf, &n ) ) != 0 ) in mbedtls_x509_csr_parse_file()
326 ret = mbedtls_x509_csr_parse( csr, buf, n ); in mbedtls_x509_csr_parse_file()
328 mbedtls_zeroize( buf, n ); in mbedtls_x509_csr_parse_file()
344 size_t n; in mbedtls_x509_csr_info() local
349 n = size; in mbedtls_x509_csr_info()
351 ret = mbedtls_snprintf( p, n, "%sCSR version : %d", in mbedtls_x509_csr_info()
355 ret = mbedtls_snprintf( p, n, "\n%ssubject name : ", prefix ); in mbedtls_x509_csr_info()
357 ret = mbedtls_x509_dn_gets( p, n, &csr->subject ); in mbedtls_x509_csr_info()
360 ret = mbedtls_snprintf( p, n, "\n%ssigned using : ", prefix ); in mbedtls_x509_csr_info()
363 ret = mbedtls_x509_sig_alg_gets( p, n, &csr->sig_oid, csr->sig_pk, csr->sig_md, in mbedtls_x509_csr_info()
373 ret = mbedtls_snprintf( p, n, "\n%s%-" BC "s: %d bits\n", prefix, key_size_str, in mbedtls_x509_csr_info()
377 return( (int) ( size - n ) ); in mbedtls_x509_csr_info()