Home
last modified time | relevance | path

Searched refs:oidSize (Results 1 – 25 of 26) sorted by relevance

12

/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/pqc/crypto/xmss/
H A DXMSSMTPublicKeyParameters.java33 int oidSize = 4; in XMSSMTPublicKeyParameters() local
45 else if (publicKey.length == oidSize + rootSize + publicSeedSize) in XMSSMTPublicKeyParameters()
48 position += oidSize; in XMSSMTPublicKeyParameters()
151 int oidSize = 4; in toByteArray() local
159 out = new byte[oidSize + rootSize + publicSeedSize]; in toByteArray()
161 position += oidSize; in toByteArray()
H A DXMSSPublicKeyParameters.java37 int oidSize = 4; in XMSSPublicKeyParameters() local
50 else if (publicKey.length == oidSize + rootSize + publicSeedSize) in XMSSPublicKeyParameters()
53 position += oidSize; in XMSSPublicKeyParameters()
156 int oidSize = 4; in toByteArray() local
165 out = new byte[oidSize + rootSize + publicSeedSize]; in toByteArray()
167 position += oidSize; in toByteArray()
/dports/emulators/qemu/qemu-6.2.0/roms/skiboot/libstb/tss2/ibmtpm20tss/utils/
H A Drsadecrypt.c393 uint16_t oidSize; in padData() local
425 oidSize = SHA1_DER_SIZE; in padData()
429 oidSize = SHA256_DER_SIZE; in padData()
433 oidSize = SHA384_DER_SIZE; in padData()
437 oidSize = SHA512_DER_SIZE; in padData()
448 memcpy(*buffer + *padLength - digestSize - oidSize, oid, oidSize); in padData()
452 memset(&(*buffer)[2], 0xff, *padLength - 3 - oidSize - digestSize); in padData()
453 (*buffer)[*padLength - oidSize - digestSize - 1] = 0x00; in padData()
/dports/www/firefox-esr/firefox-91.8.0/security/nss/lib/ckfw/capi/
H A Dcrsa.c59 unsigned int oidSize;
66 oid = nss_ckcapi_DERUnwrap(oidTag, oidTagSize, &oidSize, NULL);
68 if (oidSize < 2) {
73 oidStr = nss_ZNEWARRAY(NULL, char, oidSize * 4);
82 oidSize--;
85 while (oidSize--) {
124 unsigned int oidSize;
174 oid = nss_ckcapi_DERUnwrap(algid, size, &oidSize, &hashData);
188 oidStr = nss_ckcapi_GetOidString(oid, oidSize, &error);
/dports/security/ca_root_nss/nss-3.71/nss/lib/ckfw/capi/
H A Dcrsa.c59 unsigned int oidSize; in nss_ckcapi_GetOidString() local
66 oid = nss_ckcapi_DERUnwrap(oidTag, oidTagSize, &oidSize, NULL); in nss_ckcapi_GetOidString()
68 if (oidSize < 2) { in nss_ckcapi_GetOidString()
73 oidStr = nss_ZNEWARRAY(NULL, char, oidSize * 4); in nss_ckcapi_GetOidString()
82 oidSize--; in nss_ckcapi_GetOidString()
85 while (oidSize--) { in nss_ckcapi_GetOidString()
124 unsigned int oidSize; in ckcapi_GetRawHash() local
174 oid = nss_ckcapi_DERUnwrap(algid, size, &oidSize, &hashData); in ckcapi_GetRawHash()
188 oidStr = nss_ckcapi_GetOidString(oid, oidSize, &error); in ckcapi_GetRawHash()
/dports/www/firefox/firefox-99.0/security/nss/lib/ckfw/capi/
H A Dcrsa.c59 unsigned int oidSize; in nss_ckcapi_GetOidString() local
66 oid = nss_ckcapi_DERUnwrap(oidTag, oidTagSize, &oidSize, NULL); in nss_ckcapi_GetOidString()
68 if (oidSize < 2) { in nss_ckcapi_GetOidString()
73 oidStr = nss_ZNEWARRAY(NULL, char, oidSize * 4); in nss_ckcapi_GetOidString()
82 oidSize--; in nss_ckcapi_GetOidString()
85 while (oidSize--) { in nss_ckcapi_GetOidString()
124 unsigned int oidSize; in ckcapi_GetRawHash() local
174 oid = nss_ckcapi_DERUnwrap(algid, size, &oidSize, &hashData); in ckcapi_GetRawHash()
188 oidStr = nss_ckcapi_GetOidString(oid, oidSize, &error); in ckcapi_GetRawHash()
/dports/lang/spidermonkey60/firefox-60.9.0/security/nss/lib/ckfw/capi/
H A Dcrsa.c59 unsigned int oidSize; in nss_ckcapi_GetOidString() local
66 oid = nss_ckcapi_DERUnwrap(oidTag, oidTagSize, &oidSize, NULL); in nss_ckcapi_GetOidString()
68 if (oidSize < 2) { in nss_ckcapi_GetOidString()
73 oidStr = nss_ZNEWARRAY(NULL, char, oidSize * 4); in nss_ckcapi_GetOidString()
82 oidSize--; in nss_ckcapi_GetOidString()
85 while (oidSize--) { in nss_ckcapi_GetOidString()
124 unsigned int oidSize; in ckcapi_GetRawHash() local
174 oid = nss_ckcapi_DERUnwrap(algid, size, &oidSize, &hashData); in ckcapi_GetRawHash()
188 oidStr = nss_ckcapi_GetOidString(oid, oidSize, &error); in ckcapi_GetRawHash()
/dports/www/firefox-legacy/firefox-52.8.0esr/security/nss/lib/ckfw/capi/
H A Dcrsa.c59 unsigned int oidSize; in nss_ckcapi_GetOidString() local
66 oid = nss_ckcapi_DERUnwrap(oidTag, oidTagSize, &oidSize, NULL); in nss_ckcapi_GetOidString()
68 if (oidSize < 2) { in nss_ckcapi_GetOidString()
73 oidStr = nss_ZNEWARRAY(NULL, char, oidSize * 4); in nss_ckcapi_GetOidString()
82 oidSize--; in nss_ckcapi_GetOidString()
85 while (oidSize--) { in nss_ckcapi_GetOidString()
124 unsigned int oidSize; in ckcapi_GetRawHash() local
174 oid = nss_ckcapi_DERUnwrap(algid, size, &oidSize, &hashData); in ckcapi_GetRawHash()
188 oidStr = nss_ckcapi_GetOidString(oid, oidSize, &error); in ckcapi_GetRawHash()
/dports/security/nss/nss-3.76.1/nss/lib/ckfw/capi/
H A Dcrsa.c59 unsigned int oidSize; in nss_ckcapi_GetOidString() local
66 oid = nss_ckcapi_DERUnwrap(oidTag, oidTagSize, &oidSize, NULL); in nss_ckcapi_GetOidString()
68 if (oidSize < 2) { in nss_ckcapi_GetOidString()
73 oidStr = nss_ZNEWARRAY(NULL, char, oidSize * 4); in nss_ckcapi_GetOidString()
82 oidSize--; in nss_ckcapi_GetOidString()
85 while (oidSize--) { in nss_ckcapi_GetOidString()
124 unsigned int oidSize; in ckcapi_GetRawHash() local
174 oid = nss_ckcapi_DERUnwrap(algid, size, &oidSize, &hashData); in ckcapi_GetRawHash()
188 oidStr = nss_ckcapi_GetOidString(oid, oidSize, &error); in ckcapi_GetRawHash()
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/lib/ckfw/capi/
H A Dcrsa.c59 unsigned int oidSize; in nss_ckcapi_GetOidString() local
66 oid = nss_ckcapi_DERUnwrap(oidTag, oidTagSize, &oidSize, NULL); in nss_ckcapi_GetOidString()
68 if (oidSize < 2) { in nss_ckcapi_GetOidString()
73 oidStr = nss_ZNEWARRAY(NULL, char, oidSize * 4); in nss_ckcapi_GetOidString()
82 oidSize--; in nss_ckcapi_GetOidString()
85 while (oidSize--) { in nss_ckcapi_GetOidString()
124 unsigned int oidSize; in ckcapi_GetRawHash() local
174 oid = nss_ckcapi_DERUnwrap(algid, size, &oidSize, &hashData); in ckcapi_GetRawHash()
188 oidStr = nss_ckcapi_GetOidString(oid, oidSize, &error); in ckcapi_GetRawHash()
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/lib/ckfw/capi/
H A Dcrsa.c59 unsigned int oidSize; in nss_ckcapi_GetOidString() local
66 oid = nss_ckcapi_DERUnwrap(oidTag, oidTagSize, &oidSize, NULL); in nss_ckcapi_GetOidString()
68 if (oidSize < 2) { in nss_ckcapi_GetOidString()
73 oidStr = nss_ZNEWARRAY(NULL, char, oidSize * 4); in nss_ckcapi_GetOidString()
82 oidSize--; in nss_ckcapi_GetOidString()
85 while (oidSize--) { in nss_ckcapi_GetOidString()
124 unsigned int oidSize; in ckcapi_GetRawHash() local
174 oid = nss_ckcapi_DERUnwrap(algid, size, &oidSize, &hashData); in ckcapi_GetRawHash()
188 oidStr = nss_ckcapi_GetOidString(oid, oidSize, &error); in ckcapi_GetRawHash()
/dports/security/cryptlib/cryptlib-3.4.3/enc_dec/
H A Dasn1_algid.c635 oidSize = sizeofOID( oid ); in writeCryptContextAlgoID()
636 ENSURES_S( oidSize >= MIN_OID_SIZE && oidSize <= MAX_OID_SIZE ); in writeCryptContextAlgoID()
653 writeSequence( stream, oidSize + paramSize ); in writeCryptContextAlgoID()
654 swrite( stream, oid, oidSize ); in writeCryptContextAlgoID()
669 writeSequence( stream, oidSize + \ in writeCryptContextAlgoID()
671 swrite( stream, oid, oidSize ); in writeCryptContextAlgoID()
681 writeSequence( stream, oidSize + \ in writeCryptContextAlgoID()
683 swrite( stream, oid, oidSize ); in writeCryptContextAlgoID()
697 swrite( stream, oid, oidSize ); in writeCryptContextAlgoID()
735 writeSequence( stream, oidSize + \ in writeCryptContextAlgoID()
[all …]
/dports/net/kitinerary/kitinerary-21.12.3/src/lib/vdv/
H A Dvdvdata_p.h68 inline uint8_t oidSize() const in oidSize() function
75 return sizeof(VdvCertificateKey) + oidSize() - 1; in headerSize()
H A Dvdvcertificate.cpp88 return (&k->oidBegin) + k->oidSize(); in modulus()
/dports/print/hplip/hplip-3.20.6/io/hpmud/
H A Dpml.c49 static int PmlOidToHex(const char *szoid, unsigned char *oid, int oidSize) in PmlOidToHex() argument
59 while (i < oidSize) in PmlOidToHex()
79 static int SnmpToPml(const char *snmp_oid, unsigned char *oid, int oidSize) in SnmpToPml() argument
90 len += PmlOidToHex(&snmp_oid[sizeof(hp_pml_mib_prefix)], &oid[0], oidSize); in SnmpToPml()
98 len += PmlOidToHex(&snmp_oid[sizeof(standard_printer_mib_prefix)], &oid[1], oidSize); in SnmpToPml()
105 len += PmlOidToHex(&snmp_oid[sizeof(host_resource_mib_prefix)], &oid[1], oidSize); in SnmpToPml()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Mono.Btls/
H A DMonoBtlsX509.cs332 int oidSize = 256; in GetPublicKeyAsn1()
338 Handle.DangerousGetHandle (), oidData, oidSize, in GetPublicKeyAsn1()
361 int oidSize = 256; in GetPublicKeyParameters()
367 Handle.DangerousGetHandle (), oidData, oidSize, in GetPublicKeyParameters()
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/commit/
H A Dtree_entries_helper.go61 oidSize = sha1.Size const
92 if _, err := io.CopyN(oidBuf, bufReader, oidSize); err != nil {
/dports/devel/gitlab-shell/gitlab-shell-65b8ec55bebd0aea64ac52b9878bafcc2ad992d3/vendor/gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/commit/
H A Dtree_entries_helper.go61 oidSize = sha1.Size
92 if _, err := io.CopyN(oidBuf, bufReader, oidSize); err != nil {
/dports/textproc/gitlab-elasticsearch-indexer/gitlab-elasticsearch-indexer-ef1440548effec15831eda2d246dacc43233cefb/vendor/gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/commit/
H A Dtree_entries_helper.go61 oidSize = sha1.Size const
92 if _, err := io.CopyN(oidBuf, bufReader, oidSize); err != nil {
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.IdentityModel/System/IdentityModel/Selectors/
H A DX509CertificateChain.cs336 int oidSize = 0; in CopyOidsToUnmanagedMemory()
338 oidSize += (oidStr.Length + 1); in CopyOidsToUnmanagedMemory()
340 safeAllocHandle = SafeHGlobalHandle.AllocHGlobal(ptrSize + oidSize); in CopyOidsToUnmanagedMemory()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/security/system/security/cryptography/x509/
H A Dx509utils.cs479 int oidSize = 0; in CopyOidsToUnmanagedMemory()
481 oidSize += (oidStr.Length + 1); in CopyOidsToUnmanagedMemory()
483 … safeLocalAllocHandle = CAPI.LocalAlloc(CAPI.LPTR, new IntPtr((uint)ptrSize + (uint)oidSize)); in CopyOidsToUnmanagedMemory()
/dports/security/cryptlib/cryptlib-3.4.3/context/
H A Dkey_wr.c203 int fieldSize DUMMY_INIT, oidSize DUMMY_INIT, encodedPointSize, totalSize; in writeEccSubjectPublicKey()
220 status = oidSize = sizeofECCOID( eccKey->curveType ); in writeEccSubjectPublicKey()
239 oidSize + ( int ) sizeofObject( encodedPointSize + 1 ) ); in writeEccSubjectPublicKey()
245 writeAlgoIDparam( stream, CRYPT_ALGO_ECDSA, oidSize ); in writeEccSubjectPublicKey()
/dports/security/cryptlib/cryptlib-3.4.3/device/
H A Dpkcs11_pkc.c2060 int oidSize DUMMY_INIT, spkiSize, encodedPointSize DUMMY_INIT; in ecdsaInitKey()
2073 oidSize = stell( &stream ); in ecdsaInitKey()
2123 setTemplate( publicKeyTemplate, CKA_EC_PARAMS, oidBuffer, oidSize ); in ecdsaInitKey()
2129 setTemplate( privateKeyTemplate, CKA_EC_PARAMS, oidBuffer, oidSize ); in ecdsaInitKey()
2206 int oidSize DUMMY_INIT, cryptStatus;
2220 oidSize = stell( &stream );
2224 setTemplate( publicKeyTemplate, CKA_EC_PARAMS, oidBuffer, oidSize );
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/columnstore/columnstore/versioning/BRM/
H A Ddbrm.cpp1907 uint32_t oidSize = oids.size(); in deletePartition() local
1908 command << oidSize; in deletePartition()
1910 for ( unsigned i = 0; i < oidSize; i++) in deletePartition()
1966 uint32_t oidSize = oids.size(); in markPartitionForDeletion() local
1967 command << oidSize; in markPartitionForDeletion()
1969 for ( unsigned i = 0; i < oidSize; i++) in markPartitionForDeletion()
2073 uint32_t oidSize = oids.size(); in restorePartition() local
2074 command << oidSize; in restorePartition()
2076 for ( unsigned i = 0; i < oidSize; i++) in restorePartition()
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/columnstore/columnstore/versioning/BRM/
H A Ddbrm.cpp1907 uint32_t oidSize = oids.size(); in deletePartition() local
1908 command << oidSize; in deletePartition()
1910 for ( unsigned i = 0; i < oidSize; i++) in deletePartition()
1966 uint32_t oidSize = oids.size(); in markPartitionForDeletion() local
1967 command << oidSize; in markPartitionForDeletion()
1969 for ( unsigned i = 0; i < oidSize; i++) in markPartitionForDeletion()
2073 uint32_t oidSize = oids.size(); in restorePartition() local
2074 command << oidSize; in restorePartition()
2076 for ( unsigned i = 0; i < oidSize; i++) in restorePartition()

12