Searched refs:PK_VALIDATE_RET (Results 1 – 3 of 3) sorted by relevance
47 #define PK_VALIDATE_RET( cond ) \ macro137 PK_VALIDATE_RET( ctx != NULL ); in mbedtls_pk_setup()197 PK_VALIDATE_RET( ctx != NULL ); in mbedtls_pk_setup_rsa_alt()281 PK_VALIDATE_RET( ctx != NULL ); in mbedtls_pk_verify_restartable()282 PK_VALIDATE_RET( ( md_alg == MBEDTLS_MD_NONE && hash_len == 0 ) || in mbedtls_pk_verify_restartable()284 PK_VALIDATE_RET( sig != NULL ); in mbedtls_pk_verify_restartable()339 PK_VALIDATE_RET( ctx != NULL ); in mbedtls_pk_verify_ext()340 PK_VALIDATE_RET( ( md_alg == MBEDTLS_MD_NONE && hash_len == 0 ) || in mbedtls_pk_verify_ext()342 PK_VALIDATE_RET( sig != NULL ); in mbedtls_pk_verify_ext()403 PK_VALIDATE_RET( ctx != NULL ); in mbedtls_pk_sign_restartable()[all …]
60 #define PK_VALIDATE_RET( cond ) \ macro182 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()[all …]
60 #define PK_VALIDATE_RET( cond ) \ macro78 PK_VALIDATE_RET( path != NULL ); in mbedtls_pk_load_file()79 PK_VALIDATE_RET( buf != NULL ); in mbedtls_pk_load_file()80 PK_VALIDATE_RET( n != NULL ); in mbedtls_pk_load_file()133 PK_VALIDATE_RET( ctx != NULL ); in mbedtls_pk_parse_keyfile()134 PK_VALIDATE_RET( path != NULL ); in mbedtls_pk_parse_keyfile()160 PK_VALIDATE_RET( ctx != NULL ); in mbedtls_pk_parse_public_keyfile()161 PK_VALIDATE_RET( path != NULL ); in mbedtls_pk_parse_public_keyfile()620 PK_VALIDATE_RET( p != NULL ); in mbedtls_pk_parse_subpubkey()621 PK_VALIDATE_RET( *p != NULL ); in mbedtls_pk_parse_subpubkey()[all …]