Home
last modified time | relevance | path

Searched refs:hashFunctionAtomic (Results 1 – 22 of 22) sorted by relevance

/dports/security/cryptlib/cryptlib-3.4.3/context/
H A Dctx_bnprime.c231 HASHFUNCTION_ATOMIC hashFunctionAtomic; in checkDHdata() local
234 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic, NULL ); in checkDHdata()
240 hashFunctionAtomic( hashValue, 20, dh1024SSL + 2, sizeof( dh1024SSL ) - 5 ); in checkDHdata()
241 hashFunctionAtomic( hashValue, 20, dh1536SSL + 2, sizeof( dh1536SSL ) - 5 ); in checkDHdata()
242 hashFunctionAtomic( hashValue, 20, dh2048SSL + 2, sizeof( dh2048SSL ) - 5 ); in checkDHdata()
243 hashFunctionAtomic( hashValue, 20, dh3072SSL + 2, sizeof( dh3072SSL ) - 5 ); in checkDHdata()
249 hashFunctionAtomic( hashValue, 20, dh1024SSL, sizeof( dh1024SSL ) ); in checkDHdata()
254 hashFunctionAtomic( hashValue, 20, dh1536SSL, sizeof( dh1536SSL ) ); in checkDHdata()
258 hashFunctionAtomic( hashValue, 20, dh2048SSL, sizeof( dh2048SSL ) ); in checkDHdata()
262 hashFunctionAtomic( hashValue, 20, dh3072SSL, sizeof( dh3072SSL ) ); in checkDHdata()
H A Dctx_misc.c695 OUT_PTR HASH_FUNCTION_ATOMIC *hashFunctionAtomic, in getHashAtomicParameters() argument
722 assert( isWritePtr( hashFunctionAtomic, sizeof( HASH_FUNCTION_ATOMIC ) ) ); in getHashAtomicParameters()
730 *hashFunctionAtomic = shaHashBufferAtomic; in getHashAtomicParameters()
764 *hashFunctionAtomic = shaHashBufferAtomic; in getHashAtomicParameters()
770 *hashFunctionAtomic = hashFunctions[ i ].function; in getHashAtomicParameters()
H A Dkey_id.c40 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in IN_BUFFER() local
49 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic, NULL ); in IN_BUFFER()
50 hashFunctionAtomic( keyID, keyIdMaxLen, keyInfo, keyInfoSize ); in IN_BUFFER()
/dports/security/cryptlib/cryptlib-3.4.3/mechs/
H A Dmech_drv.c32 IN const HASH_FUNCTION_ATOMIC hashFunctionAtomic,
51 REQUIRES( hashFunction != NULL && hashFunctionAtomic != NULL );
247 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in derivePKCS5() local
282 &hashFunctionAtomic, &hashSize ); in derivePKCS5()
553 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in derivePKCS12() local
595 hashFunctionAtomic( p12_Ai, CRYPT_MAX_HASHSIZE, in derivePKCS12()
643 HASH_FUNCTION_ATOMIC hashFunctionAtomic; member
946 &shaInfo.hashFunctionAtomic, in deriveTLS12()
1183 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in deriveCMP() local
1196 &hashFunctionAtomic, &hashSize ); in deriveCMP()
[all …]
H A Dmech_privk.c244 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in IN_BUFFER() local
255 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic, in IN_BUFFER()
262 hashFunctionAtomic( hashValue, CRYPT_MAX_HASHSIZE, data, in IN_BUFFER()
/dports/security/cryptlib/cryptlib-3.4.3/keyset/
H A Ddbx_misc.c276 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in makeKeyID() local
280 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic, in makeKeyID()
282 hashFunctionAtomic( hashBuffer, CRYPT_MAX_HASHSIZE, in makeKeyID()
348 HASH_FUNCTION_ATOMIC hashFunctionAtomic; variable
355 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic,
357 hashFunctionAtomic( hashBuffer, CRYPT_MAX_HASHSIZE,
H A Dpkcs15_atrd.c105 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in readKeyIdentifiers() local
119 &hashFunctionAtomic, &hashSize ); in readKeyIdentifiers()
131 hashFunctionAtomic( pkcs15infoPtr->iAndSID, KEYID_SIZE, in readKeyIdentifiers()
H A Dpkcs15.c160 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in getCertID() local
183 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic, NULL ); in getCertID()
184 hashFunctionAtomic( nameID, nameIdMaxLen, dynData( idDB ), in getCertID()
/dports/security/cryptlib/cryptlib-3.4.3/session/
H A Dssh2_auths.c278 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in checkCredentialsConsistent() local
289 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic, NULL ); in checkCredentialsConsistent()
290 hashFunctionAtomic( userNameHash, KEYID_SIZE, userName, userNameLength ); in checkCredentialsConsistent()
H A Dssh2_cli.c36 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in processKeyFingerprint() local
48 getHashAtomicParameters( CRYPT_ALGO_MD5, 0, &hashFunctionAtomic, in processKeyFingerprint()
50 hashFunctionAtomic( fingerPrint, CRYPT_MAX_HASHSIZE, in processKeyFingerprint()
67 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic, in processKeyFingerprint()
69 hashFunctionAtomic( fingerPrint, CRYPT_MAX_HASHSIZE, in processKeyFingerprint()
H A Dssh.c867 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in checkAttributeFunction() local
909 getHashAtomicParameters( CRYPT_ALGO_MD5, 0, &hashFunctionAtomic, in checkAttributeFunction()
939 hashFunctionAtomic( fingerPrint, CRYPT_MAX_HASHSIZE, blobData, in checkAttributeFunction()
/dports/security/cryptlib/cryptlib-3.4.3/misc/
H A Dpgp_misc.c279 HASH_FUNCTION_ATOMIC hashFunctionAtomic; variable
281 getHashAtomicParameters( hashAlgo, 0, &hashFunctionAtomic, NULL );
282 hashFunctionAtomic( hashedKey, CRYPT_MAX_HASHSIZE, password,
H A Dint_api.c388 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in hashData() local
399 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic, in hashData()
412 hashMaxLength > CRYPT_MAX_HASHSIZE || hashFunctionAtomic == NULL ) in hashData()
422 hashFunctionAtomic( hashBuffer, hashSize, data, dataLength ); in hashData()
H A Dint_api.h1135 OUT_PTR HASH_FUNCTION_ATOMIC *hashFunctionAtomic,
/dports/security/cryptlib/cryptlib-3.4.3/cert/
H A Dcomp_cert.c897 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in writeOCSPID() local
913 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic, in writeOCSPID()
915 hashFunctionAtomic( hashBuffer, CRYPT_MAX_HASHSIZE, in writeOCSPID()
1062 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in copyCaCertToOCSPReq() local
1075 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic, NULL ); in copyCaCertToOCSPReq()
1099 hashFunctionAtomic( certInfoPtr->certHash, KEYID_SIZE, dataPtr, length ); in copyCaCertToOCSPReq()
H A Dcertrev.c888 HASH_FUNCTION_ATOMIC hashFunctionAtomic; variable
900 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic, NULL );
944 hashFunctionAtomic( id, hashedIDlen, dataPtr, length );
963 hashFunctionAtomic( id, hashedIDlen, dataPtr, length );
H A Dcomp_gets.c377 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in getCertHash() local
403 getHashAtomicParameters( hashAlgo, 0, &hashFunctionAtomic, &hashSize ); in getCertHash()
418 hashFunctionAtomic( hash, CRYPT_MAX_HASHSIZE, certInfoPtr->certificate, in getCertHash()
/dports/security/cryptlib/cryptlib-3.4.3/device/
H A Dsystem.c187 &systemInfo->hashFunctionAtomic, in getNonce()
207 ENSURES( systemInfo->hashFunctionAtomic != NULL ); in getNonce()
221 systemInfo->hashFunctionAtomic( systemInfo->nonceData, in getNonce()
H A Dhw_dummy.c295 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in dummyGenRandom() local
308 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic, in dummyGenRandom()
316 hashFunctionAtomic( hashBuffer, CRYPT_MAX_HASHSIZE, in dummyGenRandom()
H A Ddevice.h75 HASH_FUNCTION_ATOMIC hashFunctionAtomic; /* Nonce hash function */ member
/dports/security/cryptlib/cryptlib-3.4.3/random/
H A Drandom.c195 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in mixRandomPool() local
204 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic, in mixRandomPool()
259 hashFunctionAtomic( randomInfo->randomPool + hashIndex, in mixRandomPool()
/dports/security/cryptlib/cryptlib-3.4.3/
H A Dcryptkey.c137 HASH_FUNCTION_ATOMIC hashFunctionAtomic; in initKeysetUpdate() local
141 getHashAtomicParameters( CRYPT_ALGO_SHA1, 0, &hashFunctionAtomic, in initKeysetUpdate()
143 hashFunctionAtomic( keyIDbuffer, keyIdMaxLength, keyIDinfo->keyID, in initKeysetUpdate()