/dports/security/cryptlib/cryptlib-3.4.3/context/ |
H A D | ctx_hsha.c | 206 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 D | ctx_hsha2.c | 214 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 D | ctx_rc2.c | 401 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 D | ctx_attr.c | 141 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 D | keyload.c | 726 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 D | context.h | 155 BUFFER( CRYPT_MAX_KEYSIZE, userKeyLength ) \ 159 int userKeyLength, ivLength; member 309 BUFFER( CRYPT_MAX_KEYSIZE, userKeyLength ) \ 311 int userKeyLength; member
|
H A D | ctx_rc4.c | 326 convInfo->userKeyLength = keyLength; in initKey()
|
H A D | ctx_cast.c | 310 convInfo->userKeyLength = keyLength; in initKey()
|
H A D | ctx_des.c | 331 convInfo->userKeyLength = keyLength; in initKey()
|
H A D | ctx_idea.c | 368 convInfo->userKeyLength = keyLength; in initKey()
|
H A D | ctx_3des.c | 363 convInfo->userKeyLength = keyLength; in initKey()
|
H A D | ctx_aes.c | 557 convInfo->userKeyLength = keyLength; in initKey()
|
/dports/security/cryptopp/cryptopp-8.6.0/ |
H A D | chachapoly.cpp | 41 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 D | chachapoly.h | 114 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs ¶ms); in NAMESPACE_BEGIN() 262 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs ¶ms);
|
/dports/emulators/citra/citra-ac98458e0/externals/cryptopp/cryptopp/ |
H A D | chachapoly.cpp | 41 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 D | chachapoly.h | 114 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs ¶ms); in NAMESPACE_BEGIN() 262 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs ¶ms);
|
/dports/emulators/citra-qt5/citra-ac98458e0/externals/cryptopp/cryptopp/ |
H A D | chachapoly.cpp | 41 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 D | chachapoly.h | 114 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs ¶ms); in NAMESPACE_BEGIN() 262 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs ¶ms);
|
/dports/sysutils/fusefs-securefs/securefs-0.12.0/external/cryptopp/ |
H A D | chachapoly.cpp | 41 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 D | chachapoly.h | 114 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs ¶ms); in NAMESPACE_BEGIN() 262 void RekeyCipherAndMac(const byte *userKey, size_t userKeyLength, const NameValuePairs ¶ms);
|
/dports/security/cryptlib/cryptlib-3.4.3/kernel/ |
H A D | obj_acc.c | 583 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 D | highlvl.c | 505 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 D | pkcs11.c | 782 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 D | Decrypt.cc | 1700 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 D | Decrypt.cc | 1764 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()
|