Lines Matching refs:algorithm
117 NX_CRYPTO_KEEP UINT _nx_crypto_sha512_initialize(NX_CRYPTO_SHA512 *context, UINT algorithm) in _nx_crypto_sha512_initialize() argument
129 if ((algorithm == NX_CRYPTO_AUTHENTICATION_HMAC_SHA2_512) || in _nx_crypto_sha512_initialize()
130 (algorithm == NX_CRYPTO_HASH_SHA512)) in _nx_crypto_sha512_initialize()
143 else if ((algorithm == NX_CRYPTO_AUTHENTICATION_HMAC_SHA2_512_224) || in _nx_crypto_sha512_initialize()
144 (algorithm == NX_CRYPTO_HASH_SHA512_224)) in _nx_crypto_sha512_initialize()
157 else if ((algorithm == NX_CRYPTO_AUTHENTICATION_HMAC_SHA2_512_256) || in _nx_crypto_sha512_initialize()
158 (algorithm == NX_CRYPTO_HASH_SHA512_256)) in _nx_crypto_sha512_initialize()
364 …P UINT _nx_crypto_sha512_digest_calculate(NX_CRYPTO_SHA512 *context, UCHAR *digest, UINT algorithm) in _nx_crypto_sha512_digest_calculate() argument
403 if ((algorithm == NX_CRYPTO_AUTHENTICATION_HMAC_SHA2_512) || in _nx_crypto_sha512_digest_calculate()
404 (algorithm == NX_CRYPTO_HASH_SHA512)) in _nx_crypto_sha512_digest_calculate()
408 else if ((algorithm == NX_CRYPTO_AUTHENTICATION_HMAC_SHA2_512_224) || in _nx_crypto_sha512_digest_calculate()
409 (algorithm == NX_CRYPTO_HASH_SHA512_224)) in _nx_crypto_sha512_digest_calculate()
413 else if ((algorithm == NX_CRYPTO_AUTHENTICATION_HMAC_SHA2_512_256) || in _nx_crypto_sha512_digest_calculate()
414 (algorithm == NX_CRYPTO_HASH_SHA512_256)) in _nx_crypto_sha512_digest_calculate()
437 if ((algorithm == NX_CRYPTO_AUTHENTICATION_HMAC_SHA2_512_224) || in _nx_crypto_sha512_digest_calculate()
438 (algorithm == NX_CRYPTO_HASH_SHA512_224)) in _nx_crypto_sha512_digest_calculate()