< prev index next >

src/jdk.crypto.ec/share/native/libsunec/impl/ecl_mult.c

Print this page
rev 50999 : 8207233: Minor improvements of jdk C-coding

*** 1,7 **** /* ! * Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either --- 1,7 ---- /* ! * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either
*** 79,88 **** --- 79,89 ---- point_mul(&kt, &group->genx, &group->geny, rx, ry, group, timing)); } } else { if (group->meth->field_enc) { + kt.flag = (mp_sign)0; MP_CHECKOK(group->meth->field_enc(px, rx, group->meth)); MP_CHECKOK(group->meth->field_enc(py, ry, group->meth)); MP_CHECKOK(group->point_mul(&kt, rx, ry, rx, ry, group, timing)); } else { kt.flag = (mp_sign)0;
< prev index next >