Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
int crypto_init_shash_ops_async(struct crypto_tfm *tfm); struct crypto_ahash *crypto_clone_shash_ops_async(struct crypto_ahash *nhash, struct crypto_ahash *hash); int hash_prepare_alg(struct hash_alg_common *alg); #endif /* _LOCAL_CRYPTO_HASH_H */52...
staticintpadlock_sha_init(struct shash_desc *desc){structpadlock_sha_desc*dctx=shash_desc_ctx(desc);structpadlock_sha_ctx*ctx=crypto_shash_ctx(desc->tfm);dctx->fallback.tfm = ctx->fallback; dctx->fallback.flags = desc->flags & CRYPTO_TFM_REQ_MAY_SLEEP;returncrypto_shash_init(&dct...
staticintsmb2_crypto_shash_allocate(struct TCP_Server_Info *server){intrc;unsignedintsize;if(server->secmech.sdeschmacsha256 !=NULL)return0;/* already allocated */server->secmech.hmacsha256 =crypto_alloc_shash("hmac(sha256)",0,0);if(IS_ERR(server->secmech.hmacsha256)) { cifs_dbg(V...
rc =crypto_shash_update(shash, buf, len);if(rc)break; buf += len; size -= len; }if(!rc) rc = crypto_shash_final(shash, hash->digest);returnrc; } 开发者ID:AshishNamdev,项目名称:linux,代码行数:30,代码来源:ima_crypto.c
rc =crypto_shash_final(&desc.shash, req->result); out:returnrc; } 开发者ID:Medvedroid,项目名称:OT_903D-kernel-2.6.35.7,代码行数:27,代码来源:mv_cesa.c 示例2: CalcNTLMv2_response ▲点赞 6▼ staticintCalcNTLMv2_response(conststruct cifsSesInfo *ses,char*ntlmv2_hash){intrc;unsignedint...