MCPcopy Create free account
hub / github.com/F-Stack/f-stack / partial_hash_sha224

Function partial_hash_sha224

dpdk/drivers/crypto/qat/qat_sym_session.c:1317–1326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1315}
1316
1317static int partial_hash_sha224(uint8_t *data_in, uint8_t *data_out)
1318{
1319 SHA256_CTX ctx;
1320
1321 if (!SHA224_Init(&ctx))
1322 return -EFAULT;
1323 SHA256_Transform(&ctx, data_in);
1324 rte_memcpy(data_out, &ctx, SHA256_DIGEST_LENGTH);
1325 return 0;
1326}
1327
1328static int partial_hash_sha256(uint8_t *data_in, uint8_t *data_out)
1329{

Callers 1

partial_hash_computeFunction · 0.70

Calls 3

SHA224_InitFunction · 0.50
SHA256_TransformFunction · 0.50
rte_memcpyFunction · 0.50

Tested by

no test coverage detected