Home
last modified time | relevance | path

Searched hist:"21282 bae8ad769f51b273d4d4a652a57c9198538" (Results 1 – 5 of 5) sorted by relevance

/optee_os/lib/libmbedtls/core/
H A Decc.c21282bae8ad769f51b273d4d4a652a57c9198538 Thu Apr 16 12:14:15 UTC 2020 Jerome Forissier <jerome@forissier.org> core: crypto: ECC: make sure key_size is consistent with attributes

TEE_GenerateKey() takes a key_size argument and various attributes. If
the size derived from the attributes is not key_size, we should return
TEE_ERROR_BAD_PARAMETERS as per the GP TEE Internal Core API
specification v1.2.1: "If an incorrect or inconsistent attribute is
detected. The checks that are performed depend on the implementation.".

Signed-off-by: Jerome Forissier <jerome@forissier.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
/optee_os/core/lib/libtomcrypt/
H A Decc.c21282bae8ad769f51b273d4d4a652a57c9198538 Thu Apr 16 12:14:15 UTC 2020 Jerome Forissier <jerome@forissier.org> core: crypto: ECC: make sure key_size is consistent with attributes

TEE_GenerateKey() takes a key_size argument and various attributes. If
the size derived from the attributes is not key_size, we should return
TEE_ERROR_BAD_PARAMETERS as per the GP TEE Internal Core API
specification v1.2.1: "If an incorrect or inconsistent attribute is
detected. The checks that are performed depend on the implementation.".

Signed-off-by: Jerome Forissier <jerome@forissier.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
/optee_os/core/include/crypto/
H A Dcrypto.h21282bae8ad769f51b273d4d4a652a57c9198538 Thu Apr 16 12:14:15 UTC 2020 Jerome Forissier <jerome@forissier.org> core: crypto: ECC: make sure key_size is consistent with attributes

TEE_GenerateKey() takes a key_size argument and various attributes. If
the size derived from the attributes is not key_size, we should return
TEE_ERROR_BAD_PARAMETERS as per the GP TEE Internal Core API
specification v1.2.1: "If an incorrect or inconsistent attribute is
detected. The checks that are performed depend on the implementation.".

Signed-off-by: Jerome Forissier <jerome@forissier.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
/optee_os/core/crypto/
H A Dcrypto.c21282bae8ad769f51b273d4d4a652a57c9198538 Thu Apr 16 12:14:15 UTC 2020 Jerome Forissier <jerome@forissier.org> core: crypto: ECC: make sure key_size is consistent with attributes

TEE_GenerateKey() takes a key_size argument and various attributes. If
the size derived from the attributes is not key_size, we should return
TEE_ERROR_BAD_PARAMETERS as per the GP TEE Internal Core API
specification v1.2.1: "If an incorrect or inconsistent attribute is
detected. The checks that are performed depend on the implementation.".

Signed-off-by: Jerome Forissier <jerome@forissier.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
/optee_os/core/tee/
H A Dtee_svc_cryp.c21282bae8ad769f51b273d4d4a652a57c9198538 Thu Apr 16 12:14:15 UTC 2020 Jerome Forissier <jerome@forissier.org> core: crypto: ECC: make sure key_size is consistent with attributes

TEE_GenerateKey() takes a key_size argument and various attributes. If
the size derived from the attributes is not key_size, we should return
TEE_ERROR_BAD_PARAMETERS as per the GP TEE Internal Core API
specification v1.2.1: "If an incorrect or inconsistent attribute is
detected. The checks that are performed depend on the implementation.".

Signed-off-by: Jerome Forissier <jerome@forissier.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>