Small typo fixes (harmless).

This commit is contained in:
Thomas Pornin 2018-05-24 15:26:43 +02:00
parent d592e99932
commit a8a8f51ea4
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ br_i31_montymul(uint32_t *d, const uint32_t *x, const uint32_t *y,
len = (m[0] + 31) >> 5;
len4 = len & ~(size_t)3;
br_i32_zero(d, m[0]);
br_i31_zero(d, m[0]);
dh = 0;
for (u = 0; u < len; u ++) {
uint32_t f, xu;

View file

@ -138,7 +138,7 @@ br_rsa_oaep_unpad(const br_hash_class *dig,
plen = 2 + hlen + zlen;
k -= plen;
memmove(data, data + plen, k);
memmove(buf, buf + plen, k);
*len = k;
}
return s;