/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/ |
D | PKCS5S1ParametersGenerator.java | 63 int keySize) in generateDerivedParameters() argument 65 keySize = keySize / 8; in generateDerivedParameters() 67 if (keySize > digest.getDigestSize()) in generateDerivedParameters() 70 "Can't generate a derived key " + keySize + " bytes long."); in generateDerivedParameters() 75 return new KeyParameter(dKey, 0, keySize); in generateDerivedParameters() 89 int keySize, in generateDerivedParameters() argument 92 keySize = keySize / 8; in generateDerivedParameters() 95 if ((keySize + ivSize) > digest.getDigestSize()) in generateDerivedParameters() 98 "Can't generate a derived key " + (keySize + ivSize) + " bytes long."); in generateDerivedParameters() 103 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), dKey, keySize, ivSize); in generateDerivedParameters() [all …]
|
D | OpenSSLPBEParametersGenerator.java | 87 int keySize) in generateDerivedParameters() argument 89 keySize = keySize / 8; in generateDerivedParameters() 91 byte[] dKey = generateDerivedKey(keySize); in generateDerivedParameters() 93 return new KeyParameter(dKey, 0, keySize); in generateDerivedParameters() 107 int keySize, in generateDerivedParameters() argument 110 keySize = keySize / 8; in generateDerivedParameters() 113 byte[] dKey = generateDerivedKey(keySize + ivSize); in generateDerivedParameters() 115 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), dKey, keySize, ivSize); in generateDerivedParameters() 127 int keySize) in generateDerivedMacParameters() argument 129 return generateDerivedParameters(keySize); in generateDerivedMacParameters()
|
D | PKCS5S2ParametersGenerator.java | 109 int keySize) in generateDerivedParameters() argument 111 keySize = keySize / 8; in generateDerivedParameters() 113 byte[] dKey = generateDerivedKey(keySize); in generateDerivedParameters() 115 return new KeyParameter(dKey, 0, keySize); in generateDerivedParameters() 128 int keySize, in generateDerivedParameters() argument 131 keySize = keySize / 8; in generateDerivedParameters() 134 byte[] dKey = generateDerivedKey(keySize + ivSize); in generateDerivedParameters() 136 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), dKey, keySize, ivSize); in generateDerivedParameters() 147 int keySize) in generateDerivedMacParameters() argument 149 return generateDerivedParameters(keySize); in generateDerivedMacParameters()
|
D | PKCS12ParametersGenerator.java | 173 int keySize) in generateDerivedParameters() argument 175 keySize = keySize / 8; in generateDerivedParameters() 177 byte[] dKey = generateDerivedKey(KEY_MATERIAL, keySize); in generateDerivedParameters() 179 return new KeyParameter(dKey, 0, keySize); in generateDerivedParameters() 192 int keySize, in generateDerivedParameters() argument 195 keySize = keySize / 8; in generateDerivedParameters() 198 byte[] dKey = generateDerivedKey(KEY_MATERIAL, keySize); in generateDerivedParameters() 202 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), iv, 0, ivSize); in generateDerivedParameters() 213 int keySize) in generateDerivedMacParameters() argument 215 keySize = keySize / 8; in generateDerivedMacParameters() [all …]
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
D | JCESecretKeyFactory.java | 111 private int keySize; field in JCESecretKeyFactory.PBEKeyFactory 120 int keySize, in PBEKeyFactory() argument 128 this.keySize = keySize; in PBEKeyFactory() 143 … return new JCEPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 148 param = Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); in engineGenerateSecret() 152 param = Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); in engineGenerateSecret() 155 … return new JCEPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret() 168 private int keySize; field in JCESecretKeyFactory.DESPBEKeyFactory 177 int keySize, in DESPBEKeyFactory() argument 185 this.keySize = keySize; in DESPBEKeyFactory() [all …]
|
D | JCEPBEKey.java | 19 int keySize; field in JCEPBEKey 33 int keySize, in JCEPBEKey() argument 42 this.keySize = keySize; in JCEPBEKey() 100 return keySize; in getKeySize()
|
D | JCEKeyGenerator.java | 20 protected int keySize; field in JCEKeyGenerator 32 this.keySize = this.defaultKeySize = defaultKeySize; in JCEKeyGenerator() 55 int keySize, in engineInit() argument 65 engine.init(new KeyGenerationParameters(random, keySize)); in engineInit()
|
D | PBE.java | 222 int keySize, in makePBEParameters() argument 242 param = generator.generateDerivedParameters(keySize, ivSize); in makePBEParameters() 246 param = generator.generateDerivedParameters(keySize); in makePBEParameters() 266 int keySize) in makePBEMacParameters() argument 283 param = generator.generateDerivedMacParameters(keySize); in makePBEMacParameters()
|
D | JCEMac.java | 58 private int keySize = 160; field in JCEMac 70 int keySize) in JCEMac() argument 75 this.keySize = keySize; in JCEMac()
|
/external/webkit/Source/WebCore/platform/mac/ |
D | SSLKeyGeneratorMac.cpp | 47 UInt32 keySize; in signedPublicKeyAndChallengeString() local 50 keySize = 2048; in signedPublicKeyAndChallengeString() 53 keySize = 1024; in signedPublicKeyAndChallengeString() 56 keySize = 512; in signedPublicKeyAndChallengeString() 65 …RetainPtr<CFStringRef> result(AdoptCF, wkSignedPublicKeyAndChallengeString(keySize, challengeStrin… in signedPublicKeyAndChallengeString()
|
D | WebCoreSystemInterface.h | 120 extern CFStringRef (*wkSignedPublicKeyAndChallengeString)(unsigned keySize, CFStringRef challenge, …
|
D | WebCoreSystemInterface.mm | 51 CFStringRef (*wkSignedPublicKeyAndChallengeString)(unsigned keySize, CFStringRef challenge, CFStrin…
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/ |
D | PBEParametersGenerator.java | 75 public abstract CipherParameters generateDerivedParameters(int keySize); in generateDerivedParameters() argument 85 public abstract CipherParameters generateDerivedParameters(int keySize, int ivSize); in generateDerivedParameters() argument 94 public abstract CipherParameters generateDerivedMacParameters(int keySize); in generateDerivedMacParameters() argument
|
/external/icu4c/samples/legacy/ |
D | newcol.cpp | 70 int32_t keySize = 0; in test_current() local 77 keySize = getSortKey_current("ja", data[i], -1, keys[i], 32); in test_current() 78 fprintf(stderr, "For i=%d, size of sortkey is %d\n", i, keySize); in test_current()
|
D | oldcol.cpp | 86 int32_t keySize = 0; in test_legacy() local 94 keySize = getSortKey_legacy("ja", data[i], -1, keys[i], 32); in test_legacy() 95 fprintf(stderr, "For i=%d, size of sortkey is %d\n", i, keySize); in test_legacy()
|
D | legacy.cpp | 49 void printKeys(const char *comment, uint8_t keys[][32], int32_t keySize) { in printKeys() argument 53 for(i = 0; i<keySize; i++) { in printKeys()
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
D | MyKeyPairGenerator2.java | 35 int keySize; field in MyKeyPairGenerator2 59 keySize = keysize; in initialize()
|
D | MyKeyPairGenerator1.java | 39 public int keySize; field in MyKeyPairGenerator1 68 keySize = keysize; in initialize()
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/symmetric/ |
D | AES.java | 112 public KeyGen(int keySize) in KeyGen() argument 114 super("AES", keySize, new CipherKeyGenerator()); in KeyGen()
|
D | DESede.java | 154 int keySize, in engineInit() argument 157 super.engineInit(keySize, random); in engineInit()
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/ |
D | BlockCipherFactory.java | 26 public CipherEntry(String type, int blockSize, int keySize, String cipherClass) in CipherEntry() argument 30 this.keysize = keySize; in CipherEntry()
|
/external/dropbear/libtomcrypt/notes/ |
D | tech0006.txt | 65 keySize INTEGER, -- Curve size (in bits) divided by eight 73 keySize INTEGER, -- Curve size (in bits) divided by eight
|
/external/webkit/Source/WebKit/win/ |
D | WebURLResponse.cpp | 441 DWORD keySize = sizeof(extension)/sizeof(extension[0]); in suggestedFileExtension() local 442 … err = RegQueryValueEx(subKey, TEXT("Extension"), 0, &keyType, (LPBYTE)extension, &keySize); in suggestedFileExtension()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | KeyPairGenerator1Test.java | 421 ((MyKeyPairGenerator1) mKPG).keySize); in testKeyPairGenerator12()
|
/external/webkit/WebKitLibraries/ |
D | WebKitSystemInterface.h | 29 CFStringRef WKSignedPublicKeyAndChallengeString(unsigned keySize, CFStringRef challenge, CFStringRe…
|