Searched hist:"61 b4cd9c4374b872e59d84b3d6b564264716c485" (Results 1 – 4 of 4) sorted by relevance
| /optee_os/core/crypto/ |
| H A D | aes-gcm-sw.c | 61b4cd9c4374b872e59d84b3d6b564264716c485 Tue Nov 21 19:20:32 UTC 2017 Jens Wiklander <jens.wiklander@linaro.org> core: crypto: AES-GCM: remove tomcrypt.h dependency
Removes tomcrypt.h dependency by replacing the "symmetric_key skey" field in struct internal_aes_gcm_ctx with a raw key. Replaces calls to the LTC functions aes_setup() and aes_ecb_encrypt() with calls to crypto_aes_expand_enc_key() and crypto_aes_enc_block() respectively.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| H A D | aes-gcm.c | 61b4cd9c4374b872e59d84b3d6b564264716c485 Tue Nov 21 19:20:32 UTC 2017 Jens Wiklander <jens.wiklander@linaro.org> core: crypto: AES-GCM: remove tomcrypt.h dependency
Removes tomcrypt.h dependency by replacing the "symmetric_key skey" field in struct internal_aes_gcm_ctx with a raw key. Replaces calls to the LTC functions aes_setup() and aes_ecb_encrypt() with calls to crypto_aes_expand_enc_key() and crypto_aes_enc_block() respectively.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| /optee_os/core/include/crypto/ |
| H A D | internal_aes-gcm.h | 61b4cd9c4374b872e59d84b3d6b564264716c485 Tue Nov 21 19:20:32 UTC 2017 Jens Wiklander <jens.wiklander@linaro.org> core: crypto: AES-GCM: remove tomcrypt.h dependency
Removes tomcrypt.h dependency by replacing the "symmetric_key skey" field in struct internal_aes_gcm_ctx with a raw key. Replaces calls to the LTC functions aes_setup() and aes_ecb_encrypt() with calls to crypto_aes_expand_enc_key() and crypto_aes_enc_block() respectively.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| /optee_os/core/arch/arm/crypto/ |
| H A D | aes-gcm-ce.c | 61b4cd9c4374b872e59d84b3d6b564264716c485 Tue Nov 21 19:20:32 UTC 2017 Jens Wiklander <jens.wiklander@linaro.org> core: crypto: AES-GCM: remove tomcrypt.h dependency
Removes tomcrypt.h dependency by replacing the "symmetric_key skey" field in struct internal_aes_gcm_ctx with a raw key. Replaces calls to the LTC functions aes_setup() and aes_ecb_encrypt() with calls to crypto_aes_expand_enc_key() and crypto_aes_enc_block() respectively.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|