Home
last modified time | relevance | path

Searched refs:BN_BYTES (Results 1 – 8 of 8) sorted by relevance

/third_party/openssl/crypto/bn/
Dbn_lib.c452 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()
Dbn_print.c28 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()
Drsa_sup_mul.c12 # if BN_BYTES == 8
21 # elif BN_BYTES == 4
112 #elif (BN_BYTES == 8) && (defined _MSC_VER)
Dbn_srp.c18 # if (BN_BYTES == 8)
26 # elif (BN_BYTES == 4)
/third_party/openssl/crypto/asn1/
Dt_pkey.c64 if (BN_num_bytes(num) <= BN_BYTES) { in ASN1_bn_print()
/third_party/openssl/crypto/ec/
Decp_nistz256.c658 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()
/third_party/openssl/include/openssl/
Dbn.h32 # define BN_BYTES 8 macro
40 # define BN_BYTES 8 macro
45 # define BN_BYTES 4 macro
48 # define BN_BITS2 (BN_BYTES * 8)
/third_party/libwebsockets/lib/tls/openssl/
Dlws-genec.c98 l = a->d[i / BN_BYTES]; in BN_bn2binpad()
99 *(to++) = (unsigned char)(l >> (8 * (i % BN_BYTES))) & 0xff; in BN_bn2binpad()