Lines Matching refs:n
70 static void mbedtls_zeroize( void *v, size_t n ) { in mbedtls_zeroize() argument
71 volatile unsigned char *p = v; while( n-- ) *p++ = 0; in mbedtls_zeroize()
557 size_t n; in mbedtls_x509_crl_parse_file() local
560 if( ( ret = mbedtls_pk_load_file( path, &buf, &n ) ) != 0 ) in mbedtls_x509_crl_parse_file()
563 ret = mbedtls_x509_crl_parse( chain, buf, n ); in mbedtls_x509_crl_parse_file()
565 mbedtls_zeroize( buf, n ); in mbedtls_x509_crl_parse_file()
584 size_t n; in mbedtls_x509_crl_info() local
589 n = size; in mbedtls_x509_crl_info()
591 ret = mbedtls_snprintf( p, n, "%sCRL version : %d", in mbedtls_x509_crl_info()
595 ret = mbedtls_snprintf( p, n, "\n%sissuer name : ", prefix ); in mbedtls_x509_crl_info()
597 ret = mbedtls_x509_dn_gets( p, n, &crl->issuer ); in mbedtls_x509_crl_info()
600 ret = mbedtls_snprintf( p, n, "\n%sthis update : " \ in mbedtls_x509_crl_info()
607 ret = mbedtls_snprintf( p, n, "\n%snext update : " \ in mbedtls_x509_crl_info()
616 ret = mbedtls_snprintf( p, n, "\n%sRevoked certificates:", in mbedtls_x509_crl_info()
622 ret = mbedtls_snprintf( p, n, "\n%sserial number: ", in mbedtls_x509_crl_info()
626 ret = mbedtls_x509_serial_gets( p, n, &entry->serial ); in mbedtls_x509_crl_info()
629 ret = mbedtls_snprintf( p, n, " revocation date: " \ in mbedtls_x509_crl_info()
639 ret = mbedtls_snprintf( p, n, "\n%ssigned using : ", prefix ); in mbedtls_x509_crl_info()
642 ret = mbedtls_x509_sig_alg_gets( p, n, &crl->sig_oid, crl->sig_pk, crl->sig_md, in mbedtls_x509_crl_info()
646 ret = mbedtls_snprintf( p, n, "\n" ); in mbedtls_x509_crl_info()
649 return( (int) ( size - n ) ); in mbedtls_x509_crl_info()