mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
sp_int.c: fix typos in _sp_mul_4() and _sp_sqr_4().
This commit is contained in:
@ -4829,7 +4829,7 @@ int sp_mod(sp_int* a, sp_int* m, sp_int* r)
|
|||||||
sp_int_digit* db = b->dp;
|
sp_int_digit* db = b->dp;
|
||||||
|
|
||||||
#ifdef WOLFSSL_SMALL_STACK
|
#ifdef WOLFSSL_SMALL_STACK
|
||||||
w = (sp_int_word*)XMALLOC(sizeof(sp_word) * 16, NULL,
|
w = (sp_int_word*)XMALLOC(sizeof(sp_int_word) * 16, NULL,
|
||||||
DYNAMIC_TYPE_BIGINT);
|
DYNAMIC_TYPE_BIGINT);
|
||||||
if (w == NULL) {
|
if (w == NULL) {
|
||||||
err = MP_MEM;
|
err = MP_MEM;
|
||||||
@ -9540,7 +9540,7 @@ int sp_mul_2d(sp_int* a, int e, sp_int* r)
|
|||||||
sp_int_digit* da = a->dp;
|
sp_int_digit* da = a->dp;
|
||||||
|
|
||||||
#ifdef WOLFSSL_SMALL_STACK
|
#ifdef WOLFSSL_SMALL_STACK
|
||||||
w = (sp_int_word*)XMALLOC(sizeof(sp_word) * 10, NULL,
|
w = (sp_int_word*)XMALLOC(sizeof(sp_int_word) * 10, NULL,
|
||||||
DYNAMIC_TYPE_BIGINT);
|
DYNAMIC_TYPE_BIGINT);
|
||||||
if (w == NULL) {
|
if (w == NULL) {
|
||||||
err = MP_MEM;
|
err = MP_MEM;
|
||||||
|
Reference in New Issue
Block a user