HomeSort by relevance Sort by last modified time
    Searched refs:modulus (Results 26 - 50 of 221) sorted by null

12 3 4 5 6 7 8 9

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
RSAPrivateKey.java 18 private BigInteger modulus; field in class:RSAPrivateKey
52 BigInteger modulus,
62 this.modulus = modulus;
84 modulus = ((ASN1Integer)e.nextElement()).getValue();
106 return modulus;
149 * modulus INTEGER, -- n
RSAPrivateKeyStructure.java 21 private BigInteger modulus; field in class:RSAPrivateKeyStructure
54 BigInteger modulus,
64 this.modulus = modulus;
86 modulus = ((ASN1Integer)e.nextElement()).getValue();
108 return modulus;
151 * modulus INTEGER, -- n
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
BCRSAPublicKey.java 27 private BigInteger modulus; field in class:BCRSAPublicKey
35 this.modulus = key.getModulus();
43 this.modulus = spec.getModulus();
51 this.modulus = key.getModulus();
68 this.modulus = pubKey.getModulus();
78 * return the modulus.
80 * @return the modulus.
84 return modulus;
141 buf.append(" modulus: ").append(this.getModulus().toString(16)).append(nl);
BCRSAPrivateCrtKey.java 59 this.modulus = spec.getModulus();
77 this.modulus = key.getModulus();
103 this.modulus = key.getModulus();
231 buf.append(" modulus: ").append(this.getModulus().toString(16)).append(nl);
  /external/vboot_reference/utility/
