Lines Matching refs:alg
511 * @param alg [IN] type #const uint32_t,HMAC algorithm hks_alg_hmac(HKS_ALG_HASH_SHA_256) or
518 when alg is hks_alg_hmac(HKS_ALG_HASH_SHA_256), output->size must be greater than or
519 equal to 32 when alg is hks_alg_hmac(HKS_ALG_HASH_SHA_512), output->size must be greater than or equal to 64
521 当alg为hks_alg_hmac(HKS_ALG_HASH_SHA_256)时,output-> size必须大于或
522 当alg为hks_alg_hmac(HKS_ALG_HASH_SHA_512)时等于32,则output-> size必须大于或等于64。CNend
530 const uint32_t alg, const struct hks_blob *src_data,
543 * @param alg [IN] type #const uint32_t,Hash algorithm, Only spuuort SHA256/SHA512.
549 when alg is HKS_ALG_HASH_SHA_256, hash->size must be greater than or equal to 32 when alg is HKS_ALG_HASH_SHA_512,
551 CNcomment:生成的消息验证码,hash和hash-> data不能为null约束条件:当alg为HKS_ALG_HASH_SHA_256时,
552 当alg为HKS_ALG_HASH_SHA_512时,hash-> size必须大于或等于32,hash-> size必须大于或等于64。CNend
559 HKS_DLL_API_PUBLIC int32_t hks_hash(const uint32_t alg,