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()284 PK_VALIDATE_RET( ctx != NULL ); in mbedtls_pk_verify_restartable()285 PK_VALIDATE_RET( ( md_alg == MBEDTLS_MD_NONE && hash_len == 0 ) || in mbedtls_pk_verify_restartable()287 PK_VALIDATE_RET( sig != NULL ); in mbedtls_pk_verify_restartable()342 PK_VALIDATE_RET( ctx != NULL ); in mbedtls_pk_verify_ext()343 PK_VALIDATE_RET( ( md_alg == MBEDTLS_MD_NONE && hash_len == 0 ) || in mbedtls_pk_verify_ext()345 PK_VALIDATE_RET( sig != NULL ); in mbedtls_pk_verify_ext()407 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()132 PK_VALIDATE_RET( ctx != NULL ); in mbedtls_pk_parse_keyfile()133 PK_VALIDATE_RET( path != NULL ); in mbedtls_pk_parse_keyfile()159 PK_VALIDATE_RET( ctx != NULL ); in mbedtls_pk_parse_public_keyfile()160 PK_VALIDATE_RET( path != NULL ); in mbedtls_pk_parse_public_keyfile()619 PK_VALIDATE_RET( p != NULL ); in mbedtls_pk_parse_subpubkey()620 PK_VALIDATE_RET( *p != NULL ); in mbedtls_pk_parse_subpubkey()[all …]