Home
last modified time | relevance | path

Searched full:hace (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/u-boot/drivers/crypto/
H A Daspeed_hace_v1.c79 debug("HACE src out of bounds: can only copy from SDRAM\n"); in digest_object()
84 debug("HACE dest alignment incorrect: %p\n", digest); in digest_object()
90 debug("HACE error: engine busy\n"); in digest_object()
124 debug("HACE failure: %d\n", rc); in hw_sha1()
134 debug("HACE failure: %d\n", rc); in hw_sha256()
144 debug("HACE failure: %d\n", rc); in hw_sha384()
154 debug("HACE failure: %d\n", rc); in hw_sha512()
180 debug("HACE error: Cannot allocate memory for context\n"); in hw_sha_init()
185 printf("HACE error: Invalid alignment for input data\n"); in hw_sha_init()
203 debug("HACE error: Reached maximum number of hash segments\n"); in hw_sha_update()
[all …]
H A Daspeed_hace.c137 debug("HACE error: engine busy\n"); in hash_trigger()
187 debug("HACE error: Cannot allocate memory for context\n"); in hw_sha_init()
255 debug("HACE error: insufficient size on destination buffer\n"); in hw_sha_finish()
280 debug("HACE src out of bounds: can only copy from SDRAM\n"); in sha_digest()
285 debug("HACE error: engine busy\n"); in sha_digest()
293 debug("HACE error: Cannot allocate memory for context\n"); in sha_digest()
356 debug("HACE failure: %d\n", rc); in hw_sha1()
366 debug("HACE failure: %d\n", rc); in hw_sha256()
376 debug("HACE failure: %d\n", rc); in hw_sha384()
386 debug("HACE failure: %d\n", rc); in hw_sha512()
[all …]
/openbmc/linux/drivers/crypto/aspeed/
H A DMakefile1 hace-hash-$(CONFIG_CRYPTO_DEV_ASPEED_HACE_HASH) := aspeed-hace-hash.o
2 hace-crypto-$(CONFIG_CRYPTO_DEV_ASPEED_HACE_CRYPTO) := aspeed-hace-crypto.o
5 aspeed_crypto-objs := aspeed-hace.o \
6 $(hace-hash-y) \
7 $(hace-crypto-y)
H A DKconfig6 Hash and Crypto Engine (HACE) is designed to accelerate the
22 bool "Enable Aspeed Hash & Crypto Engine (HACE) hash"
29 Select here to enable Aspeed Hash & Crypto Engine (HACE)
35 bool "Enable Aspeed Hash & Crypto Engine (HACE) crypto"
45 Select here to enable Aspeed Hash & Crypto Engine (HACE)
H A Daspeed-hace.h16 * HACE register definitions *
26 #define ASPEED_HACE_TAG 0x18 /* HACE Tag Register */
31 #define ASPEED_HACE_STS 0x1C /* HACE Status Register */
274 #define ast_hace_write(hace, val, offset) \ argument
275 writel((val), (hace)->regs + (offset))
276 #define ast_hace_read(hace, offset) \ argument
277 readl((hace)->regs + (offset))
H A Daspeed-hace.c6 #include "aspeed-hace.h"
29 /* HACE interrupt service routine */
96 { .compatible = "aspeed,ast2500-hace", .data = (void *)5, },
97 { .compatible = "aspeed,ast2600-hace", .data = (void *)6, },
116 dev_err(&pdev->dev, "Failed to match hace dev id\n"); in aspeed_hace_probe()
285 MODULE_DESCRIPTION("Aspeed HACE driver Crypto Accelerator");
/openbmc/linux/Documentation/devicetree/bindings/crypto/
H A Daspeed,ast2500-hace.yaml4 $id: http://devicetree.org/schemas/crypto/aspeed,ast2500-hace.yaml#
7 title: ASPEED HACE hash and crypto Hardware Accelerator Engines
13 The Hash and Crypto Engine (HACE) is designed to accelerate the throughput
14 of hash data digest, encryption, and decryption. Basically, HACE can be
20 - aspeed,ast2500-hace
21 - aspeed,ast2600-hace
47 hace: crypto@1e6d0000 {
48 compatible = "aspeed,ast2600-hace";
/openbmc/qemu/tests/qtest/
H A Daspeed_hace-test.c593 qtest_add_func("ast2600/hace/addresses", test_addresses_ast2600); in main()
594 qtest_add_func("ast2600/hace/sha512", test_sha512_ast2600); in main()
595 qtest_add_func("ast2600/hace/sha256", test_sha256_ast2600); in main()
596 qtest_add_func("ast2600/hace/md5", test_md5_ast2600); in main()
598 qtest_add_func("ast2600/hace/sha512_sg", test_sha512_sg_ast2600); in main()
599 qtest_add_func("ast2600/hace/sha256_sg", test_sha256_sg_ast2600); in main()
601 qtest_add_func("ast2600/hace/sha512_accum", test_sha512_accum_ast2600); in main()
602 qtest_add_func("ast2600/hace/sha256_accum", test_sha256_accum_ast2600); in main()
604 qtest_add_func("ast2500/hace/addresses", test_addresses_ast2500); in main()
605 qtest_add_func("ast2500/hace/sha512", test_sha512_ast2500); in main()
[all …]
/openbmc/qemu/hw/arm/
H A Daspeed_ast10x0.c171 snprintf(typename, sizeof(typename), "aspeed.hace-%s", socname); in aspeed_soc_ast1030_init()
172 object_initialize_child(obj, "hace", &s->hace, typename); in aspeed_soc_ast1030_init()
368 /* HACE */ in aspeed_soc_ast1030_realize()
369 object_property_set_link(OBJECT(&s->hace), "dram", OBJECT(&s->sram), in aspeed_soc_ast1030_realize()
371 if (!sysbus_realize(SYS_BUS_DEVICE(&s->hace), errp)) { in aspeed_soc_ast1030_realize()
374 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->hace), 0, in aspeed_soc_ast1030_realize()
376 sysbus_connect_irq(SYS_BUS_DEVICE(&s->hace), 0, in aspeed_soc_ast1030_realize()
H A Daspeed_ast2400.c250 snprintf(typename, sizeof(typename), "aspeed.hace-%s", socname); in aspeed_ast2400_soc_init()
251 object_initialize_child(obj, "hace", &s->hace, typename); in aspeed_ast2400_soc_init()
526 /* HACE */ in aspeed_ast2400_soc_realize()
527 object_property_set_link(OBJECT(&s->hace), "dram", OBJECT(s->dram_mr), in aspeed_ast2400_soc_realize()
529 if (!sysbus_realize(SYS_BUS_DEVICE(&s->hace), errp)) { in aspeed_ast2400_soc_realize()
532 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->hace), 0, in aspeed_ast2400_soc_realize()
534 sysbus_connect_irq(SYS_BUS_DEVICE(&s->hace), 0, in aspeed_ast2400_soc_realize()
H A Daspeed_ast2600.c280 snprintf(typename, sizeof(typename), "aspeed.hace-%s", socname); in aspeed_soc_ast2600_init()
281 object_initialize_child(obj, "hace", &s->hace, typename); in aspeed_soc_ast2600_init()
699 /* HACE */ in aspeed_soc_ast2600_realize()
700 object_property_set_link(OBJECT(&s->hace), "dram", OBJECT(s->dram_mr), in aspeed_soc_ast2600_realize()
702 if (!sysbus_realize(SYS_BUS_DEVICE(&s->hace), errp)) { in aspeed_soc_ast2600_realize()
705 aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->hace), 0, in aspeed_soc_ast2600_realize()
707 sysbus_connect_irq(SYS_BUS_DEVICE(&s->hace), 0, in aspeed_soc_ast2600_realize()
/openbmc/linux/Documentation/translations/sp_SP/process/
H A Dcoding-style.rst36 Bueno, algunas personas dirán que tener sangrías de 8 caracteres hace que
503 esto hace las líneas más largas y no es estrictamente necesario.
552 Elija nombres de etiquetas que digan qué hace el goto o por qué existe el
625 Generalmente, desea que sus comentarios digan QUÉ hace su código, no CÓMO.
631 comentarios al principio de la función, diga a la gente lo que hace y
632 posiblemente POR QUÉ hace esto.
673 usted, y ha notado que sí, lo hace, pero los por defecto que tiene son
774 registro de salida de mensajes avc). No hace auditoría de llamadas al
934 pr_debug() no lo hace; se compila fuera por defecto, a menos que DEBUG sea
1030 errores por nosotros... pero no lo hace. Para ayudar a prevenir tales
[all …]
H A Dmagic-number.rst21 por ejemplo, hace esto con frecuencia para pasar información específica del
/openbmc/qemu/include/hw/misc/
H A Daspeed_hace.h16 #define TYPE_ASPEED_HACE "aspeed.hace"
/openbmc/u-boot/arch/arm/dts/
H A Dast2600-facebook.dts64 &hace {
H A Dast2600-tacoma.dts96 &hace {
H A Dast2600-ampere.dts97 &hace {
H A Dast2600-x4tf.dts91 &hace {
H A Dast2600-p10bmc.dts131 &hace {
H A Dast2600-qcom-dc-scm-v1.dts174 &hace {
H A Dast2600-s6q.dts208 &hace {
H A Dast2600-greatlakes.dts202 &hace {
H A Dast2600-bletchley.dts213 &hace {
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/
H A Dspl.c51 debug("Warning: HACE initialization failure\n"); in spl_board_init()
/openbmc/linux/Documentation/translations/sp_SP/
H A Dhowto.rst28 de la forma en que lo hace.
48 entender las suposiciones que el kernel hace respecto a la cadena de
81 cómo usar la función. Cuando un cambio en el kernel hace que la interfaz
600 llevar años perfeccionar estas prácticas (si es que lo hace). Es un proceso

12