dumpRSAPublicKey.c 24 int modulus = BN_num_bits(key->n); local
31 if (modulus != 1024 && modulus != 2048 && modulus != 4096
32 && modulus != 8192) {
33 fprintf(stderr, "ERROR: Unknown modulus length = %d.\n", modulus);
97 /* Write out modulus as little endian array of integers. */
  /cts/tests/tests/keystore/src/android/keystore/cts/
RSACipherTest.java 51 BigInteger modulus = ((RSAKey) publicKey).getModulus(); local
52 int modulusSizeBytes = (modulus.bitLength() + 7) / 8;
84 BigInteger modulus = ((RSAKey) publicKey).getModulus(); local
86 // Plaintext is one smaller than the modulus
88 TestUtils.getBigIntegerMagnitudeBytes(modulus.subtract(BigInteger.ONE));
111 BigInteger modulus = ((RSAKey) publicKey).getModulus(); local
113 // Plaintext is exactly the modulus
114 byte[] plaintext = TestUtils.getBigIntegerMagnitudeBytes(modulus);
139 BigInteger modulus = ((RSAKey) publicKey).getModulus(); local
141 // Plaintext is one larger than the modulus
169 BigInteger modulus = ((RSAKey) publicKey).getModulus(); local
201 BigInteger modulus = ((RSAKey) privateKey).getModulus(); local
    [all...]
  /external/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/
values.pass.cpp 19 // static constexpr result_type modulus = m;
39 static_assert((LCE::modulus == m), "");
45 where(LCE::modulus);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.eng/rand.eng.lcong/
values.pass.cpp 19 // static constexpr result_type modulus = m;
39 static_assert((LCE::modulus == m), "");
45 where(LCE::modulus);
  /prebuilts/go/darwin-x86/src/math/cmplx/
abs.go 11 // Abs returns the absolute value (also called the modulus) of x.
pow.go 65 modulus := Abs(x)
66 if modulus == 0 {
69 r := math.Pow(modulus, real(y))
74 theta += imag(y) * math.Log(modulus)
  /prebuilts/go/linux-x86/src/math/cmplx/
abs.go 11 // Abs returns the absolute value (also called the modulus) of x.
pow.go 65 modulus := Abs(x)
66 if modulus == 0 {
69 r := math.Pow(modulus, real(y))
74 theta += imag(y) * math.Log(modulus)
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLRSAPrivateCrtKey.java 58 BigInteger modulus = rsaKeySpec.getModulus(); local
61 if (modulus == null) {
62 throw new InvalidKeySpecException("modulus == null");
69 * OpenSSL uses the public modulus to do RSA blinding. If
70 * the public modulus is not available, the call to
82 modulus.toByteArray(),
104 BigInteger modulus = rsaPrivateKey.getModulus(); local
107 if (modulus == null) {
108 throw new InvalidKeyException("modulus == null");
115 * OpenSSL uses the public modulus to do RSA blinding. I
    [all...]
OpenSSLRSAKeyFactory.java 181 BigInteger modulus = rsaKey.getModulus(); local
191 return engineGeneratePrivate(new RSAPrivateCrtKeySpec(modulus, publicExponent,
199 BigInteger modulus = rsaKey.getModulus(); local
203 return engineGeneratePrivate(new RSAPrivateKeySpec(modulus, privateExponent));
  /external/pdfium/xfa/src/fxbarcode/pdf417/
BC_PDF417ECModulusGF.h 13 CBC_PDF417ECModulusGF(int32_t modulus, int32_t generator, int32_t& e);
  /system/tpm/trunks/
trunks_client_test.h 114 // Generates an RSA key pair in software. The |modulus| and |prime_factor|
118 void GenerateRSAKeyPair(std::string* modulus,
  /external/sl4a/Common/src/org/apache/commons/codec/binary/
Base64Codec.java 200 private int modulus; field in class:Base64Codec
463 switch (modulus) {
493 modulus = (++modulus) % 3;
499 if (0 == modulus) {
558 modulus = (++modulus) % 4;
560 if (modulus == 0) {
573 if (eof && modulus != 0) {
575 switch (modulus) {
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
Base64Encoder.java 65 int modulus = length % 3; local
66 int dataLength = (length - modulus);
87 switch (modulus)
116 return (dataLength / 3) * 4 + ((modulus == 0) ? 0 : 4);
  /device/google/contexthub/util/nanoapp_sign/
nanoapp_sign.c 120 uint32_t modulus[RSA_LIMBS]; member in struct:RsaData
136 memcpy(rsa->modulus, sigPack + RSA_BYTES, RSA_BYTES);
139 rsaResult = rsaPubOp(&rsa->state, rsa->num, rsa->modulus);
232 memcpy(masterPubKey, rsa->modulus, RSA_BYTES);
270 if (memcmp(masterPubKey, rsa->modulus, RSA_BYTES) == 0) {
384 rsaResult = rsaPrivOp(&rsa->state, rsa->num, rsa->exponent, rsa->modulus);
395 ret = (fwrite(rsa->modulus, 1, RSA_BYTES, out) == RSA_BYTES) ? 0 : 2;
512 if (!readFile(rsa.modulus, sizeof(rsa.modulus), keyPubFile))
515 printHashRev(stderr, "RSA modulus", rsa.modulus, RSA_LIMBS)
    [all...]
  /external/ImageMagick/MagickCore/
fourier.c 95 modulus;
377 % const MagickBooleanType modulus,ExceptionInfo *exception)
383 % o modulus: if true, return as transform as a magnitude / phase pair
558 if (fourier_info->modulus != MagickFalse)
815 if (fourier_info->modulus != MagickFalse)
836 const PixelChannel channel,const MagickBooleanType modulus,
864 fourier_info.modulus=modulus;
894 const MagickBooleanType modulus,ExceptionInfo *exception)
901 (void) modulus;
93 modulus; member in struct:_FourierInfo
    [all...]
  /system/tpm/attestation/server/
pkcs11_key_store.cc 262 // Extract the modulus from the public key.
272 std::string modulus(BN_num_bytes(public_key.get()->n), 0);
274 string_as_array(&modulus)));
276 LOG(ERROR) << "Pkcs11KeyStore: Failed to extract public key modulus.";
279 modulus.resize(length);
286 std::string id = Sha1(modulus);
288 CK_ULONG modulus_bits = modulus.size() * 8;
305 {CKA_MODULUS, string_as_array(&modulus), modulus.size()}
335 {CKA_MODULUS, string_as_array(&modulus), modulus.size()}
    [all...]
  /bootable/recovery/
verifier.cpp 310 // parameter derived from the modulus and can be used to speed up
329 // Read the modulus.
330 std::unique_ptr<uint32_t[]> modulus(new uint32_t[key_len_words]);
331 if (fscanf(file, " , { %u", &modulus[0]) != 1) {
335 if (fscanf(file, " , %u", &modulus[i]) != 1) {
342 std::reverse((uint8_t*)modulus.get(),
343 (uint8_t*)(modulus.get() + key_len_words));
366 key->n = BN_bin2bn((uint8_t*)modulus.get(),
  /external/ImageMagick/www/api/
fourier.php 96 const MagickBooleanType modulus,ExceptionInfo *exception)
110 <dt>modulus</dt>
127 const Image *phase_image,const MagickBooleanType modulus,
146 <dt>modulus</dt>
  /hardware/qcom/keymaster/
keymaster_qcom.h 57 uint8_t modulus[KM_KEY_SIZE_MAX]; member in struct:qcom_km_key_blob
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JCERSAPrivateCrtKey.java 59 this.modulus = spec.getModulus();
77 this.modulus = key.getModulus();
103 this.modulus = key.getModulus();
231 buf.append(" modulus: ").append(this.getModulus().toString(16)).append(nl);

Completed in 2290 milliseconds

12 3 4 5 6 7 8 9