Loading crypto/bn/bn_lib.c +7 −0 Original line number Diff line number Diff line Loading @@ -778,6 +778,13 @@ int bn_cmp_words(const BN_ULONG *a, const BN_ULONG *b, int n) return(0); } /* Here follows a specialised variants of bn_cmp_words(). It has the property of performing the operation on arrays of different sizes. The sizes of those arrays is expressed through cl, which is the common length ( basicall, min(len(a),len(b)) ), and dl, which is the delta between the two lengths, calculated as len(a)-len(b). All lengths are the number of BN_ULONGs... */ int bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b, int cl, int dl) { Loading Loading
crypto/bn/bn_lib.c +7 −0 Original line number Diff line number Diff line Loading @@ -778,6 +778,13 @@ int bn_cmp_words(const BN_ULONG *a, const BN_ULONG *b, int n) return(0); } /* Here follows a specialised variants of bn_cmp_words(). It has the property of performing the operation on arrays of different sizes. The sizes of those arrays is expressed through cl, which is the common length ( basicall, min(len(a),len(b)) ), and dl, which is the delta between the two lengths, calculated as len(a)-len(b). All lengths are the number of BN_ULONGs... */ int bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b, int cl, int dl) { Loading