Improve naming of mimimum RSA key size generation configurations

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
diff --git a/library/psa_crypto.c b/library/psa_crypto.c
index 4e1f41b..1eb6960 100644
--- a/library/psa_crypto.c
+++ b/library/psa_crypto.c
@@ -7374,7 +7374,7 @@
         if (bits > PSA_VENDOR_RSA_MAX_KEY_BITS) {
             return PSA_ERROR_NOT_SUPPORTED;
         }
-        if (bits < PSA_VENDOR_RSA_MIN_KEY_BITS) {
+        if (bits < PSA_VENDOR_RSA_GENERATE_MIN_KEY_BITS) {
             return PSA_ERROR_NOT_SUPPORTED;
         }
 
diff --git a/library/rsa.c b/library/rsa.c
index 9fd14db..4955052 100644
--- a/library/rsa.c
+++ b/library/rsa.c
@@ -545,12 +545,12 @@
     mbedtls_mpi_init(&G);
     mbedtls_mpi_init(&L);
 
-    if (nbits < 128 || exponent < 3 || nbits % 2 != 0) {
+    if (exponent < 3 || nbits % 2 != 0) {
         ret = MBEDTLS_ERR_RSA_BAD_INPUT_DATA;
         goto cleanup;
     }
 
-    if (nbits < MBEDTLS_RSA_MIN_KEY_SIZE) {
+    if (nbits < MBEDTLS_RSA_GEN_KEY_MIN_BITS) {
         ret = MBEDTLS_ERR_RSA_BAD_INPUT_DATA;
         goto cleanup;
     }