Home
last modified time | relevance | path

Searched full:sha (Results 1 – 25 of 120) sorted by relevance

12345

/Zephyr-latest/drivers/crypto/
Dcrypto_npcx_sha.c22 /* The following table holds the function pointer for each SHA API in NPCX ROM. */
24 /* Get the SHA context size required by SHA APIs. */
26 /* Initial SHA context. */
28 /* Finalize SHA context. */
30 /* Initiate the SHA hardware module and setups needed parameters. */
33 * Prepare the context buffer for a SHA calculation - by loading the
34 * initial SHA-256/384/512 parameters.
38 * Updates the SHA calculation with the additional data. When the
40 * accept new data * buffers for SHA calculation and changes to the data
41 * in data buffer should no longer effect the SHA calculation.
[all …]
DKconfig.it8xxx25 bool "ITE IT8XXX2 SHA driver"
10 Enable ITE IT8XXX2 SHA driver.
16 bool "ITE IT8XXX2 SHA V2 driver"
21 Enable ITE IT8XXX2 SHA V2 driver.
DKconfig.npcx1 # NPCX SHA driver configuration options
7 bool "NPCX SHA driver"
11 Enable NPCX SHA driver.
DKconfig.intel6 bool "Intel SHA driver"
10 Enable Intel SHA driver. To be used on ACE and CAVS platforms.
Dcrypto_intel_sha.c13 LOG_MODULE_REGISTER(SHA);
32 static int intel_sha_set_ctl_enable(struct sha_container *sha, int status) in intel_sha_set_ctl_enable() argument
35 if (status == 0 && sha->dfsha->shactl.part.en == 1) { in intel_sha_set_ctl_enable()
36 while (sha->dfsha->shasts.part.busy) { in intel_sha_set_ctl_enable()
40 sha->dfsha->shactl.part.en = status; in intel_sha_set_ctl_enable()
44 static int intel_sha_set_resume_length_dw0(struct sha_container *sha, uint32_t lower_length) in intel_sha_set_resume_length_dw0() argument
49 sha->dfsha->sharldw0.full = lower_length; in intel_sha_set_resume_length_dw0()
56 static int intel_sha_set_resume_length_dw1(struct sha_container *sha, uint32_t upper_length) in intel_sha_set_resume_length_dw1() argument
58 sha->dfsha->sharldw1.full = upper_length; in intel_sha_set_resume_length_dw1()
80 /* ! Perform SHA computation over requested region. */
[all …]
Dcrypto_it8xxx2_sha_v2.c19 "support only one sha compatible node");
23 /* 0x00: SHA Control Register */
30 /* 0x01: SHA Status Register */
35 /* 0x02: SHA Execution Counter Register */
40 /* 0x03: SHA DLM Base Address 0 Register */
42 /* 0x04: SHA DLM Base Address 1 Register */
61 /* SHA data buffer */
335 /* Select SHA-2 Family, SHA-256 */ in it8xxx2_sha_init()
337 /* SHA interrupt disable */ in it8xxx2_sha_init()
Dcrypto_intel_sha_priv.h18 /* Possible SHA states */
22 /* SHA resume flag */
84 /* pointer to DSP SHA Registers */
Dcrypto_it8xxx2_sha.c19 "unsupported sha instance");
69 * References of K of SHA-256:
70 * https://en.wikipedia.org/wiki/SHA-2#Pseudocode
/Zephyr-latest/subsys/mgmt/updatehub/
DKconfig119 bool "SHA-256 on download"
121 Enables SHA-256 verification of data stream while downloading.
124 downloaded matches the server side SHA.
126 To check if the data written to permanent storage matches the SHA
131 bool "SHA-256 from flash"
133 Enables SHA-256 verification of stored data stream. When this
135 storage and verified with SHA to make sure that it has been
138 To check if the download data stream matches the SHA simultaneously,
142 bool "SHA-256 from both download and flash"
144 Enables SHA-256 verification on both data stream while downloading
Dupdatehub_integrity.c35 LOG_DBG("Failed to %s SHA-256 operation. (%d)", "set up", ret); in updatehub_integrity_init()
69 LOG_DBG("Failed to %s SHA-256 operation. (%d)", "update", ret); in updatehub_integrity_update()
102 LOG_DBG("Failed to %s SHA-256 operation. (%d)", "finish", ret); in updatehub_integrity_finish()
/Zephyr-latest/dts/bindings/crypto/
Dnuvoton,npcx-sha.yaml4 description: NPCX Crypto SHA accelerator.
6 compatible: "nuvoton,npcx-sha"
18 Size of the pre-allocated buffer for the SHA ROM API to store the
Dintel,adsp-sha.yaml4 description: Intel ADSP Crypto SHA accelerator.
6 compatible: "intel,adsp-sha"
Dite,it8xxx2-sha.yaml4 description: ITE IT8XXX2 Crypto SHA accelerator.
6 compatible: "ite,it8xxx2-sha"
Dite,it8xxx2-sha-v2.yaml4 description: ITE IT8XXX2 Crypto SHA accelerator V2.
6 compatible: "ite,it8xxx2-sha-v2"
/Zephyr-latest/modules/
DKconfig.tinycrypt24 bool "SHA-256 Hash function support"
26 This option enables support for SHA-256
33 This option enables support for HMAC using SHA-256
/Zephyr-latest/dts/bindings/dma/
Despressif,esp32-gdma.yaml21 * SHA (Not Supported yet)
36 * SHA (Not Supported yet)
/Zephyr-latest/.github/workflows/
Dtwister-prep.yaml35 … COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
61 ref: ${{ github.event.pull_request.head.sha }}
123 … COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
Dscripts_tests.yml34 ref: ${{ github.event.pull_request.head.sha }}
41 PR_HEAD: ${{ github.event.pull_request.head.sha }}
Dclang.yaml26 … COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
54 ref: ${{ github.event.pull_request.head.sha }}
97 echo "Manifest points to bsim sha $BSIM_VERSION"
Dmanifest.yml14 ref: ${{ github.event.pull_request.head.sha }}
/Zephyr-latest/tests/subsys/mgmt/mcumgr/mcumgr_client/src/
Dimg_gr_stub.c226 struct zcbor_string sha, data; in img_upload_init_verify() local
233 ZCBOR_MAP_DECODE_KEY_DECODER("sha", zcbor_bstr_decode, &sha) in img_upload_init_verify()
241 sha.len = 0; in img_upload_init_verify()
254 if (sha.len) { in img_upload_init_verify()
255 if (memcmp(sha.value, image_hash_ptr, 32)) { in img_upload_init_verify()
/Zephyr-latest/tests/subsys/dfu/img_util/src/
Dmain.c120 /* echo $'0123456789abcdef\nfedcba9876543201' > tst.sha in ZTEST()
121 * hexdump tst.sha in ZTEST()
128 /* sha256sum tst.sha */ in ZTEST()
163 zassert_false(ret == 0, "Flash img check wrong sha\n"); in ZTEST()
/Zephyr-latest/modules/mbedtls/
DKconfig.tls-generic326 bool "SHA-1 hash algorithm"
329 bool "SHA-224 hash algorithm"
332 bool "SHA-256 hash algorithm"
336 bool "Smaller SHA-256 implementation"
340 Enable an implementation of SHA-256 that has a
344 bool "SHA-384 hash algorithm"
347 bool "SHA-512 hash algorithm"
/Zephyr-latest/scripts/schemas/
Dpatch-schema.yml20 # The SHA-256 checksum of the patch file
71 # The SHA-1 hash of the upstream git commit incorporating the associated merge-pr
/Zephyr-latest/subsys/storage/flash_map/
DKconfig36 integrity using SHA-256 verification algorithm.

12345