HomeSort by: relevance | last modified time | path
    Searched refs:modulus (Results 1 - 25 of 113) sorted by relevancy

1 2 3 4 5

  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/
int128.d 454 Cent modulus;
455 return udivmod(c1, c2, modulus);
459 * Unsigned divide c1 / c2. The remainder after division is stored to modulus.
463 * modulus = set to c1 % c2
468 Cent udivmod(Cent c1, Cent c2, out Cent modulus)
476 static U udivmod128_64(Cent c1, U c2, out U modulus)
486 modulus = 0UL;
527 modulus = (rem * base + num0 - q0 * c2) >> shift;
535 modulus = Zero;
536 return com(modulus);
    [all...]
  /src/sys/lib/libkern/arch/m68k/
umodsi3.S 62 | register, and that it returns the modulus in %d1:
65 movel %d1, %d0 | move the modulus into %d0
modsi3.S 62 | the modulus in %d1:
73 negl %d1 | negate modulus
74 .Lret: movl %d1, %d0 | move modulus into %d0
  /src/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_anonymityrevocation/
csencryption_result.c 105 bi_ptr modulus = daa_key->modulus; local
117 if( bi_cmp( msg, modulus) >= 0) {
126 bi_mod_exp( c1, gamma, randomness, modulus);
127 bi_mod_exp( c2, key->eta, randomness, modulus);
129 bi_mul( c3, msg, bi_mod_exp( bi_tmp, key->lambda3, randomness, modulus));
130 bi_mod( c3, c3, modulus); // c3 = c3 % modulus
158 // bi_tmp = (key->lambda1 ^ randomness) % modulus
159 bi_mod_exp( bi_tmp, key->lambda1, randomness, modulus);
    [all...]
  /src/lib/libtelnet/
pk.c 138 BIGNUM *modulus = BN_new(); local
141 (void)BN_hex2bn(&modulus, HEXMODULUS);
146 BN_mod_exp(common, public, secret, modulus, ctx);
155 BN_free(modulus);
186 BIGNUM *modulus = BN_new(); local
196 (void)BN_hex2bn(&modulus, HEXMODULUS);
207 BN_div(tmp, sk, sk, modulus, ctx);
208 BN_mod_exp(pk, root, sk, modulus, ctx);
221 BN_free(modulus);
  /src/crypto/external/cpl/trousers/dist/src/tspi/
tsp_daa.c 35 Trspi_LoadBlob(offset, pk->modulusLength, blob, pk->modulus);
78 if ((pk->modulus = malloc(pk->modulusLength)) == NULL)
81 Trspi_UnloadBlob(offset, pk->modulusLength, blob, pk->modulus);
83 pk->modulus = NULL;
188 free(pk->modulus);
  /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/
lockedint.h 91 /* Increment and take modulus. Returns whether the modulo made any change. */
94 const uint64_t x, const uint64_t modulus) {
103 overflow = (after >= modulus);
105 after %= modulus;
112 overflow = (after >= modulus);
114 after %= modulus;
  /src/external/bsd/jemalloc.old/include/jemalloc/internal/
lockedint.h 91 /* Increment and take modulus. Returns whether the modulo made any change. */
94 const uint64_t x, const uint64_t modulus) {
103 overflow = (after >= modulus);
105 after %= modulus;
112 overflow = (after >= modulus);
114 after %= modulus;
  /src/external/bsd/jemalloc/dist/include/jemalloc/internal/
lockedint.h 95 /* Increment and take modulus. Returns whether the modulo made any change. */
98 const uint64_t x, const uint64_t modulus) {
107 overflow = (after >= modulus);
109 after %= modulus;
116 overflow = (after >= modulus);
118 after %= modulus;
  /src/external/bsd/jemalloc/include/jemalloc/internal/
lockedint.h 95 /* Increment and take modulus. Returns whether the modulo made any change. */
98 const uint64_t x, const uint64_t modulus) {
107 overflow = (after >= modulus);
109 after %= modulus;
116 overflow = (after >= modulus);
118 after %= modulus;
  /src/common/lib/libc/arch/vax/gen/
urem.S 39 * Unsigned modulus, PCC flavor.
52 divl3 %r2,%r0,%r1 # small divisor and dividend: signed modulus
74 divl3 %r2,%r0,%r1 # small divisor and dividend: signed modulus
  /src/external/bsd/wpa/dist/src/crypto/
crypto_internal-modexp.c 91 const u8 *modulus, size_t modulus_len,
108 bignum_set_unsigned_bin(bn_modulus, modulus, modulus_len) < 0)
  /src/crypto/external/bsd/openssh/dist/
