HomeSort by: relevance | last modified time | path
    Searched defs:scalars (Results 1 - 11 of 11) sorted by relevancy

  /src/crypto/external/apache2/openssl/dist/crypto/ec/
ecp_sm2p256.c 456 const BIGNUM **scalars = NULL; local
465 || (scalars = OPENSSL_malloc(num * sizeof(BIGNUM *))) == NULL) {
485 scalars[i] = tmp;
487 scalars[i] = scalar[i];
490 if (ecp_sm2p256_bignum_field_elem(k, scalars[i]) <= 0
505 OPENSSL_free(scalars);
509 /* r = scalar*G + sum(scalars[i]*points[i]) */
515 const BIGNUM *scalars[], BN_CTX *ctx)
571 if (!ecp_sm2p256_windowed_mul(group, out, scalars, points, num, ctx))
ecp_nistz256.c 619 const BIGNUM **scalars = NULL; local
627 || (scalars = OPENSSL_malloc(num * sizeof(BIGNUM *))) == NULL)
646 scalars[i] = mod;
648 scalars[i] = scalar[i];
650 for (j = 0; j < bn_get_top(scalars[i]) * BN_BYTES; j += BN_BYTES) {
651 BN_ULONG d = bn_get_words(scalars[i])[j / BN_BYTES];
771 OPENSSL_free(scalars);
929 /* r = scalar*G + sum(scalars[i]*points[i]) */
935 const BIGNUM *scalars[], BN_CTX *ctx)
1109 memcpy(new_scalars, scalars, num * sizeof(BIGNUM *))
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/crypto/ec/
ec_lib.c 1005 const BIGNUM *scalars[], BN_CTX *ctx)
1032 ret = group->meth->mul(group, r, scalar, num, points, scalars, ctx);
1035 ret = ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx);
1047 const BIGNUM *scalars[1]; local
1050 scalars[0] = p_scalar;
1054 && p_scalar != NULL), points, scalars, ctx);
ecp_nistz256.c 624 const BIGNUM **scalars = NULL; local
633 || (scalars = OPENSSL_malloc(num * sizeof(BIGNUM *))) == NULL) {
654 scalars[i] = mod;
656 scalars[i] = scalar[i];
658 for (j = 0; j < bn_get_top(scalars[i]) * BN_BYTES; j += BN_BYTES) {
659 BN_ULONG d = bn_get_words(scalars[i])[j / BN_BYTES];
780 OPENSSL_free(scalars);
946 /* r = scalar*G + sum(scalars[i]*points[i]) */
952 const BIGNUM *scalars[], BN_CTX *ctx)
1132 memcpy(new_scalars, scalars, num * sizeof(BIGNUM *))
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/ec/
ecp_nistz256.c 630 const BIGNUM **scalars = NULL; local
639 || (scalars = OPENSSL_malloc(num * sizeof(BIGNUM *))) == NULL) {
660 scalars[i] = mod;
662 scalars[i] = scalar[i];
664 for (j = 0; j < bn_get_top(scalars[i]) * BN_BYTES; j += BN_BYTES) {
665 BN_ULONG d = bn_get_words(scalars[i])[j / BN_BYTES];
785 OPENSSL_free(scalars);
951 /* r = scalar*G + sum(scalars[i]*points[i]) */
957 const BIGNUM *scalars[], BN_CTX *ctx)
1137 memcpy(new_scalars, scalars, num * sizeof(BIGNUM *))
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/test/
ectest.c 29 /* test multiplication with group order, long and negative scalars */
66 const BIGNUM *scalars[6]; local
104 scalars[0] = scalars[1] = BN_value_one();
107 if (!TEST_true(EC_POINTs_mul(group, R, NULL, 2, points, scalars, ctx))
112 scalars[0] = n1;
114 scalars[1] = n2;
116 scalars[2] = n1;
118 scalars[3] = n2;
120 scalars[4] = n1
155 const BIGNUM *scalars[4]; local
815 const BIGNUM *scalars[3]; local
    [all...]
  /src/crypto/external/apache2/openssl/dist/test/
ectest.c 38 /* test multiplication with group order, long and negative scalars */
78 const BIGNUM *scalars[6]; local
117 scalars[0] = scalars[1] = BN_value_one();
120 if (!TEST_true(EC_POINTs_mul(group, R, NULL, 2, points, scalars, ctx))
125 scalars[0] = n1;
127 scalars[1] = n2;
129 scalars[2] = n1;
131 scalars[3] = n2;
133 scalars[4] = n1
167 const BIGNUM *scalars[4]; local
777 const BIGNUM *scalars[3]; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/test/
ectest.c 38 /* test multiplication with group order, long and negative scalars */
78 const BIGNUM *scalars[6]; local
117 scalars[0] = scalars[1] = BN_value_one();
120 if (!TEST_true(EC_POINTs_mul(group, R, NULL, 2, points, scalars, ctx))
125 scalars[0] = n1;
127 scalars[1] = n2;
129 scalars[2] = n1;
131 scalars[3] = n2;
133 scalars[4] = n1
168 const BIGNUM *scalars[4]; local
789 const BIGNUM *scalars[3]; local
    [all...]
  /src/sys/external/bsd/drm/dist/shared-core/
radeon_drm.h 192 } scalars; member in union:__anon4233
  /src/sys/external/bsd/drm2/dist/include/uapi/drm/
radeon_drm.h 200 } scalars; member in union:__anon5959
  /src/external/public-domain/sqlite/dist/
sqlite3.c 215327 } scalars[] = { local
    [all...]

Completed in 91 milliseconds