Loading crypto/ec/curve448/eddsa.c +10 −9 Original line number Diff line number Diff line Loading @@ -165,7 +165,8 @@ c448_error_t c448_ed448_sign( /* Hash to create the nonce */ if (!hash_init_with_dom(hashctx, prehashed, 0, context, context_len) || !EVP_DigestUpdate(hashctx, expanded + EDDSA_448_PRIVATE_BYTES, || !EVP_DigestUpdate(hashctx, expanded + EDDSA_448_PRIVATE_BYTES, EDDSA_448_PRIVATE_BYTES) || !EVP_DigestUpdate(hashctx, message, message_len)) { OPENSSL_cleanse(expanded, sizeof(expanded)); Loading crypto/ec/curve448/f_generic.c +1 −2 Original line number Diff line number Diff line Loading @@ -159,9 +159,8 @@ mask_t gf_eq(const gf a, const gf b) gf_sub(c, a, b); gf_strong_reduce(c); for (i = 0; i < NLIMBS; i++) { for (i = 0; i < NLIMBS; i++) ret |= c->limb[LIMBPERM(i)]; } return word_is_zero(ret); } Loading Loading
crypto/ec/curve448/eddsa.c +10 −9 Original line number Diff line number Diff line Loading @@ -165,7 +165,8 @@ c448_error_t c448_ed448_sign( /* Hash to create the nonce */ if (!hash_init_with_dom(hashctx, prehashed, 0, context, context_len) || !EVP_DigestUpdate(hashctx, expanded + EDDSA_448_PRIVATE_BYTES, || !EVP_DigestUpdate(hashctx, expanded + EDDSA_448_PRIVATE_BYTES, EDDSA_448_PRIVATE_BYTES) || !EVP_DigestUpdate(hashctx, message, message_len)) { OPENSSL_cleanse(expanded, sizeof(expanded)); Loading
crypto/ec/curve448/f_generic.c +1 −2 Original line number Diff line number Diff line Loading @@ -159,9 +159,8 @@ mask_t gf_eq(const gf a, const gf b) gf_sub(c, a, b); gf_strong_reduce(c); for (i = 0; i < NLIMBS; i++) { for (i = 0; i < NLIMBS; i++) ret |= c->limb[LIMBPERM(i)]; } return word_is_zero(ret); } Loading