| /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/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/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/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/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/dist/libstdc++-v3/include/bits/ |
| stl_function.h | 172 struct modulus; 225 struct modulus : public binary_function<_Tp, _Tp, _Tp> struct in inherits:binary_function 306 struct modulus<void> struct
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/ |
| random.h | 67 // Dispatch based on modulus value to prevent divide-by-zero compile-time 308 * @p __m is 0, the modulus @p __m used is 328 /** The modulus. */ 329 static const _UIntType modulus = __m; 693 static const _IntType modulus = __m; member in class:subtract_with_carry 759 { return this->modulus - 1; }
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/ |
| stl_function.h | 172 struct modulus; 225 struct modulus : public binary_function<_Tp, _Tp, _Tp> struct in inherits:binary_function 309 struct modulus<void> struct
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/tr1/ |
| random.h | 67 // Dispatch based on modulus value to prevent divide-by-zero compile-time 345 * @p __m is 0, the modulus @p __m used is 365 /** The modulus. */ 366 static const _UIntType modulus = __m; member in class:linear_congruential 730 static const _IntType modulus = __m; member in class:subtract_with_carry 796 { return this->modulus - 1; }
|
| /src/crypto/external/cpl/trousers/dist/src/include/daa/ |
| daa_structs.h | 130 bi_ptr modulus; member in struct:tdTSS_DAA_PK_internal 144 // (capitalS ^ ( 1 << DAA_PARAM_SIZE_SPLIT_EXPONENT)) % modulus 149 const bi_ptr 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);
|
| platform.c | 379 bi_2_nbin1( &length1, buffer1, pk_internal->modulus); 472 BYTE *modulus, stage, *buf; local 532 if ((result = obj_rsakey_get_modulus(issuerAuthPKs[i], &modulus_length, &modulus))) 538 modulus_length, modulus, 0, NULL, 543 modulus_length, modulus, 551 free_tspi(tspContext, modulus); 569 if ((result = obj_daaissuerkey_get_modulus(hIssuerKey, &modulus_length, &modulus))) { 579 free_tspi(tspContext, modulus); 598 bi_2_nbin1( &length1, buffer1, pk_internal->modulus); 604 modulus_length, modulus, &ownerAuth [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| pkcs11rsa_link.c | 1301 CK_BYTE *exponent = NULL, *modulus = NULL; local 1316 modulus = (CK_BYTE *)attr->pValue; 1321 REQUIRE((exponent != NULL) && (modulus != NULL)); 1346 memmove(r.base, modulus, mod_bytes); 1358 CK_BYTE *exponent = NULL, *modulus = NULL; local 1392 modulus = r.base; 1395 ret = pk11_numbits(modulus, mod_bytes, &bits); 1409 memmove(attr[0].pValue, modulus, mod_bytes); 1430 CK_ATTRIBUTE *modulus = NULL, *exponent = NULL; local 1453 modulus = attr [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/hx509/ |
| softp11.c | 373 CK_BYTE *modulus = NULL; local 386 "rsa-modulus"); 392 modulus = malloc(modulus_len); 393 BN_bn2bin(num, modulus); 396 add_object_attribute(o, 0, CKA_MODULUS, modulus, modulus_len); 400 free(modulus);
|
| /src/external/bsd/ntp/dist/util/ |
| ntp-keygen.c | 67 * These cryptographic routines are characterized by the prime modulus 125 #define PLEN 512 /* default prime modulus size (bits) */ 126 #define ILEN 512 /* default identity modulus size (bits) */ 182 u_int modulus = PLEN; /* prime modulus size (bits) */ variable 183 u_int modulus2 = ILEN; /* identity modulus size (bits) */ 425 if (HAVE_OPT( MODULUS )) 426 modulus = OPT_VALUE_MODULUS; 1019 fprintf(stderr, "Generating RSA keys (%d bits)...\n", modulus); 1020 rsa = genRsaKeyPair(modulus, _UC("RSA")) [all...] |
| /src/external/bsd/unbound/dist/validator/ |
| val_secalgo.c | 1185 SECItem modulus = {siBuffer, NULL, 0}; local 1208 modulus.data = key+offset; 1209 modulus.len = (len - offset); 1214 if(SECITEM_CopyItem(pk->arena, &pk->u.rsa.modulus, &modulus)) {
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/ |
| bitmap_allocator.h | 713 modulus = _BSize % _AlignSize, enumerator in enum:bitmap_allocator::aligned_size::__anon14742 714 value = _BSize + (modulus ? _AlignSize - (modulus) : 0)
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/ |
| bitmap_allocator.h | 711 modulus = _BSize % _AlignSize, enumerator in enum:bitmap_allocator::aligned_size::__anon17133 712 value = _BSize + (modulus ? _AlignSize - (modulus) : 0)
|
| /src/sys/net/ |
| bpfjit.c | 1133 modulus(sljit_uw x, sljit_uw y) function 1201 SLJIT_FUNC_OFFSET(modulus));
|