Home
last modified time | relevance | path

Searched refs:keyData (Results 1 – 7 of 7) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DKeyGeneratorImpl.java74 byte[] keyData = new byte[keyBytes]; in doKeyGeneration()
75 secureRandom.nextBytes(keyData); in doKeyGeneration()
76 return keyData; in doKeyGeneration()
139 byte[] keyData = new byte[DESedeKeySpec.DES_EDE_KEY_LEN]; in doKeyGeneration()
140 secureRandom.nextBytes(keyData); in doKeyGeneration()
142 for (int i = 0; i < keyData.length; i++) { in doKeyGeneration()
143 if (Integer.bitCount(keyData[i]) % 2 == 0) { in doKeyGeneration()
144 keyData[i] = (byte) (keyData[i] ^ 1); in doKeyGeneration()
149 System.arraycopy(keyData, 0, keyData, 16, 8); in doKeyGeneration()
151 return keyData; in doKeyGeneration()
/external/icu/icu4c/source/common/
Duloc_keytype.cpp75 LocExtKeyData* keyData = (LocExtKeyData*)obj; in uloc_deleteKeyDataEntry() local
76 if (keyData->typeMap != NULL) { in uloc_deleteKeyDataEntry()
77 uhash_close(keyData->typeMap); in uloc_deleteKeyDataEntry()
79 uprv_free(keyData); in uloc_deleteKeyDataEntry()
383 LocExtKeyData* keyData = (LocExtKeyData*)uprv_malloc(sizeof(LocExtKeyData)); in initFromResourceBundle() local
384 if (keyData == NULL) { in initFromResourceBundle()
388 keyData->bcpId = bcpKeyId; in initFromResourceBundle()
389 keyData->legacyId = legacyKeyId; in initFromResourceBundle()
390 keyData->specialTypes = specialTypes; in initFromResourceBundle()
391 keyData->typeMap = typeDataMap; in initFromResourceBundle()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DSubjectPublicKeyInfo.java26 private DERBitString keyData; field in SubjectPublicKeyInfo
55 this.keyData = new DERBitString(publicKey); in SubjectPublicKeyInfo()
63 this.keyData = new DERBitString(publicKey); in SubjectPublicKeyInfo()
82 this.keyData = DERBitString.getInstance(e.nextElement()); in SubjectPublicKeyInfo()
110 ASN1InputStream aIn = new ASN1InputStream(keyData.getOctets()); in parsePublicKey()
127 ASN1InputStream aIn = new ASN1InputStream(keyData.getOctets()); in getPublicKey()
139 return keyData; in getPublicKeyData()
155 v.add(keyData); in toASN1Primitive()
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DKeyTypeData.java125 KeyData keyData = KEYMAP.get(key); in toBcpKey() local
126 if (keyData != null) { in toBcpKey()
127 return keyData.bcpId; in toBcpKey()
134 KeyData keyData = KEYMAP.get(key); in toLegacyKey() local
135 if (keyData != null) { in toLegacyKey()
136 return keyData.legacyId; in toLegacyKey()
154 KeyData keyData = KEYMAP.get(key); in toBcpType() local
155 if (keyData != null) { in toBcpType()
159 Type t = keyData.typeMap.get(type); in toBcpType()
163 if (keyData.specialTypes != null) { in toBcpType()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DKeyTypeData.java123 KeyData keyData = KEYMAP.get(key); in toBcpKey() local
124 if (keyData != null) { in toBcpKey()
125 return keyData.bcpId; in toBcpKey()
132 KeyData keyData = KEYMAP.get(key); in toLegacyKey() local
133 if (keyData != null) { in toLegacyKey()
134 return keyData.legacyId; in toLegacyKey()
152 KeyData keyData = KEYMAP.get(key); in toBcpType() local
153 if (keyData != null) { in toBcpType()
157 Type t = keyData.typeMap.get(type); in toBcpType()
161 if (keyData.specialTypes != null) { in toBcpType()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DKeyUtil.java11 …blic static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyData) in getEncodedSubjectPublicKeyInfo() argument
15 return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(algId, keyData)); in getEncodedSubjectPublicKeyInfo()
23 public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, byte[] keyData) in getEncodedSubjectPublicKeyInfo() argument
27 return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(algId, keyData)); in getEncodedSubjectPublicKeyInfo()
/external/python/cpython2/Mac/Modules/ae/
D_AEmodule.c1321 AEDesc keyData; in AE_AECallObjectAccessor() local
1331 AEDesc_Convert, &keyData)) in AE_AECallObjectAccessor()
1337 &keyData, in AE_AECallObjectAccessor()