Searched refs:BN_BYTES (Results 1 – 8 of 8) sorted by relevance
452 i = ((n - 1) / BN_BYTES) + 1; in BN_bin2bn()453 m = ((n - 1) % (BN_BYTES)); in BN_bin2bn()466 m = BN_BYTES - 1; in BN_bin2bn()505 atop = a->dmax * BN_BYTES; in bn2binpad()512 atop = a->top * BN_BYTES; in bn2binpad()517 l = a->d[i / BN_BYTES]; in bn2binpad()519 val = (unsigned char)(l >> (8 * (i % BN_BYTES)) & mask); in bn2binpad()563 i = ((n - 1) / BN_BYTES) + 1; in BN_lebin2bn()564 m = ((n - 1) % (BN_BYTES)); in BN_lebin2bn()578 m = BN_BYTES - 1; in BN_lebin2bn()
28 buf = OPENSSL_malloc(a->top * BN_BYTES * 2 + 2); in BN_bn2hex()168 m = (BN_BYTES * 2 <= j) ? BN_BYTES * 2 : j; in BN_hex2bn()182 j -= BN_BYTES * 2; in BN_hex2bn()
12 # if BN_BYTES == 821 # elif BN_BYTES == 4112 #elif (BN_BYTES == 8) && (defined _MSC_VER)
18 # if (BN_BYTES == 8)26 # elif (BN_BYTES == 4)
64 if (BN_num_bytes(num) <= BN_BYTES) { in ASN1_bn_print()
658 for (j = 0; j < bn_get_top(scalars[i]) * BN_BYTES; j += BN_BYTES) { in ecp_nistz256_windowed_mul()659 BN_ULONG d = bn_get_words(scalars[i])[j / BN_BYTES]; in ecp_nistz256_windowed_mul()665 if (BN_BYTES == 8) { in ecp_nistz256_windowed_mul()1035 for (i = 0; i < bn_get_top(scalar) * BN_BYTES; i += BN_BYTES) { in ecp_nistz256_points_mul()1036 BN_ULONG d = bn_get_words(scalar)[i / BN_BYTES]; in ecp_nistz256_points_mul()1042 if (BN_BYTES == 8) { in ecp_nistz256_points_mul()
32 # define BN_BYTES 8 macro40 # define BN_BYTES 8 macro45 # define BN_BYTES 4 macro48 # define BN_BITS2 (BN_BYTES * 8)
98 l = a->d[i / BN_BYTES]; in BN_bn2binpad()99 *(to++) = (unsigned char)(l >> (8 * (i % BN_BYTES))) & 0xff; in BN_bn2binpad()