Valerio Setti
|
1fff4f2012
|
psa: add key_type as input parameter of psa_can_do_cipher()
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-12-28 18:33:17 +01:00 |
|
Valerio Setti
|
1994e72e18
|
check_config/block_cipher: minor improvements
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-12-28 18:33:04 +01:00 |
|
Valerio Setti
|
4ff405cf80
|
block_cipher: remove psa_key_type from mbedtls_block_cipher_context_t
This information was redundant with the already existing mbedtls_block_cipher_id_t.
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-12-15 16:10:52 +01:00 |
|
Valerio Setti
|
785ec17795
|
block_cipher: use PSA_BITS_TO_BYTES() in mbedtls_block_cipher_setkey()
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-12-14 18:08:14 +01:00 |
|
Valerio Setti
|
849a1abfdd
|
block_cipher: remove useless use of psa_cipher_operation_t
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-12-14 18:08:14 +01:00 |
|
Valerio Setti
|
c1db99d3f5
|
block_cipher: add PSA dispatch if possible
"if possible" means:
- PSA has been initialized
- requested key type is available in PSA
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
|
2023-12-14 18:08:14 +01:00 |
|
Manuel Pégourié-Gonnard
|
76fa16cab3
|
block_cipher: add encrypt()
Test data copied from existing test suites.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
|
2023-11-10 12:14:53 +01:00 |
|
Manuel Pégourié-Gonnard
|
3e0884fc53
|
block_cipher: add setkey()
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
|
2023-11-10 11:52:10 +01:00 |
|
Manuel Pégourié-Gonnard
|
21718769d1
|
Start adding internal module block_cipher.c
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
|
2023-11-10 11:21:17 +01:00 |
|