Home
last modified time | relevance | path

Searched refs:algoType (Results 1 – 25 of 61) sorted by relevance

123

/dports/security/bzrtp/bzrtp-1.0.6/src/
H A DcryptoUtils.c45 switch(algoType) { in bzrtpUtils_getAvailableCryptoTypes()
86 switch(algoType) { in bzrtpUtils_getMandatoryCryptoTypes()
627 if (memcmp(algoType, "S256", 4) == 0) { in bzrtp_cryptoAlgoTypeStringToInt()
629 } else if (memcmp(algoType, "S384", 4) == 0) { in bzrtp_cryptoAlgoTypeStringToInt()
631 } else if (memcmp(algoType, "N256", 4) == 0) { in bzrtp_cryptoAlgoTypeStringToInt()
633 } else if (memcmp(algoType, "N384", 4) == 0) { in bzrtp_cryptoAlgoTypeStringToInt()
642 if (memcmp(algoType, "AES1", 4) == 0) { in bzrtp_cryptoAlgoTypeStringToInt()
644 } else if (memcmp(algoType, "AES2", 4) == 0) { in bzrtp_cryptoAlgoTypeStringToInt()
661 if (memcmp(algoType, "HS32", 4) == 0) { in bzrtp_cryptoAlgoTypeStringToInt()
676 if (memcmp(algoType, "DH3k", 4) == 0) { in bzrtp_cryptoAlgoTypeStringToInt()
[all …]
/dports/security/libzrtpcppcore/ZRTPCPP-4.6.6/zrtp/
H A DZrtpConfigure.cpp63 return algoType; in getAlgoType()
67 return (algoType != Invalid); in isValid()
73 EnumBase::EnumBase(AlgoTypes a) : algoType(a) { in EnumBase()
108 return algoType; in getAlgoType()
296 return addAlgo(getEnum(algoType), algo); in addAlgo()
306 return getAlgoAt(getEnum(algoType), index); in getAlgoAt()
311 return removeAlgo(getEnum(algoType), algo); in removeAlgo()
316 return getNumConfiguredAlgos(getEnum(algoType)); in getNumConfiguredAlgos()
321 return containsAlgo(getEnum(algoType), algo); in containsAlgo()
326 printConfiguredAlgos(getEnum(algoType)); in printConfiguredAlgos()
[all …]
H A DZrtpCWrapper.cpp428 EnumBase* base = getEnumBase(algoType); in zrtp_addAlgo()
432 return zrtpContext->configure->addAlgo((AlgoTypes)algoType, a); in zrtp_addAlgo()
439 EnumBase* base = getEnumBase(algoType); in zrtp_addAlgoAt()
443 return zrtpContext->configure->addAlgoAt((AlgoTypes)algoType, a, index); in zrtp_addAlgoAt()
450 EnumBase* base = getEnumBase(algoType); in zrtp_removeAlgo()
454 return zrtpContext->configure->removeAlgo((AlgoTypes)algoType, a); in zrtp_removeAlgo()
459 int32_t zrtp_getNumConfiguredAlgos(ZrtpContext* zrtpContext, zrtp_AlgoTypes algoType) in zrtp_getNumConfiguredAlgos() argument
462 return zrtpContext->configure->getNumConfiguredAlgos((AlgoTypes)algoType); in zrtp_getNumConfiguredAlgos()
469 AlgorithmEnum& a = zrtpContext->configure->getAlgoAt((AlgoTypes)algoType, index); in zrtp_getAlgoAt()
477 EnumBase* base = getEnumBase(algoType); in zrtp_containsAlgo()
[all …]
/dports/security/libzrtpcppcore/ZRTPCPP-4.6.6/zrtp/libzrtpcpp/
H A DZrtpConfigure.h162 AlgoTypes algoType;
253 AlgoTypes algoType;
380 int32_t addAlgo(AlgoTypes algoType, AlgorithmEnum& algo);
398 int32_t addAlgoAt(AlgoTypes algoType, AlgorithmEnum& algo, int32_t index);
419 int32_t removeAlgo(AlgoTypes algoType, AlgorithmEnum& algo);
430 int32_t getNumConfiguredAlgos(AlgoTypes algoType);
445 AlgorithmEnum& getAlgoAt(AlgoTypes algoType, int32_t index);
459 bool containsAlgo(AlgoTypes algoType, AlgorithmEnum& algo);
561 std::vector<AlgorithmEnum* >& getEnum(AlgoTypes algoType);
H A DZrtpCWrapper.h1239 int32_t zrtp_addAlgo(ZrtpContext* zrtpContext, Zrtp_AlgoTypes algoType, const char* algo);
1259 …int32_t zrtp_addAlgoAt(ZrtpContext* zrtpContext, Zrtp_AlgoTypes algoType, const char* algo, int32_…
1282 int32_t zrtp_removeAlgo(ZrtpContext* zrtpContext, Zrtp_AlgoTypes algoType, const char* algo);
1295 int32_t zrtp_getNumConfiguredAlgos(ZrtpContext* zrtpContext, Zrtp_AlgoTypes algoType);
1312 const char* zrtp_getAlgoAt(ZrtpContext* zrtpContext, Zrtp_AlgoTypes algoType, int32_t index);
1328 int32_t zrtp_containsAlgo(ZrtpContext* zrtpContext, Zrtp_AlgoTypes algoType, const char* algo);
/dports/security/bzrtp/bzrtp-1.0.6/test/
H A DbzrtpCryptoTest.c120 switch(algoType) { in setHelloMessageAlgo()
178 bzrtp_setSupportedCryptoTypes(zrtpContext, algoType, contextTypes, contextTypesCount); in testAlgoType()
184 setHelloMessageAlgo(helloMessage, algoType, packetTypes, packetTypesCount); in testAlgoType()
188 …retval = compareAllAlgoTypesWithExpectedChangedOnly(zrtpContext->channelContext[0], algoType, expe… in testAlgoType()
195 static int testAlgoTypeWithPacket(uint8_t algoType, uint8_t *types, uint8_t typesCount, uint8_t exp… in testAlgoTypeWithPacket() argument
196 return testAlgoType(algoType, types, typesCount, NULL, 0, expectedType); in testAlgoTypeWithPacket()
200 return testAlgoType(algoType, NULL, 0, types, typesCount, expectedType); in testAlgoTypeWithContext()
359 bzrtp_setSupportedCryptoTypes(zrtpContext, algoType, contextTypes, contextTypesCount); in testAlgoSetterGetter()
360 compareTypesCount = bzrtp_getSupportedCryptoTypes(zrtpContext, algoType, compareTypes); in testAlgoSetterGetter()
435 bzrtp_addMandatoryCryptoTypesIfNeeded(algoType, algoTypes, &algoTypesCount); in testAddMandatoryCryptoTypesIfNeeded()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/
H A DP11SecretKeyFactory.java140 long algoType; in convertKey() local
143 algoType = getKeyType(algo); in convertKey()
145 algoType = getKeyType(algo); in convertKey()
147 if (algoType != keyAlgorithmType) { in convertKey()
148 if ((algoType == PCKK_HMAC) || (algoType == PCKK_SSLMAC)) { in convertKey()
190 p11Key = createKey(token, encoded, algo, algoType, extraAttrs); in convertKey()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/
H A DP11SecretKeyFactory.java140 long algoType; in convertKey() local
143 algoType = getKeyType(algo); in convertKey()
145 algoType = getKeyType(algo); in convertKey()
147 if (algoType != keyAlgorithmType) { in convertKey()
148 if ((algoType == PCKK_HMAC) || (algoType == PCKK_SSLMAC)) { in convertKey()
190 p11Key = createKey(token, encoded, algo, algoType, extraAttrs); in convertKey()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/security/pkcs11/
H A DP11SecretKeyFactory.java129 long algoType; in convertKey() local
132 algoType = getKeyType(algo); in convertKey()
134 algoType = getKeyType(algo); in convertKey()
136 if (algoType != keyAlgorithmType) { in convertKey()
137 if ((algoType == PCKK_HMAC) || (algoType == PCKK_SSLMAC)) { in convertKey()
179 p11Key = createKey(token, encoded, algo, algoType, extraAttrs); in convertKey()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/
H A DP11SecretKeyFactory.java140 long algoType; in convertKey() local
143 algoType = getKeyType(algo); in convertKey()
145 algoType = getKeyType(algo); in convertKey()
147 if (algoType != keyAlgorithmType) { in convertKey()
148 if ((algoType == PCKK_HMAC) || (algoType == PCKK_SSLMAC)) { in convertKey()
190 p11Key = createKey(token, encoded, algo, algoType, extraAttrs); in convertKey()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/
H A DP11SecretKeyFactory.java141 long algoType; in convertKey() local
144 algoType = getKeyType(algo); in convertKey()
146 algoType = getKeyType(algo); in convertKey()
148 if (algoType != keyAlgorithmType) { in convertKey()
149 if ((algoType == PCKK_HMAC) || (algoType == PCKK_SSLMAC)) { in convertKey()
191 p11Key = createKey(token, encoded, algo, algoType, extraAttrs); in convertKey()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/
H A DP11SecretKeyFactory.java140 long algoType; in convertKey() local
143 algoType = getKeyType(algo); in convertKey()
145 algoType = getKeyType(algo); in convertKey()
147 if (algoType != keyAlgorithmType) { in convertKey()
148 if ((algoType == PCKK_HMAC) || (algoType == PCKK_SSLMAC)) { in convertKey()
190 p11Key = createKey(token, encoded, algo, algoType, extraAttrs); in convertKey()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/
H A DP11SecretKeyFactory.java129 long algoType; in convertKey() local
132 algoType = getKeyType(algo); in convertKey()
134 algoType = getKeyType(algo); in convertKey()
136 if (algoType != keyAlgorithmType) { in convertKey()
137 if ((algoType == PCKK_HMAC) || (algoType == PCKK_SSLMAC)) { in convertKey()
175 p11Key = createKey(token, encoded, algo, algoType, extraAttrs); in convertKey()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/
H A DP11SecretKeyFactory.java140 long algoType; in convertKey() local
143 algoType = getKeyType(algo); in convertKey()
145 algoType = getKeyType(algo); in convertKey()
147 if (algoType != keyAlgorithmType) { in convertKey()
148 if ((algoType == PCKK_HMAC) || (algoType == PCKK_SSLMAC)) { in convertKey()
190 p11Key = createKey(token, encoded, algo, algoType, extraAttrs); in convertKey()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/
H A DP11SecretKeyFactory.java140 long algoType; in convertKey() local
143 algoType = getKeyType(algo); in convertKey()
145 algoType = getKeyType(algo); in convertKey()
147 if (algoType != keyAlgorithmType) { in convertKey()
148 if ((algoType == PCKK_HMAC) || (algoType == PCKK_SSLMAC)) { in convertKey()
190 p11Key = createKey(token, encoded, algo, algoType, extraAttrs); in convertKey()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/security/pkcs11/
H A DP11SecretKeyFactory.java129 long algoType; in convertKey() local
132 algoType = getKeyType(algo); in convertKey()
134 algoType = getKeyType(algo); in convertKey()
136 if (algoType != keyAlgorithmType) { in convertKey()
137 if ((algoType == PCKK_HMAC) || (algoType == PCKK_SSLMAC)) { in convertKey()
179 p11Key = createKey(token, encoded, algo, algoType, extraAttrs); in convertKey()
/dports/security/bzrtp/bzrtp-1.0.6/include/
H A DcryptoUtils.h42 uint8_t bzrtpUtils_getAvailableCryptoTypes(uint8_t algoType, uint8_t availableTypes[7]);
172 BZRTP_EXPORT void bzrtp_addMandatoryCryptoTypesIfNeeded(uint8_t algoType, uint8_t algoTypes[7], uin…
182 BZRTP_EXPORT uint8_t bzrtp_cryptoAlgoTypeStringToInt(uint8_t algoType[4], uint8_t algoFamily);
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/dcmseg/libsrc/
H A Dsegment.cc33 const DcmSegTypes::E_SegmentAlgoType algoType, in create() argument
57 result = segment->setSegmentAlgorithm(algoType, algoName, OFTrue); in create()
260 OFCondition DcmSegment::setSegmentAlgorithm(const DcmSegTypes::E_SegmentAlgoType algoType, in setSegmentAlgorithm() argument
264 if (checkValue && algoType == DcmSegTypes::SAT_UNKNOWN) in setSegmentAlgorithm()
272 if (algoType != DcmSegTypes::SAT_MANUAL) in setSegmentAlgorithm()
291 result = m_SegmentDescription.setSegmentAlgorithmType(algoType); in setSegmentAlgorithm()
H A Dsegtypes.cc95 DcmSegTypes::E_SegmentAlgoType DcmSegTypes::OFString2AlgoType(const OFString& algoType) in OFString2AlgoType() argument
97 if (algoType == "AUTOMATIC") in OFString2AlgoType()
99 if (algoType == "MANUAL") in OFString2AlgoType()
101 if (algoType == "SEMIAUTOMATIC") in OFString2AlgoType()
/dports/www/firefox-esr/firefox-91.8.0/security/nss/cmd/lowhashtest/
H A Dlowhashtest.c20 HASH_HashType algoType, unsigned int hashLen,
33 ctx = NSSLOWHASH_NewContext(initCtx, algoType);
136 HASH_HashType algoType, unsigned int hashLen,
144 ctx = NSSLOWHASH_NewContext(initCtx, algoType);
/dports/security/nss/nss-3.76.1/nss/cmd/lowhashtest/
H A Dlowhashtest.c20 HASH_HashType algoType, unsigned int hashLen, in test_long_message() argument
33 ctx = NSSLOWHASH_NewContext(initCtx, algoType); in test_long_message()
136 HASH_HashType algoType, unsigned int hashLen, in testMessageDigest() argument
144 ctx = NSSLOWHASH_NewContext(initCtx, algoType); in testMessageDigest()
/dports/www/firefox-legacy/firefox-52.8.0esr/security/nss/cmd/lowhashtest/
H A Dlowhashtest.c20 HASH_HashType algoType, unsigned int hashLen, in test_long_message() argument
33 ctx = NSSLOWHASH_NewContext(initCtx, algoType); in test_long_message()
136 HASH_HashType algoType, unsigned int hashLen, in testMessageDigest() argument
144 ctx = NSSLOWHASH_NewContext(initCtx, algoType); in testMessageDigest()
/dports/www/firefox/firefox-99.0/security/nss/cmd/lowhashtest/
H A Dlowhashtest.c20 HASH_HashType algoType, unsigned int hashLen, in test_long_message() argument
33 ctx = NSSLOWHASH_NewContext(initCtx, algoType); in test_long_message()
136 HASH_HashType algoType, unsigned int hashLen, in testMessageDigest() argument
144 ctx = NSSLOWHASH_NewContext(initCtx, algoType); in testMessageDigest()
/dports/lang/spidermonkey60/firefox-60.9.0/security/nss/cmd/lowhashtest/
H A Dlowhashtest.c20 HASH_HashType algoType, unsigned int hashLen, in test_long_message() argument
33 ctx = NSSLOWHASH_NewContext(initCtx, algoType); in test_long_message()
136 HASH_HashType algoType, unsigned int hashLen, in testMessageDigest() argument
144 ctx = NSSLOWHASH_NewContext(initCtx, algoType); in testMessageDigest()
/dports/security/ca_root_nss/nss-3.71/nss/cmd/lowhashtest/
H A Dlowhashtest.c20 HASH_HashType algoType, unsigned int hashLen, in test_long_message() argument
33 ctx = NSSLOWHASH_NewContext(initCtx, algoType); in test_long_message()
136 HASH_HashType algoType, unsigned int hashLen, in testMessageDigest() argument
144 ctx = NSSLOWHASH_NewContext(initCtx, algoType); in testMessageDigest()

123