/openbmc/qemu/backends/ |
H A D | cryptodev-vhost.c | 37 CryptoDevBackendVhost *crypto) in cryptodev_vhost_get_max_queues() argument 39 return crypto->dev.max_queues; in cryptodev_vhost_get_max_queues() 42 void cryptodev_vhost_cleanup(CryptoDevBackendVhost *crypto) in cryptodev_vhost_cleanup() argument 44 vhost_dev_cleanup(&crypto->dev); in cryptodev_vhost_cleanup() 45 g_free(crypto); in cryptodev_vhost_cleanup() 53 CryptoDevBackendVhost *crypto; in cryptodev_vhost_init() local 56 crypto = g_new(CryptoDevBackendVhost, 1); in cryptodev_vhost_init() 57 crypto->dev.max_queues = 1; in cryptodev_vhost_init() 58 crypto->dev.nvqs = 1; in cryptodev_vhost_init() 59 crypto->dev.vqs = crypto->vqs; in cryptodev_vhost_init() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/crypto/ |
H A D | marvell-cesa.txt | 5 "marvell,orion-crypto" 6 "marvell,kirkwood-crypto" 7 "marvell,dove-crypto" 8 "marvell,armada-370-crypto" 9 "marvell,armada-xp-crypto" 10 "marvell,armada-375-crypto" 11 "marvell,armada-38x-crypto" 14 but this representation is deprecated and marvell,crypto-srams should 17 is deprecated and marvell,crypto-srams should be used instead 19 - clocks: reference to the crypto engines clocks. This property is not [all …]
|
H A D | mv_cesa.txt | 5 "marvell,orion-crypto" 6 "marvell,kirkwood-crypto" 7 "marvell,dove-crypto" 10 but this representation is deprecated and marvell,crypto-srams should 13 is deprecated and marvell,crypto-srams should be used instead 15 - clocks: reference to the crypto engines clocks. This property is only 17 - marvell,crypto-srams: phandle to crypto SRAM definitions 20 - marvell,crypto-sram-size: SRAM size reserved for crypto operations, if not 25 crypto@30000 { 26 compatible = "marvell,orion-crypto"; [all …]
|
/openbmc/openbmc/poky/meta/conf/machine/include/arm/ |
H A D | arch-armv8-3a.inc | 5 # TUNE crypto will be handled by arch-armv8a.inc below 10 AVAILTUNES += "armv8-3a armv8-3a-crypto armv8-3a-crypto-sve" 12 ARMPKGARCH:tune-armv8-3a-crypto ?= "armv8-3a" 13 ARMPKGARCH:tune-armv8-3a-crypto-sve ?= "armv8-3a" 15 TUNE_FEATURES:tune-armv8-3a-crypto = "${TUNE_FEATURES:tune-armv8-3a} crypto" 16 TUNE_FEATURES:tune-armv8-3a-crypto-sve = "${TUNE_FEATURES:tune-armv8-3a-crypto} sve" 18 PACKAGE_EXTRA_ARCHS:tune-armv8-3a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-3a} armv8-3a-crypt… 19 PACKAGE_EXTRA_ARCHS:tune-armv8-3a-crypto-sve = "${PACKAGE_EXTRA_ARCHS:tune-armv8-3a-crypto} armv8-3… 21 BASE_LIB:tune-armv8-3a-crypto = "lib64" 22 BASE_LIB:tune-armv8-3a-crypto-sve = "lib64"
|
H A D | arch-armv8-6a.inc | 5 # TUNE crypto will be handled by arch-armv8a.inc below 10 AVAILTUNES += "armv8-6a armv8-6a-crypto armv8-6a-crypto-sve" 12 ARMPKGARCH:tune-armv8-6a-crypto ?= "armv8-6a" 13 ARMPKGARCH:tune-armv8-6a-crypto-sve ?= "armv8-6a" 15 TUNE_FEATURES:tune-armv8-6a-crypto = "${TUNE_FEATURES:tune-armv8-6a} crypto" 16 TUNE_FEATURES:tune-armv8-6a-crypto-sve = "${TUNE_FEATURES:tune-armv8-6a-crypto} sve" 18 PACKAGE_EXTRA_ARCHS:tune-armv8-6a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-6a} armv8-6a-crypt… 19 PACKAGE_EXTRA_ARCHS:tune-armv8-6a-crypto-sve = "${PACKAGE_EXTRA_ARCHS:tune-armv8-6a-crypto} armv8-6… 21 BASE_LIB:tune-armv8-6a-crypto = "lib64" 22 BASE_LIB:tune-armv8-6a-crypto-sve = "lib64"
|
H A D | arch-armv8a.inc | 9 require conf/machine/include/arm/feature-arm-crypto.inc 12 AVAILTUNES += "armv8a armv8a-crc armv8a-crc-crypto armv8a-crypto" 15 ARMPKGARCH:tune-armv8a-crypto ?= "armv8a" 16 ARMPKGARCH:tune-armv8a-crc-crypto ?= "armv8a" 19 TUNE_FEATURES:tune-armv8a-crypto = "${TUNE_FEATURES:tune-armv8a} crypto" 20 TUNE_FEATURES:tune-armv8a-crc-crypto = "${TUNE_FEATURES:tune-armv8a-crc} crypto" 23 PACKAGE_EXTRA_ARCHS:tune-armv8a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a} armv8a-crypto" 24 PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} armv8a-crypto … 27 BASE_LIB:tune-armv8a-crypto = "lib64" 28 BASE_LIB:tune-armv8a-crc-crypto = "lib64"
|
H A D | arch-armv8-4a.inc | 5 # TUNE crypto will be handled by arch-armv8a.inc below 12 AVAILTUNES += "armv8-4a armv8-4a-crypto armv8-4a-crypto-sve" 14 ARMPKGARCH:tune-armv8-4a-crypto ?= "armv8-4a" 15 ARMPKGARCH:tune-armv8-4a-crypto-sve ?= "armv8-4a" 17 TUNE_FEATURES:tune-armv8-4a-crypto = "${TUNE_FEATURES:tune-armv8-4a} crypto" 18 TUNE_FEATURES:tune-armv8-4a-crypto-sve = "${TUNE_FEATURES:tune-armv8-4a-crypto} sve" 20 PACKAGE_EXTRA_ARCHS:tune-armv8-4a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-4a} armv8-4a-crypt… 21 PACKAGE_EXTRA_ARCHS:tune-armv8-4a-crypto-sve = "${PACKAGE_EXTRA_ARCHS:tune-armv8-4a-crypto} armv8-4… 23 BASE_LIB:tune-armv8-4a-crypto = "lib64" 24 BASE_LIB:tune-armv8-4a-crypto-sve = "lib64"
|
H A D | arch-armv8-5a.inc | 5 # TUNE crypto will be handled by arch-armv8a.inc below 12 AVAILTUNES += "armv8-5a armv8-5a-crypto armv8-5a-crypto-sve" 14 ARMPKGARCH:tune-armv8-5a-crypto ?= "armv8-5a" 15 ARMPKGARCH:tune-armv8-5a-crypto-sve ?= "armv8-5a" 17 TUNE_FEATURES:tune-armv8-5a-crypto = "${TUNE_FEATURES:tune-armv8-5a} crypto" 18 TUNE_FEATURES:tune-armv8-5a-crypto-sve = "${TUNE_FEATURES:tune-armv8-5a-crypto} sve" 20 PACKAGE_EXTRA_ARCHS:tune-armv8-5a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-5a} armv8-5a-crypt… 21 PACKAGE_EXTRA_ARCHS:tune-armv8-5a-crypto-sve = "${PACKAGE_EXTRA_ARCHS:tune-armv8-5a-crypto} armv8-5… 23 BASE_LIB:tune-armv8-5a-crypto = "lib64" 24 BASE_LIB:tune-armv8-5a-crypto-sve = "lib64"
|
H A D | arch-armv8r.inc | 12 require conf/machine/include/arm/feature-arm-crypto.inc 18 AVAILTUNES += "armv8r armv8r-crc armv8r-crypto armv8r-simd armv8r-crc-crypto armv8r-crc-simd armv8r… 21 ARMPKGARCH:tune-armv8r-crypto = "armv8r" 23 ARMPKGARCH:tune-armv8r-crc-crypto = "armv8r" 25 ARMPKGARCH:tune-armv8r-crc-crypto-simd = "armv8r" 28 TUNE_FEATURES:tune-armv8r-crypto = "${TUNE_FEATURES:tune-armv8r} crypto" 30 TUNE_FEATURES:tune-armv8r-crc-crypto = "${TUNE_FEATURES:tune-armv8r-crc} crypto" 32 TUNE_FEATURES:tune-armv8r-crc-crypto-simd = "${TUNE_FEATURES:tune-armv8r-crc-crypto} simd" 35 PACKAGE_EXTRA_ARCHS:tune-armv8r-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8r} armv8r-crypto" 38 PACKAGE_EXTRA_ARCHS:tune-armv8r-crc-crypto-simd = "${PACKAGE_EXTRA_ARCHS:tune-armv8r-crc-simd} armv…
|
/openbmc/linux/drivers/virt/coco/sev-guest/ |
H A D | sev-guest.c | 48 struct snp_guest_crypto *crypto; member 162 struct snp_guest_crypto *crypto; in init_crypto() local 164 crypto = kzalloc(sizeof(*crypto), GFP_KERNEL_ACCOUNT); in init_crypto() 165 if (!crypto) in init_crypto() 168 crypto->tfm = crypto_alloc_aead("gcm(aes)", 0, 0); in init_crypto() 169 if (IS_ERR(crypto->tfm)) in init_crypto() 172 if (crypto_aead_setkey(crypto->tfm, key, keylen)) in init_crypto() 175 crypto->iv_len = crypto_aead_ivsize(crypto->tfm); in init_crypto() 176 crypto->iv = kmalloc(crypto->iv_len, GFP_KERNEL_ACCOUNT); in init_crypto() 177 if (!crypto->iv) in init_crypto() [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-security/trusted-services/corstone1000/ |
H A D | 0002-Fix-in-AEAD-for-psa-arch-test-254.patch | 6 PSA crypto test 254 fails at checkpoint 6. 7 Fix output arguments in various crypto AEAD functions 8 to match crypto service implementation in TF-M. AEAD API's 17 .../crypto/client/caller/packed-c/crypto_caller_aead.h | 1 + 18 components/service/crypto/include/psa/crypto_sizes.h | 2 +- 19 .../crypto/provider/extension/aead/aead_provider.c | 10 ++++++++-- 22 protocols/service/crypto/packed-c/aead.h | 1 + 25 diff --git a/components/service/crypto/client/caller/packed-c/crypto_caller_aead.h b/components/ser… 27 --- a/components/service/crypto/client/caller/packed-c/crypto_caller_aead.h 28 +++ b/components/service/crypto/client/caller/packed-c/crypto_caller_aead.h [all …]
|
H A D | 0014-Provide-crypto-api-to-create-uefi-priv-var-fingerpri.patch | 4 Subject: [PATCH] Provide crypto api to create uefi priv var fingerprint 9 Add new call to the crypto backend to calculate a hash of the common 20 .../service/crypto/client/psa/component.cmake | 1 + 21 .../service/crypto/client/psa/crypto_client.h | 5 + 23 .../service/crypto/provider/crypto_provider.c | 212 +++++++++++++++--- 29 protocols/service/crypto/packed-c/opcodes.h | 1 + 31 …create mode 100644 components/service/crypto/client/caller/packed-c/crypto_caller_get_uefi_priv_au… 32 create mode 100644 components/service/crypto/client/psa/get_uefi_priv_auth_var_fingerprint.c 33 create mode 100644 protocols/service/crypto/packed-c/get_uefi_priv_auth_var_fingerprint.h 35 diff --git a/components/service/crypto/client/caller/packed-c/crypto_caller.h b/components/service/… [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | meson.build | 78 'test-crypto-hash': [crypto], 79 'test-crypto-hmac': [crypto], 80 'test-crypto-cipher': [crypto], 81 'test-crypto-akcipher': [crypto], 82 'test-crypto-secret': [crypto, keyutils], 83 'test-crypto-der': [crypto], 93 'test-crypto-ivgen': [io], 94 'test-crypto-afsplit': [io], 95 'test-crypto-block': [io], 103 'test-crypto-tlscredsx509': ['crypto-tls-x509-helpers.c', [all …]
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | Makefile | 17 obj-$(CONFIG_CRYPTO_DEV_CCP_CRYPTO) += ccp-crypto.o 18 ccp-crypto-objs := ccp-crypto-main.o \ 19 ccp-crypto-aes.o \ 20 ccp-crypto-aes-cmac.o \ 21 ccp-crypto-aes-xts.o \ 22 ccp-crypto-aes-galois.o \ 23 ccp-crypto-des3.o \ 24 ccp-crypto-rsa.o \ 25 ccp-crypto-sha.o
|
/openbmc/openbmc/poky/meta/conf/machine/include/arm/armv8a/ |
H A D | tune-cortexa53.inc | 9 AVAILTUNES += "cortexa53 cortexa53-crypto" 11 ARMPKGARCH:tune-cortexa53-crypto = "cortexa53-crypto" 14 TUNE_FEATURES:tune-cortexa53-crypto = "${TUNE_FEATURES:tune-cortexa53} crypto" 16 …CKAGE_EXTRA_ARCHS:tune-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cort… 18 BASE_LIB:tune-cortexa53-crypto = "lib64"
|
H A D | tune-cortexa57.inc | 9 AVAILTUNES += "cortexa57 cortexa57-crypto" 11 ARMPKGARCH:tune-cortexa57-crypto = "cortexa57-crypto" 14 TUNE_FEATURES:tune-cortexa57-crypto = "${TUNE_FEATURES:tune-cortexa57} crypto" 16 …CKAGE_EXTRA_ARCHS:tune-cortexa57-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cort… 18 BASE_LIB:tune-cortexa57-crypto = "lib64"
|
H A D | tune-cortexa72-cortexa53.inc | 10 AVAILTUNES += "cortexa72-cortexa53 cortexa72-cortexa53-crypto" 12 ARMPKGARCH:tune-cortexa72-cortexa53-crypto = "cortexa72-cortexa53-crypto" 15 TUNE_FEATURES:tune-cortexa72-cortexa53-crypto = "${TUNE_FEATURES:tune-cortexa72-cortexa53} c… 17 …tune-cortexa72-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa72-cortex… 19 BASE_LIB:tune-cortexa72-cortexa53-crypto = "lib64"
|
H A D | tune-cortexa73-cortexa53.inc | 10 AVAILTUNES += "cortexa73-cortexa53 cortexa73-cortexa53-crypto" 12 ARMPKGARCH:tune-cortexa73-cortexa53-crypto = "cortexa73-cortexa53-crypto" 15 TUNE_FEATURES:tune-cortexa73-cortexa53-crypto = "${TUNE_FEATURES:tune-cortexa73-cortexa53} c… 17 …tune-cortexa73-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa73-cortex… 19 BASE_LIB:tune-cortexa73-cortexa53-crypto = "lib64"
|
H A D | tune-cortexa35.inc | 9 AVAILTUNES += "cortexa35 cortexa35-crypto" 11 ARMPKGARCH:tune-cortexa35-crypto = "cortexa35" 14 TUNE_FEATURES:tune-cortexa35-crypto = "${TUNE_FEATURES:tune-cortexa35} crypto" 16 …CKAGE_EXTRA_ARCHS:tune-cortexa35-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cort… 18 BASE_LIB:tune-cortexa35-crypto = "lib64"
|
/openbmc/openbmc/poky/meta/conf/machine/include/arm/armv9a/ |
H A D | tune-neoversen2.inc | 12 AVAILTUNES += "neoversen2 neoversen2-crypto" 14 ARMPKGARCH:tune-neoversen2-crypto = "neoversen2-crypto" 17 TUNE_FEATURES:tune-neoversen2-crypto = "${TUNE_FEATURES:tune-neoversen2} crypto" 19 …AGE_EXTRA_ARCHS:tune-neoversen2-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv9a-crypto} neove… 21 BASE_LIB:tune-neoversen2-crypto = "lib64"
|
/openbmc/qemu/block/ |
H A D | crypto.c | 67 BlockCrypto *crypto = bs->opaque; in block_crypto_read_func() local 73 ret = bdrv_pread(crypto->header ? crypto->header : bs->file, in block_crypto_read_func() 90 BlockCrypto *crypto = bs->opaque; in block_crypto_write_func() local 96 ret = bdrv_pwrite(crypto->header ? crypto->header : bs->file, in block_crypto_write_func() 315 BlockCrypto *crypto = bs->opaque; in block_crypto_open_generic() local 329 crypto->header = bdrv_open_child(NULL, options, "header", bs, in block_crypto_open_generic() 359 if (crypto->header != NULL) { in block_crypto_open_generic() 362 crypto->block = qcrypto_block_open(open_opts, NULL, in block_crypto_open_generic() 368 if (!crypto->block) { in block_crypto_open_generic() 392 QCryptoBlock *crypto = NULL; in block_crypto_co_create_generic() local [all …]
|
/openbmc/qemu/qapi/ |
H A D | cryptodev.json | 14 # The supported algorithm types of a crypto device. 28 # The supported service types of a crypto device. 48 # The crypto device backend type 64 # Information about a queue of crypto device. 66 # @queue: the queue index of the crypto device 68 # @type: the type of the crypto device 79 # Information about a crypto device. 81 # @id: the id of the crypto device 83 # @service: supported service types of a crypto device 85 # @client: the additional information of the crypto device [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/ |
H A D | 0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch | 4 Subject: [PATCH] crypto: use _Generic only if !defined(__cplusplus) 20 third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h: In function 'uint32_t CRYPTO_addc_u3… 21 third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1159:7: error: expected primary-expre… 24 third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro … 27 third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1160:7: error: expected primary-expre… 30 third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro … 33 third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1161:7: error: expected primary-expre… 36 third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro … 39 third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1158:4: error: '_Generic' was not dec… 42 third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro … [all …]
|
/openbmc/qemu/tests/bench/ |
H A D | meson.build | 25 'benchmark-crypto-hash': [crypto], 26 'benchmark-crypto-hmac': [crypto], 27 'benchmark-crypto-cipher': [crypto], 28 'benchmark-crypto-akcipher': [crypto],
|
/openbmc/qemu/scripts/ |
H A D | u2f-setup-gen.py | 21 from OpenSSL import crypto 88 privkey = crypto.load_privatekey(crypto.FILETYPE_PEM, privkey_pem) 89 pubkey = crypto.load_publickey(crypto.FILETYPE_PEM, pubkey_pem) 92 cert = crypto.X509() 111 crypto.X509Extension(b"subjectKeyIdentifier", 115 crypto.X509Extension(b"authorityKeyIdentifier", 119 crypto.X509Extension(b"basicConstraints", True, b"CA:TRUE") 125 return crypto.dump_certificate(crypto.FILETYPE_PEM, cert)
|