Searched refs:SUB (Results 1 – 3 of 3) sorted by relevance
165 #define ECDSA_RS_ENTER(SUB) do { \ argument172 rs_ctx != NULL && rs_ctx->SUB == NULL) \174 rs_ctx->SUB = mbedtls_calloc(1, sizeof(*rs_ctx->SUB)); \175 if (rs_ctx->SUB == NULL) \178 ecdsa_restart_## SUB ##_init(rs_ctx->SUB); \183 #define ECDSA_RS_LEAVE(SUB) do { \ argument185 if (rs_ctx != NULL && rs_ctx->SUB != NULL && \188 ecdsa_restart_## SUB ##_free(rs_ctx->SUB); \189 mbedtls_free(rs_ctx->SUB); \190 rs_ctx->SUB = NULL; \[all …]
5015 #define SUB(j) cur -= A(j) macro5074 SUB(7); SUB(11); NEXT; // A0 += -A7 - A11 in mbedtls_ecp_mod_p224_raw()5075 SUB(8); SUB(12); NEXT; // A1 += -A8 - A12 in mbedtls_ecp_mod_p224_raw()5076 SUB(9); SUB(13); NEXT; // A2 += -A9 - A13 in mbedtls_ecp_mod_p224_raw()5077 SUB(10); ADD(7); ADD(11); NEXT; // A3 += -A10 + A7 + A11 in mbedtls_ecp_mod_p224_raw()5078 SUB(11); ADD(8); ADD(12); NEXT; // A4 += -A11 + A8 + A12 in mbedtls_ecp_mod_p224_raw()5079 SUB(12); ADD(9); ADD(13); NEXT; // A5 += -A12 + A9 + A13 in mbedtls_ecp_mod_p224_raw()5080 SUB(13); ADD(10); // A6 += -A13 + A10 in mbedtls_ecp_mod_p224_raw()5128 SUB(11); SUB(12); SUB(13); SUB(14); NEXT; // A0 in mbedtls_ecp_mod_p256_raw()5131 SUB(12); SUB(13); SUB(14); SUB(15); NEXT; // A1 in mbedtls_ecp_mod_p256_raw()[all …]
284 #define ECP_RS_ENTER(SUB) do { \ argument291 rs_ctx != NULL && rs_ctx->SUB == NULL) \293 rs_ctx->SUB = mbedtls_calloc(1, sizeof(*rs_ctx->SUB)); \294 if (rs_ctx->SUB == NULL) \297 ecp_restart_## SUB ##_init(rs_ctx->SUB); \302 #define ECP_RS_LEAVE(SUB) do { \ argument304 if (rs_ctx != NULL && rs_ctx->SUB != NULL && \307 ecp_restart_## SUB ##_free(rs_ctx->SUB); \308 mbedtls_free(rs_ctx->SUB); \309 rs_ctx->SUB = NULL; \