Home
last modified time | relevance | path

Searched refs:digest (Results 1 – 16 of 16) sorted by relevance

/Zephyr-Core-3.7.0/tests/crypto/tinycrypt/src/
Dsha256.c67 uint8_t digest[32]; in ZTEST() local
72 (void)tc_sha256_final(digest, &s); in ZTEST()
74 digest, sizeof(digest), 1); in ZTEST()
97 uint8_t digest[32]; in ZTEST() local
102 (void)tc_sha256_final(digest, &s); in ZTEST()
105 digest, sizeof(digest), 1); in ZTEST()
124 uint8_t digest[32]; in ZTEST() local
129 (void)tc_sha256_final(digest, &s); in ZTEST()
132 digest, sizeof(digest), 1); in ZTEST()
152 uint8_t digest[32]; in ZTEST() local
[all …]
Dhmac.c49 uint8_t digest[32]; in do_hmac_test() local
54 (void)tc_hmac_final(digest, TC_SHA256_DIGEST_SIZE, h); in do_hmac_test()
56 digest, sizeof(digest), 1); in do_hmac_test()
Decc_dsa.c90 unsigned int digest[TC_SHA256_DIGEST_SIZE / 4]; in sign_vectors() local
130 (void)memset(digest, 0, NUM_ECC_BYTES - 4 * hash_dwords); in sign_vectors()
131 uECC_vli_bytesToNative(digest + (NUM_ECC_WORDS - hash_dwords), in sign_vectors()
352 unsigned int digest[TC_SHA256_DIGEST_SIZE / 4]; in vrfy_vectors() local
387 (void)memset(digest, 0, NUM_ECC_BYTES - 4 * hash_dwords); in vrfy_vectors()
388 uECC_vli_bytesToNative(digest + (NUM_ECC_WORDS - hash_dwords), digest_bytes, in vrfy_vectors()
/Zephyr-Core-3.7.0/samples/boards/mec172xevb_assy6906/rom_api/src/
Dmain.c23 const uint8_t *digest; member
189 .digest = msg37_sha224_digest,
195 .digest = msg37_sha256_digest,
201 .digest = msg37_sha384_digest,
207 .digest = msg37_sha512_digest,
213 .digest = msg185_sha224_digest,
219 .digest = msg185_sha256_digest,
225 .digest = msg185_sha384_digest,
231 .digest = msg185_sha512_digest,
237 .digest = msg238_sha224_digest,
[all …]
/Zephyr-Core-3.7.0/samples/tfm_integration/tfm_secure_partition/src/
Dmain.c14 uint8_t digest[32]; in main() local
17 psa_status_t status = dp_secret_digest(key, digest, sizeof(digest)); in main()
26 printk("%02x", digest[i]); in main()
/Zephyr-Core-3.7.0/samples/tfm_integration/tfm_secure_partition/dummy_partition/
Ddummy_partition.c28 typedef void (*psa_write_callback_t)(void *handle, uint8_t *digest,
35 uint8_t digest[32]; in tfm_dp_secret_digest() local
44 if (digest_size != sizeof(digest)) { in tfm_dp_secret_digest()
49 sizeof(secrets[secret_index].secret), digest, in tfm_dp_secret_digest()
59 callback(handle, digest, digest_size); in tfm_dp_secret_digest()
66 static void psa_write_digest(void *handle, uint8_t *digest, in psa_write_digest() argument
69 psa_write((psa_handle_t)handle, 0, digest, digest_size); in psa_write_digest()
/Zephyr-Core-3.7.0/scripts/build/
Dllext_slidlib.py40 hash = m.digest()
/Zephyr-Core-3.7.0/subsys/net/lib/tls_credentials/
DKconfig.shell33 Also used to print error messages if digest generation fails.
/Zephyr-Core-3.7.0/drivers/crypto/
Dcrypto_mchp_xec_symcr.c264 int mchp_xec_rom_hash_digest_wrapper(struct mchphash *c, uint8_t *digest) in mchp_xec_rom_hash_digest_wrapper() argument
266 if (!c || !digest) { in mchp_xec_rom_hash_digest_wrapper()
270 if (mchp_xec_rom_hash_digest(c, (char *)digest)) { in mchp_xec_rom_hash_digest_wrapper()
/Zephyr-Core-3.7.0/subsys/net/ip/
Dipv6_pe.c228 uint8_t digest[32]; in gen_temporary_iid() local
272 ret = mbedtls_md_hmac_finish(&ctx, digest); in gen_temporary_iid()
278 memcpy(temporary_iid, digest, MIN(sizeof(digest), temporary_iid_len)); in gen_temporary_iid()
/Zephyr-Core-3.7.0/soc/microchip/mec/common/spigen/
Dmec_spi_gen.py230 hdr_digest = h.digest()
423 image_digest = h.digest()
/Zephyr-Core-3.7.0/doc/connectivity/networking/api/
Dtls_credentials_shell.rst200 …"``<DIGEST>``", "A string digest representing the credential contents. The exact nature of this di…
201 …"``<STATUS>``", "Status code indicating success or failure with generating a digest of the listed …
/Zephyr-Core-3.7.0/soc/espressif/common/
DKconfig.esptool173 by a SHA256 digest. Updating the bootloader image before flashing would
174 invalidate the digest.
/Zephyr-Core-3.7.0/modules/mbedtls/
DKconfig.tls-generic368 bool "generic message digest layer."
/Zephyr-Core-3.7.0/scripts/
Dspelling.txt536 disgest||digest
/Zephyr-Core-3.7.0/doc/releases/
Drelease-notes-2.5.rst928 * Print image digest during verify.