Lines Matching refs:PK_VALIDATE_RET
60 #define PK_VALIDATE_RET( cond ) \ macro
182 PK_VALIDATE_RET( p != NULL ); in mbedtls_pk_write_pubkey()
183 PK_VALIDATE_RET( *p != NULL ); in mbedtls_pk_write_pubkey()
184 PK_VALIDATE_RET( start != NULL ); in mbedtls_pk_write_pubkey()
185 PK_VALIDATE_RET( key != NULL ); in mbedtls_pk_write_pubkey()
233 PK_VALIDATE_RET( key != NULL ); in mbedtls_pk_write_pubkey_der()
236 PK_VALIDATE_RET( buf != NULL ); in mbedtls_pk_write_pubkey_der()
319 PK_VALIDATE_RET( key != NULL ); in mbedtls_pk_write_key_der()
322 PK_VALIDATE_RET( buf != NULL ); in mbedtls_pk_write_key_der()
562 PK_VALIDATE_RET( key != NULL ); in mbedtls_pk_write_pubkey_pem()
563 PK_VALIDATE_RET( buf != NULL || size == 0 ); in mbedtls_pk_write_pubkey_pem()
588 PK_VALIDATE_RET( key != NULL ); in mbedtls_pk_write_key_pem()
589 PK_VALIDATE_RET( buf != NULL || size == 0 ); in mbedtls_pk_write_key_pem()