Home
last modified time | relevance | path

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

/external/tpm2-tss/test/unit/
DTPM2B-marshal.c24 TPM2B_DIGEST dgst = {4, {0}}; in tpm2b_marshal_success() local
26 uint8_t buffer[sizeof(dgst) + sizeof(point)] = {0}; in tpm2b_marshal_success()
35 memcpy(dgst.buffer, &value, sizeof(value)); in tpm2b_marshal_success()
41 rc = Tss2_MU_TPM2B_DIGEST_Marshal(&dgst, buffer, buffer_size, NULL); in tpm2b_marshal_success()
70 TPM2B_DIGEST dgst = {4, {0}}; in tpm2b_marshal_success_offset() local
73 uint8_t buffer[sizeof(dgst) + sizeof(point) + 10] = {0}; in tpm2b_marshal_success_offset()
82 memcpy(dgst.buffer, &value, sizeof(value)); in tpm2b_marshal_success_offset()
88 rc = Tss2_MU_TPM2B_DIGEST_Marshal(&dgst, buffer, buffer_size, &offset); in tpm2b_marshal_success_offset()
123 TPM2B_DIGEST dgst = {4, {0}}; in tpm2b_marshal_buffer_null_with_offset() local
126 size_t buffer_size = sizeof(dgst) + sizeof(point) + 10; in tpm2b_marshal_buffer_null_with_offset()
[all …]
DTPML-marshal.c134 TPML_DIGEST dgst = {0}; in tpml_marshal_buffer_null_with_offset() local
136 size_t buffer_size = sizeof(hndl) + sizeof(sel) + sizeof(dgst) + 99; in tpml_marshal_buffer_null_with_offset()
164 dgst.count = 2; in tpml_marshal_buffer_null_with_offset()
165 dgst.digests[0].size = TPM2_SHA1_DIGEST_SIZE; in tpml_marshal_buffer_null_with_offset()
166 dgst.digests[1].size = TPM2_SHA512_DIGEST_SIZE; in tpml_marshal_buffer_null_with_offset()
167 rc = Tss2_MU_TPML_DIGEST_Marshal(&dgst, NULL, buffer_size, &offset); in tpml_marshal_buffer_null_with_offset()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl_ocsp.c399 const EVP_MD *dgst; in issuer_match() local
405 dgst = EVP_get_digestbyobj(certid->hashAlgorithm->algorithm); in issuer_match()
406 if (!dgst) { in issuer_match()
413 if (!X509_NAME_digest(iname, dgst, md, &len)) in issuer_match()
437 !EVP_Digest(ikey->data, ikey->length, md, &len, dgst, NULL) || in issuer_match()
/external/vboot_reference/tests/
Dgen_test_cases.sh24 openssl dgst -${hashalgo} -binary ${TEST_FILE} > \
/external/arm-trusted-firmware/plat/arm/board/common/protpk/
DREADME14 openssl dgst -sha256 -binary > arm_protpk_rsa_sha256.bin
/external/openssh/
Dssh-pkcs11-client.c168 ecdsa_do_sign(const unsigned char *dgst, int dgst_len, const BIGNUM *inv, in ecdsa_do_sign() argument
203 (r = sshbuf_put_string(msg, dgst, dgst_len)) != 0 || in ecdsa_do_sign()
Dssh-pkcs11.c513 ecdsa_do_sign(const unsigned char *dgst, int dgst_len, const BIGNUM *inv, in ecdsa_do_sign() argument
542 rv = f->C_Sign(si->session, (CK_BYTE *)dgst, dgst_len, sig, &siglen); in ecdsa_do_sign()
/external/arm-trusted-firmware/plat/arm/board/common/
Dboard_common.mk52 openssl ${CRYPTO_ALG} -in $< -pubout -outform DER | openssl dgst \
/external/arm-trusted-firmware/plat/socionext/uniphier/
Dplatform.mk115 openssl dgst -sha256 -binary > $@ 2>/dev/null
/external/tensorflow/tensorflow/lite/micro/tools/make/
Ddownload_and_extract.sh156 DOWNLOADED_MD5=$(openssl dgst -md5 ${tempfile} | sed 's/.* //g')
/external/arm-trusted-firmware/plat/imx/imx7/common/
Dimx7.mk88 openssl dgst -sha256 -binary > $@ 2>/dev/null
/external/arm-trusted-firmware/plat/hisilicon/hikey/
Dplatform.mk158 openssl dgst -sha256 -binary > $@ 2>/dev/null
/external/arm-trusted-firmware/plat/rpi/rpi3/
Dplatform.mk220 openssl dgst -sha256 -binary > $@ 2>/dev/null
/external/arm-trusted-firmware/plat/hisilicon/hikey960/
Dplatform.mk150 openssl dgst -sha256 -binary > $@ 2>/dev/null
/external/arm-trusted-firmware/plat/qemu/qemu/
Dplatform.mk94 openssl dgst -sha256 -binary > $@ 2>/dev/null
/external/libvpx/libvpx/build/make/
DMakefile37 md5sum := $(if $(filter %openssl,$(md5sum)),$(md5sum) dgst -md5,$(md5sum))
/external/scapy/test/
Dregression.uts6739 assert(bytes_hex(p[NTPAuthenticator].dgst) == b'ad79f3a1e5fcd032d26a1e27c3c1b60e')
6886 assert(bytes_hex(p.authenticator.dgst) == b'3dc23bc7edb9555339d68908c8afa612')
6901 assert(bytes_hex(p.authenticator.dgst) == b'97280249dba07338ed722860db4a580a')
6916 assert(bytes_hex(p.authenticator.dgst) == b'aff10cb4c9946dfc4d90094aa170944a')
6934 assert(bytes_hex(p.authenticator.dgst) == b'807a80fbafc470679853a8e57865811c')
6950 assert(bytes_hex(p.authenticator.dgst) == b'eaa7aca81b6a9cdb58e1530d36fbefa4')
6966 assert(bytes_hex(p.authenticator.dgst) == b'bfa6d85ff96d1e326c293caceec2a539')
6982 assert(bytes_hex(p.authenticator.dgst) == b'c9fb8abe3c605ffa36d218c3b7648923')
6998 assert(bytes_hex(p.authenticator.dgst) == b'32c2ba59c533fe28f550e5a0860295d9')
7383 assert(bytes_hex(p.authenticator.dgst) == b'5abafe011c720564a114b129e976448d')
[all …]