dh.c 169 logit("WARNING: could not open %s (%s), using fixed modulus",
314 dh_new_group_asc(const char *gen, const char *modulus)
321 if (BN_hex2bn(&dh_p, modulus) == 0 ||
339 dh_new_group(BIGNUM *gen, BIGNUM *modulus)
345 if (!DH_set0_pqg(dh, modulus, NULL, gen)) {
  /src/crypto/external/apache2/openssl/dist/apps/
dsa.c 81 { "modulus", OPT_MODULUS, '-', "Print the DSA public value" },
99 int modulus = 0, pubin = 0, pubout = 0, ret = 1; local
158 modulus = 1;
219 if (modulus) {
rsa.c 92 { "modulus", OPT_MODULUS, '-', "Print the RSA key modulus" },
148 int noout = 0, modulus = 0, pubin = 0, pubout = 0, ret = 1; local
217 modulus = 1;
292 if (modulus) {
297 BIO_printf(out, "Modulus=");
  /src/crypto/external/bsd/openssl/dist/apps/
dsa.c 69 {"modulus", OPT_MODULUS, '-', "Print the DSA public value"},
87 int modulus = 0, pubin = 0, pubout = 0, ret = 1; local
145 modulus = 1;
211 if (modulus) {
rsa.c 77 {"modulus", OPT_MODULUS, '-', "Print the RSA key modulus"},
133 int noout = 0, modulus = 0, pubin = 0, pubout = 0, ret = 1; local
201 modulus = 1;
279 if (modulus) {
284 BIO_printf(out, "Modulus=");
  /src/crypto/external/bsd/openssl.old/dist/apps/
dsa.c 42 {"modulus", OPT_MODULUS, '-', "Print the DSA public value"},
69 int i, modulus = 0, pubin = 0, pubout = 0, ret = 1; local
125 modulus = 1;
185 if (modulus) {
rsa.c 49 {"modulus", OPT_MODULUS, '-', "Print the RSA key modulus"},
73 int noout = 0, modulus = 0, pubin = 0, pubout = 0, ret = 1; local
140 modulus = 1;
208 if (modulus) {
211 BIO_printf(out, "Modulus=");
  /src/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/
test_join.c 104 BYTE *modulus; local
133 modulus = (BYTE *)malloc( DAA_PARAM_KEY_SIZE / 8);
135 // sign the modulus (n) of the RSA key with the previous RSA key (chain)
137 LogDebug("modulus=%s\n", dump_byte_array(256, modulus));
141 bi_2_byte_array( modulus, DAA_PARAM_KEY_SIZE / 8, bi);
145 EVP_DigestUpdate(ctx, modulus, DAA_PARAM_KEY_SIZE / 8);
  /src/external/bsd/unbound/dist/sldns/
keyraw.c 376 /* Retrieve params as BIGNUM from raw buffer, n is modulus, e is exponent */
408 /* Modulus */
423 BIGNUM* modulus = NULL; local
426 if(!sldns_key_rsa_buf_bignum(key, len, &modulus, &exponent))
431 BN_free(modulus);
437 rsa->n = modulus;
442 if (!RSA_set0_key(rsa, modulus, exponent, NULL)) {
444 BN_free(modulus);
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/
int128.d 178 Cent modulus;
179 divmod(this.data, op2.data, modulus);
180 return Int128(modulus);
  /src/crypto/external/apache2/openssl/dist/fuzz/
ml-dsa.c 86 uint16_t modulus = 6; local
104 modulus = 3;
110 switch (keysize % modulus) {
ml-kem.c 66 uint16_t modulus = 6; local
85 modulus = 3;
91 switch (keysize % modulus) {
  /src/crypto/external/cpl/trousers/dist/src/tspi/daa/
daa_structs.c 433 bi_mod_exp(pk_internal->capitalSprime, pk_internal->capitalS, bi_tmp, pk_internal->modulus);
442 create_DAA_PK(const bi_ptr modulus,
459 pk_internal->modulus = modulus;
491 BI_SAVE( pk_internal->modulus, file);
520 pk_internal->modulus = bi_new_ptr();
521 BI_LOAD( pk_internal->modulus, file);
556 DUMP_BI( pk_internal->modulus);
598 bi_2_byte_array( &result[index], length, pk->modulus);
672 STORE_DAA_PK_BI( modulus, daa_alloc, param_alloc)
    [all...]

Completed in 87 milliseconds

1 2 3 4 5