Commit 4fe8f9ad authored by garciay's avatar garciay
Browse files

STF538: Start Encryption TPs implementation

parent ac051b74
Loading
Loading
Loading
Loading
+15 −15
Original line number Original line Diff line number Diff line
@@ -1436,9 +1436,9 @@ module LibItsSecurity_Functions {
                // Setup certificates memory cache
                // Setup certificates memory cache
                if (fx_loadCertificates(PX_CERTIFICATE_POOL_PATH, p_configId) == true) {
                if (fx_loadCertificates(PX_CERTIFICATE_POOL_PATH, p_configId) == true) {
                  // Setup security component variables
                  // Setup security component variables
                    if(f_readCertificate(cc_taCert_A, vc_atCertificate)) {
                  if (f_readCertificate(cc_taCert_A, vc_atCertificate) == true) {
                    if (f_readCertificate(vc_atCertificate.toBeSigned.id.name, vc_aaCertificate)) {
                    if (f_readCertificate(vc_atCertificate.toBeSigned.id.name, vc_aaCertificate)) {
                            if(f_readSigningKey(cc_taCert_A, vc_signingPrivateKey)) {
                      if (f_readSigningKey(cc_taCert_A, vc_signingPrivateKey)== true) {
                        f_readEncryptingKey(cc_taCert_A, vc_encryptPrivateKey);
                        f_readEncryptingKey(cc_taCert_A, vc_encryptPrivateKey);
                        return true;
                        return true;
                      }
                      }