Home
last modified time | relevance | path

Searched refs:dgst (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/crypto/intel/keembay/
H A Docs-hcu.h92 u8 *dgst, size_t dgst_len);
95 const struct ocs_hcu_hash_ctx *ctx, u8 *dgst,
99 void *data, size_t data_len, u8 *dgst, size_t dgst_len);
104 u8 *dgst, size_t dgst_len);
H A Docs-hcu.c308 enum ocs_hcu_algo algo, u8 *dgst, size_t dgst_len) in ocs_hcu_get_digest() argument
314 if (!dgst) in ocs_hcu_get_digest()
326 chain = (u32 *)dgst; in ocs_hcu_get_digest()
647 u8 *dgst, size_t dgst_len) in ocs_hcu_hash_finup() argument
669 return ocs_hcu_get_digest(hcu_dev, ctx->algo, dgst, dgst_len); in ocs_hcu_hash_finup()
682 const struct ocs_hcu_hash_ctx *ctx, u8 *dgst, in ocs_hcu_hash_final() argument
712 return ocs_hcu_get_digest(hcu_dev, ctx->algo, dgst, dgst_len); in ocs_hcu_hash_final()
727 void *data, size_t data_len, u8 *dgst, size_t dgst_len) in ocs_hcu_digest() argument
762 return ocs_hcu_get_digest(hcu_dev, algo, dgst, dgst_len); in ocs_hcu_digest()
780 u8 *dgst, size_t dgst_len) in ocs_hcu_hmac() argument
[all …]
/openbmc/qemu/tests/bench/
H A Dbenchmark-crypto-akcipher.c47 g_autofree uint8_t *dgst = NULL; in test_rsa_speed() local
51 dgst = g_new0(uint8_t, SHA1_DGST_LEN); in test_rsa_speed()
52 memset(dgst, g_test_rand_int(), SHA1_DGST_LEN); in test_rsa_speed()
60 g_assert(qcrypto_akcipher_sign(rsa, dgst, SHA1_DGST_LEN, in test_rsa_speed()
78 dgst, SHA1_DGST_LEN, in test_rsa_speed()
/openbmc/qemu/tests/unit/
H A Dtest-crypto-akcipher.c686 const uint8_t *dgst; member
823 .dgst = test_sha1_dgst,
868 .dgst = test_sha1_dgst,
920 g_assert(qcrypto_akcipher_sign(priv_key, data->dgst, data->dlen, in test_akcipher()
928 data->dgst, data->dlen, in test_akcipher()
931 data->dgst, data->dlen, in test_akcipher()
936 data->dgst, data->dlen, NULL) != 0); in test_akcipher()
/openbmc/linux/include/crypto/
H A Dsm2.h18 const void *key, unsigned int keylen, void *dgst);
22 void *dgst) in sm2_compute_z_digest() argument
/openbmc/linux/tools/certs/
H A Dprint-cert-tbs-hash.sh90 openssl dgst "-${DIGEST_MATCH}" - | \
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm1/openssl-tpm-engine/files/
H A D0003-tpm-openssl-tpm-engine-parse-an-encrypted-tpm-SRK-pa.patch75 + const EVP_MD *dgst = NULL;
99 + dgst = EVP_sha256();
101 + EVP_BytesToKey(cipher, dgst, aes_salt, (unsigned char *)aes_pw, sizeof(SRK_DEC_PW) - 1, 1, key, i…
/openbmc/u-boot/arch/arm/mach-k3/
H A Dconfig.mk14 SHA_VALUE= $(shell openssl dgst -sha512 -hex $(obj)/u-boot-spl.bin | sed -e "s/^.*= //g")
/openbmc/phosphor-psu-code-mgmt/tools/
H A Dgenerate-psu-tar216 openssl dgst -sha256 -sign private_key -out "${file}.sig" "$file"
/openbmc/phosphor-bmc-code-mgmt/
H A Dgen-bios-tar211 openssl dgst -sha256 -sign "${private_key_path}" -out "${file}.sig" "$file"
/openbmc/openpower-pnor-code-mgmt/
H A Dgenerate-tar296 openssl dgst -sha256 -sign "${private_key_path}" -out "${file}.sig" "$file"
/openbmc/linux/crypto/
H A Dsm2.c269 const void *key, unsigned int keylen, void *dgst) in sm2_compute_z_digest() argument
316 err = crypto_shash_final(desc, dgst); in sm2_compute_z_digest()
/openbmc/qemu/crypto/
H A Dakcipher-gcrypt.c.inc423 error_setg(errp, "Failed to build dgst: %s/%s",
503 error_setg(errp, "Failed to build dgst: %s/%s",
/openbmc/openbmc/meta-phosphor/classes/
H A Dimage_types_phosphor.bbclass373 openssl dgst -sha256 -sign ${signing_key} -out "${file}.sig" $file
380 openssl dgst -sha256 -sign ${signing_key} -out image-full.sig image-full
/openbmc/linux/drivers/nvme/host/
H A Dtcp.c392 __le32 *dgst) in nvme_tcp_ddgst_final() argument
394 ahash_request_set_crypt(hash, NULL, (u8 *)dgst, 0); in nvme_tcp_ddgst_final()