Home
last modified time | relevance | path

Searched refs:userKeyLength (Results 1 – 25 of 29) sorted by relevance

12

/dports/security/cryptlib/cryptlib-3.4.3/context/
H A Dctx_hsha.c206 macInfo->userKeyLength ); in hash()
207 for( i = 0; i < macInfo->userKeyLength; i++ ) in hash()
248 macInfo->userKeyLength = SHA_DIGEST_LENGTH; in initKey()
264 macInfo->userKeyLength = keyLength; in initKey()
273 macInfo->userKeyLength ); in initKey()
274 if( macInfo->userKeyLength < SHA_CBLOCK ) in initKey()
276 memset( hashBuffer + macInfo->userKeyLength, 0, in initKey()
277 SHA_CBLOCK - macInfo->userKeyLength ); in initKey()
H A Dctx_hsha2.c214 macInfo->userKeyLength ); in hash()
215 for( i = 0; i < macInfo->userKeyLength; i++ ) in hash()
257 macInfo->userKeyLength = digestSize; in initKey()
273 macInfo->userKeyLength = keyLength; in initKey()
282 macInfo->userKeyLength ); in initKey()
283 if( macInfo->userKeyLength < SHA256_BLOCK_SIZE ) in initKey()
285 memset( hashBuffer + macInfo->userKeyLength, 0, in initKey()
286 SHA256_BLOCK_SIZE - macInfo->userKeyLength ); in initKey()
H A Dctx_rc2.c401 convInfo->userKeyLength = keyLength; in initKey()
411 if( convInfo->userKeyLength == 14 + bitsToBytes( 40 ) && \ in initKey()
416 convInfo->userKeyLength = bitsToBytes( 40 ); in initKey()
418 RC2_set_key( rc2Key, convInfo->userKeyLength, convInfo->userKey, in initKey()
419 effectiveKeysizeBits( convInfo->userKeyLength ) ); in initKey()
H A Dctx_attr.c141 value = contextInfoPtr->ctxConv->userKeyLength; in getContextAttribute()
149 value = contextInfoPtr->ctxMAC->userKeyLength; in getContextAttribute()
590 valuePtr = &contextInfoPtr->ctxConv->userKeyLength; in setContextAttribute()
598 valuePtr = &contextInfoPtr->ctxMAC->userKeyLength; in setContextAttribute()
741 contextInfoPtr->ctxConv->userKeyLength = value; in setContextAttribute()
749 contextInfoPtr->ctxMAC->userKeyLength = value; in setContextAttribute()
783 contextInfoPtr->ctxConv->userKeyLength > 0 ) || \ in setContextAttribute()
788 contextInfoPtr->ctxMAC->userKeyLength > 0 ) || \ in setContextAttribute()
H A Dkeyload.c726 int keyLength = contextInfoPtr->ctxConv->userKeyLength, status; in generateKeyConvFunction()
799 int keyLength = contextInfoPtr->ctxMAC->userKeyLength, status; in generateKeyMacFunction()
935 keySize = ( convInfo->userKeyLength > 0 ) ? \ in deriveKey()
936 convInfo->userKeyLength : \ in deriveKey()
972 keySize = ( macInfo->userKeyLength > 0 ) ? \ in deriveKey()
973 macInfo->userKeyLength : \ in deriveKey()
H A Dcontext.h155 BUFFER( CRYPT_MAX_KEYSIZE, userKeyLength ) \
159 int userKeyLength, ivLength; member
309 BUFFER( CRYPT_MAX_KEYSIZE, userKeyLength ) \
311 int userKeyLength; member
H A Dctx_rc4.c326 convInfo->userKeyLength = keyLength; in initKey()
H A Dctx_cast.c310 convInfo->userKeyLength = keyLength; in initKey()
H A Dctx_des.c331 convInfo->userKeyLength = keyLength; in initKey()
H A Dctx_idea.c368 convInfo->userKeyLength = keyLength; in initKey()
H A Dctx_3des.c363 convInfo->userKeyLength = keyLength; in initKey()
H A Dctx_aes.c557 convInfo->userKeyLength = keyLength; in initKey()
/dports/security/cryptopp/cryptopp-8.6.0/
H A Dchachapoly.cpp41 void ChaCha20Poly1305_Base::SetKeyWithoutResync(const byte *userKey, size_t userKeyLength, const Na… in SetKeyWithoutResync() argument
43 CRYPTOPP_ASSERT(userKey && userKeyLength == 32); in SetKeyWithoutResync()
44 m_userKey.Assign(userKey, userKeyLength); in SetKeyWithoutResync()
139 void XChaCha20Poly1305_Base::SetKeyWithoutResync(const byte *userKey, size_t userKeyLength, const N… in SetKeyWithoutResync() argument
141 CRYPTOPP_ASSERT(userKey && userKeyLength == 32); in SetKeyWithoutResync()
142 m_userKey.Assign(userKey, userKeyLength); in SetKeyWithoutResync()
H A Dchachapoly.h114 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs &params); in NAMESPACE_BEGIN()
262 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs &params);
/dports/emulators/citra/citra-ac98458e0/externals/cryptopp/cryptopp/
H A Dchachapoly.cpp41 void ChaCha20Poly1305_Base::SetKeyWithoutResync(const byte *userKey, size_t userKeyLength, const Na… in SetKeyWithoutResync() argument
43 CRYPTOPP_ASSERT(userKey && userKeyLength == 32); in SetKeyWithoutResync()
44 m_userKey.Assign(userKey, userKeyLength); in SetKeyWithoutResync()
139 void XChaCha20Poly1305_Base::SetKeyWithoutResync(const byte *userKey, size_t userKeyLength, const N… in SetKeyWithoutResync() argument
141 CRYPTOPP_ASSERT(userKey && userKeyLength == 32); in SetKeyWithoutResync()
142 m_userKey.Assign(userKey, userKeyLength); in SetKeyWithoutResync()
H A Dchachapoly.h114 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs &params); in NAMESPACE_BEGIN()
262 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs &params);
/dports/emulators/citra-qt5/citra-ac98458e0/externals/cryptopp/cryptopp/
H A Dchachapoly.cpp41 void ChaCha20Poly1305_Base::SetKeyWithoutResync(const byte *userKey, size_t userKeyLength, const Na… in SetKeyWithoutResync() argument
43 CRYPTOPP_ASSERT(userKey && userKeyLength == 32); in SetKeyWithoutResync()
44 m_userKey.Assign(userKey, userKeyLength); in SetKeyWithoutResync()
139 void XChaCha20Poly1305_Base::SetKeyWithoutResync(const byte *userKey, size_t userKeyLength, const N… in SetKeyWithoutResync() argument
141 CRYPTOPP_ASSERT(userKey && userKeyLength == 32); in SetKeyWithoutResync()
142 m_userKey.Assign(userKey, userKeyLength); in SetKeyWithoutResync()
H A Dchachapoly.h114 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs &params); in NAMESPACE_BEGIN()
262 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs &params);
/dports/sysutils/fusefs-securefs/securefs-0.12.0/external/cryptopp/
H A Dchachapoly.cpp41 void ChaCha20Poly1305_Base::SetKeyWithoutResync(const byte *userKey, size_t userKeyLength, const Na…
43 CRYPTOPP_ASSERT(userKey && userKeyLength == 32);
44 m_userKey.Assign(userKey, userKeyLength);
139 void XChaCha20Poly1305_Base::SetKeyWithoutResync(const byte *userKey, size_t userKeyLength, const N…
141 CRYPTOPP_ASSERT(userKey && userKeyLength == 32);
142 m_userKey.Assign(userKey, userKeyLength);
H A Dchachapoly.h114 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs &params); in NAMESPACE_BEGIN()
262 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs &params);
/dports/security/cryptlib/cryptlib-3.4.3/kernel/
H A Dobj_acc.c583 if( contextInfoPtr->ctxConv->userKeyLength < MIN_KEYSIZE || \
584 contextInfoPtr->ctxConv->userKeyLength > keyDataLen )
594 contextInfoPtr->ctxConv->userKeyLength );
599 if( contextInfoPtr->ctxMAC->userKeyLength < MIN_KEYSIZE || \
600 contextInfoPtr->ctxMAC->userKeyLength > keyDataLen )
609 contextInfoPtr->ctxMAC->userKeyLength );
/dports/security/cryptlib/cryptlib-3.4.3/test/
H A Dhighlvl.c505 static int deriveKey( const C_STR userKey, const int userKeyLength, in deriveKey() argument
569 userKey, userKeyLength ); in deriveKey()
578 userKey, userKeyLength ); in deriveKey()
760 const int userKeyLength = paramStrlen( userKey ); in conventionalExportImport() local
772 userKey, userKeyLength ); in conventionalExportImport()
872 userKey, userKeyLength ); in conventionalExportImport()
1075 int userKeyLength = paramStrlen( userKey ); in testMACExportImport() local
1100 userKey, userKeyLength ); in testMACExportImport()
1158 userKey, userKeyLength ); in testMACExportImport()
/dports/security/cryptlib/cryptlib-3.4.3/device/
H A Dpkcs11.c782 contextKeyLenPtr = &contextInfoPtr->ctxConv->userKeyLength;
789 contextKeyLenPtr = &contextInfoPtr->ctxMAC->userKeyLength;
840 contextInfoPtr->ctxConv->userKeyLength = 0;
/dports/audio/musescore/MuseScore-3.6.1/thirdparty/poppler/poppler/
H A DDecrypt.cc1700 int userKeyLength = 0; in revision6Hash() local
1702 userKeyLength = 48; in revision6Hash()
1709 sequenceLength = inputPasswordLength + KLength + userKeyLength; in revision6Hash()
1714 memcpy(K1 + inputPasswordLength + KLength, userKey, userKeyLength); in revision6Hash()
/dports/graphics/poppler/poppler-21.12.0/poppler/
H A DDecrypt.cc1764 const int userKeyLength = userKey ? 48 : 0; in revision6Hash() local
1770 sequenceLength = inputPasswordLength + KLength + userKeyLength; in revision6Hash()
1776 memcpy(K1 + inputPasswordLength + KLength, userKey, userKeyLength); in revision6Hash()

12